Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|limCeiHei.u|limCeiHei.ceiHei",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|limCeiHei.u|limCeiHei.ceiHei",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001219/0.001219, allocations: 103 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001499/0.0015, allocations: 173.3 kB / 15.95 MB, free: 212 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.411/1.411, allocations: 223.2 MB / 239.9 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.669/2.669, allocations: 436.5 MB / 0.7104 GB, free: 7.812 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003902/0.0003902, allocations: 8 kB / 0.8708 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8098/0.8102, allocations: 153.7 MB / 1.021 GB, free: 1.086 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin): time 0.001978/0.8123, allocations: 1.32 MB / 1.022 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001538/0.8138, allocations: 1.074 MB / 1.023 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.052e-05/0.8139, allocations: 3.938 kB / 1.023 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0002238/0.8142, allocations: 19.92 kB / 1.023 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.000255/0.8144, allocations: 62.8 kB / 1.023 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003273/0.8148, allocations: 114.7 kB / 1.023 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002087/0.815, allocations: 141.8 kB / 1.023 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001054/0.8151, allocations: 24.19 kB / 1.024 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 7.698e-05/0.8152, allocations: 63.83 kB / 1.024 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001708/0.8153, allocations: 63.81 kB / 1.024 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.698e-05/0.8154, allocations: 8 kB / 1.024 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001144/0.8155, allocations: 59.91 kB / 1.024 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 9.532e-05/0.8156, allocations: 71.8 kB / 1.024 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 6.061e-05/0.8157, allocations: 57.52 kB / 1.024 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002306/0.8159, allocations: 193.6 kB / 1.024 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.695e-06/0.8159, allocations: 0 / 1.024 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.274e-06/0.8159, allocations: 0 / 1.024 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.17e-06/0.8159, allocations: 0 / 1.024 GB, free: 13.8 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.0006876/0.8166, allocations: 495.4 kB / 1.024 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.709e-05/0.8167, allocations: 15.98 kB / 1.024 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.372e-05/0.8167, allocations: 27.72 kB / 1.025 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003093/0.8171, allocations: 250.5 kB / 1.025 GB, free: 12.94 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.2e-05/0.8171, allocations: 12 kB / 1.025 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.001e-05/0.8171, allocations: 20 kB / 1.025 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000338/0.8175, allocations: 212.6 kB / 1.025 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.837e-06/0.8175, allocations: 0 / 1.025 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.555e-05/0.8175, allocations: 12 kB / 1.025 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.786e-06/0.8175, allocations: 7.984 kB / 1.025 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008511/0.8184, allocations: 0.7334 MB / 1.026 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008528/0.8193, allocations: 0.5705 MB / 1.026 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000463/0.8197, allocations: 295.6 kB / 1.027 GB, free: 11.01 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 5.632e-05/0.8198, allocations: 24.25 kB / 1.027 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003137/0.8201, allocations: 166 kB / 1.027 GB, free: 10.81 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=34): time 3.546e-06/0.8201, allocations: 0 / 1.027 GB, free: 10.81 MB / 0.7794 GB Notification: Performance of matching and sorting (n=34): time 0.0006742/0.8208, allocations: 373.9 kB / 1.027 GB, free: 10.44 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.518e-05/0.8209, allocations: 132.5 kB / 1.027 GB, free: 10.28 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003208/0.8212, allocations: 300 kB / 1.028 GB, free: 9.977 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.856e-05/0.8213, allocations: 37.7 kB / 1.028 GB, free: 9.934 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 8.164e-05/0.8213, allocations: 120.8 kB / 1.028 GB, free: 9.812 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 9.447e-05/0.8214, allocations: 114.3 kB / 1.028 GB, free: 9.699 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.279e-05/0.8215, allocations: 4 kB / 1.028 GB, free: 9.695 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001346/0.8216, allocations: 342.8 kB / 1.028 GB, free: 9.352 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001485/0.8218, allocations: 83.94 kB / 1.028 GB, free: 9.27 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001664/0.8219, allocations: 119.3 kB / 1.028 GB, free: 9.141 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001713/0.8221, allocations: 109.6 kB / 1.028 GB, free: 9.035 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.043e-06/0.8221, allocations: 0 / 1.028 GB, free: 9.035 MB / 0.7794 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004069/0.8225, allocations: 277 kB / 1.029 GB, free: 8.758 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.548e-05/0.8226, allocations: 4 kB / 1.029 GB, free: 8.754 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.8226, allocations: 0 / 1.029 GB, free: 8.754 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.564e-05/0.8226, allocations: 4 kB / 1.029 GB, free: 8.75 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002375/0.8228, allocations: 67.91 kB / 1.029 GB, free: 8.684 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.793e-06/0.8228, allocations: 0 / 1.029 GB, free: 8.684 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001532/0.823, allocations: 29.45 kB / 1.029 GB, free: 8.656 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.418e-05/0.823, allocations: 12 kB / 1.029 GB, free: 8.645 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$PRE.conTim.tNext,conTim.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001691/0.8232, allocations: 173.6 kB / 1.029 GB, free: 8.465 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.047e-05/0.8233, allocations: 23.72 kB / 1.029 GB, free: 8.441 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006541/0.8239, allocations: 388.5 kB / 1.029 GB, free: 8.055 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.913e-06/0.8239, allocations: 4 kB / 1.029 GB, free: 8.051 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.8239, allocations: 4 kB / 1.029 GB, free: 8.047 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.618e-06/0.824, allocations: 0 / 1.029 GB, free: 8.047 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003248/0.8243, allocations: 333.2 kB / 1.03 GB, free: 7.672 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.8243, allocations: 48 / 1.03 GB, free: 7.672 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000186/0.8245, allocations: 59.89 kB / 1.03 GB, free: 7.613 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.789e-06/0.8245, allocations: 4 kB / 1.03 GB, free: 7.609 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.831e-05/0.8245, allocations: 8 kB / 1.03 GB, free: 7.602 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.804e-06/0.8245, allocations: 0 / 1.03 GB, free: 7.602 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.8245, allocations: 0 / 1.03 GB, free: 7.602 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004499/0.825, allocations: 321.7 kB / 1.03 GB, free: 7.27 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001671/0.8252, allocations: 156.5 kB / 1.03 GB, free: 7.098 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.27e-05/0.8252, allocations: 4 kB / 1.03 GB, free: 7.094 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001387/0.8254, allocations: 19.92 kB / 1.03 GB, free: 7.074 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.575e-05/0.8254, allocations: 31.95 kB / 1.03 GB, free: 7.043 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.778e-05/0.8255, allocations: 12 kB / 1.03 GB, free: 7.031 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0002093/0.8257, allocations: 229.6 kB / 1.03 GB, free: 6.809 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8257, allocations: 0 / 1.03 GB, free: 6.809 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002998/0.826, allocations: 60 kB / 1.031 GB, free: 6.75 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,conTim.tNext) * Number of discrete states: 1 (conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001016/0.827, allocations: 406 kB / 1.031 GB, free: 6.492 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003893/0.8274, allocations: 223.8 kB / 1.031 GB, free: 6.273 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.8274, allocations: 0 / 1.031 GB, free: 6.273 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001804/0.8276, allocations: 132.3 kB / 1.031 GB, free: 6.145 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002111/0.8278, allocations: 28.66 kB / 1.031 GB, free: 6.117 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008491/0.8287, allocations: 0.5507 MB / 1.032 GB, free: 5.543 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004679/0.8292, allocations: 0.769 MB / 1.033 GB, free: 4.75 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0003024/0.8295, allocations: 138.9 kB / 1.033 GB, free: 4.609 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.416e-05/0.8296, allocations: 47.41 kB / 1.033 GB, free: 4.562 MB / 0.7794 GB Notification: Performance of SimCode: time 2.51e-07/0.8296, allocations: 4 kB / 1.033 GB, free: 4.559 MB / 0.7794 GB Notification: Performance of Templates: time 0.007229/0.8368, allocations: 2.758 MB / 1.035 GB, free: 1.816 MB / 0.7794 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.sim & ./Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin.csv","../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches