Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conTSup.yHea|conTSup.yOA|conTSup.yCoo|uEna.y|TSupSet.y|TSup.y",fileNamePrefix="Buildings_latest_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature") translateModel(Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conTSup.yHea|conTSup.yOA|conTSup.yCoo|uEna.y|TSupSet.y|TSup.y",fileNamePrefix="Buildings_latest_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001707/0.001707, allocations: 105.3 kB / 15.98 MB, free: 6.355 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.001633/0.001633, allocations: 195.9 kB / 16.91 MB, free: 6.188 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.455/1.455, allocations: 222.9 MB / 240.6 MB, free: 13.73 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.79/2.79, allocations: 482.2 MB / 0.7548 GB, free: 7.348 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.00218/0.00218, allocations: 64.23 kB / 0.9238 GB, free: 0.5312 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.094/1.096, allocations: 162.2 MB / 1.082 GB, free: 1.742 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature): time 0.004235/1.101, allocations: 2.642 MB / 1.085 GB, free: 15.85 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001945/1.103, allocations: 0.9011 MB / 1.086 GB, free: 15.2 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002487/1.103, allocations: 6.719 kB / 1.086 GB, free: 15.2 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.000245/1.103, allocations: 51.11 kB / 1.086 GB, free: 15.17 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0001739/1.103, allocations: 37.2 kB / 1.086 GB, free: 15.14 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008593/1.104, allocations: 284.4 kB / 1.086 GB, free: 14.96 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0007443/1.105, allocations: 0.6016 MB / 1.087 GB, free: 14.64 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005185/1.106, allocations: 294.1 kB / 1.087 GB, free: 14.48 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002985/1.106, allocations: 219.6 kB / 1.087 GB, free: 14.36 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002887/1.106, allocations: 225.6 kB / 1.087 GB, free: 14.23 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 9.489e-05/1.106, allocations: 68.06 kB / 1.087 GB, free: 14.23 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000148/1.106, allocations: 80.91 kB / 1.087 GB, free: 14.22 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0001353/1.107, allocations: 128.5 kB / 1.088 GB, free: 14.13 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0002628/1.107, allocations: 247.8 kB / 1.088 GB, free: 13.95 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.000793/1.108, allocations: 0.5845 MB / 1.088 GB, free: 13.78 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/1.108, allocations: 1.438 kB / 1.088 GB, free: 13.78 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.633e-06/1.108, allocations: 0 / 1.088 GB, free: 13.78 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.014e-05/1.108, allocations: 0 / 1.088 GB, free: 13.78 MB / 0.8419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 102 * Number of variables: 102 Notification: Performance of Generate backend data structure: time 0.001437/1.109, allocations: 0.7711 MB / 1.089 GB, free: 13.17 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.485e-05/1.109, allocations: 9.312 kB / 1.089 GB, free: 13.17 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001308/1.109, allocations: 52.95 kB / 1.089 GB, free: 13.14 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006023/1.11, allocations: 386 kB / 1.09 GB, free: 12.83 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.172e-05/1.11, allocations: 31.38 kB / 1.09 GB, free: 12.82 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001103/1.11, allocations: 54.41 kB / 1.09 GB, free: 12.79 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008756/1.111, allocations: 434 kB / 1.09 GB, free: 12.6 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.693e-05/1.111, allocations: 5.469 kB / 1.09 GB, free: 12.59 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.618e-05/1.111, allocations: 16.31 kB / 1.09 GB, free: 12.58 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.498e-05/1.111, allocations: 14.03 kB / 1.09 GB, free: 12.58 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007049/1.112, allocations: 312.5 kB / 1.09 GB, free: 12.46 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002511/1.114, allocations: 1.422 MB / 1.092 GB, free: 11.59 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006952/1.115, allocations: 255 kB / 1.092 GB, free: 11.48 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000285/1.115, allocations: 125.3 kB / 1.092 GB, free: 11.43 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 3.963e-05/1.115, allocations: 9.156 kB / 1.092 GB, free: 11.42 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004382/1.116, allocations: 204.8 kB / 1.092 GB, free: 11.29 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=26): time 1.733e-06/1.116, allocations: 0 / 1.092 GB, free: 11.29 MB / 0.8419 GB Notification: Performance of matching and sorting (n=26): time 0.0008893/1.117, allocations: 340.7 kB / 1.093 GB, free: 11.14 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001129/1.117, allocations: 136.3 kB / 1.093 GB, free: 10.98 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006109/1.117, allocations: 416.8 kB / 1.093 GB, free: 10.77 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 5.047e-05/1.117, allocations: 32.98 kB / 1.093 GB, free: 10.73 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.00022/1.118, allocations: 231.8 kB / 1.093 GB, free: 10.54 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 8.737e-05/1.118, allocations: 83.05 kB / 1.093 GB, free: 10.48 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001739/1.118, allocations: 77.25 kB / 1.094 GB, free: 10.44 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001908/1.118, allocations: 351.8 kB / 1.094 GB, free: 10.11 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003023/1.118, allocations: 124.5 kB / 1.094 GB, free: 10.05 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003637/1.119, allocations: 203.4 kB / 1.094 GB, free: 9.918 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005586/1.119, allocations: 282.8 kB / 1.094 GB, free: 9.75 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/1.119, allocations: 0.5 kB / 1.094 GB, free: 9.75 MB / 0.8419 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0009542/1.12, allocations: 431.2 kB / 1.095 GB, free: 9.539 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 5.981e-05/1.12, allocations: 42.3 kB / 1.095 GB, free: 9.504 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/1.12, allocations: 5.5 kB / 1.095 GB, free: 9.5 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.019e-05/1.12, allocations: 2.906 kB / 1.095 GB, free: 9.5 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002808/1.121, allocations: 63.17 kB / 1.095 GB, free: 9.488 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.15e-05/1.121, allocations: 3.312 kB / 1.095 GB, free: 9.488 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004168/1.121, allocations: 69.94 kB / 1.095 GB, free: 9.461 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.933e-05/1.121, allocations: 17.36 kB / 1.095 GB, free: 9.457 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004015/1.122, allocations: 243 kB / 1.095 GB, free: 9.305 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003174/1.122, allocations: 193.7 kB / 1.096 GB, free: 9.176 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004507/1.122, allocations: 289.1 kB / 1.096 GB, free: 8.992 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.483e-06/1.122, allocations: 0 / 1.096 GB, free: 8.992 MB / 0.8419 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0007469/1.123, allocations: 412.5 kB / 1.096 GB, free: 8.789 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 3.788e-05/1.123, allocations: 35.14 kB / 1.096 GB, free: 8.758 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.162e-06/1.123, allocations: 5.062 kB / 1.096 GB, free: 8.754 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.961e-06/1.123, allocations: 3.203 kB / 1.096 GB, free: 8.754 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002372/1.124, allocations: 58.14 kB / 1.096 GB, free: 8.746 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/1.124, allocations: 6.094 kB / 1.096 GB, free: 8.742 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003913/1.124, allocations: 60.94 kB / 1.096 GB, free: 8.727 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.699e-05/1.124, allocations: 17.77 kB / 1.096 GB, free: 8.723 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$whenCondition2,uEna.y,$PRE.uEna.y,$whenCondition3,conTSup.con.cheYMinMax.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (37): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002116/1.124, allocations: 200.7 kB / 1.097 GB, free: 8.527 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.415e-05/1.124, allocations: 40.56 kB / 1.097 GB, free: 8.504 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006874/1.125, allocations: 304.5 kB / 1.097 GB, free: 8.367 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.603e-06/1.125, allocations: 3.844 kB / 1.097 GB, free: 8.367 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/1.125, allocations: 0 / 1.097 GB, free: 8.367 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.973e-06/1.125, allocations: 1.594 kB / 1.097 GB, free: 8.367 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001209/1.126, allocations: 0.7895 MB / 1.098 GB, free: 7.855 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/1.126, allocations: 0 / 1.098 GB, free: 7.855 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002239/1.126, allocations: 46.5 kB / 1.098 GB, free: 7.852 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.837e-06/1.127, allocations: 1.125 kB / 1.098 GB, free: 7.852 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.418e-05/1.127, allocations: 8.469 kB / 1.098 GB, free: 7.848 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.006e-06/1.127, allocations: 5.062 kB / 1.098 GB, free: 7.844 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/1.127, allocations: 0 / 1.098 GB, free: 7.844 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008688/1.127, allocations: 497.3 kB / 1.098 GB, free: 7.562 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001152/1.128, allocations: 122.2 kB / 1.098 GB, free: 7.438 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.012e-05/1.128, allocations: 7.016 kB / 1.098 GB, free: 7.434 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002066/1.128, allocations: 17.91 kB / 1.098 GB, free: 7.43 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.256e-05/1.128, allocations: 17.72 kB / 1.098 GB, free: 7.426 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.787e-05/1.128, allocations: 12.78 kB / 1.098 GB, free: 7.422 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0003778/1.128, allocations: 293.3 kB / 1.099 GB, free: 7.266 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.5e-07/1.128, allocations: 4.062 kB / 1.099 GB, free: 7.262 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0006171/1.129, allocations: 160.1 kB / 1.099 GB, free: 7.219 MB / 0.8419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (conTSup.con.I.y) * Number of discrete variables: 4 ($whenCondition3,$whenCondition1,$whenCondition2,uEna.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (29): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002045/1.129, allocations: 111.9 kB / 1.099 GB, free: 7.125 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001205/1.13, allocations: 0.5802 MB / 1.099 GB, free: 6.828 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/1.13, allocations: 1.203 kB / 1.099 GB, free: 6.828 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002778/1.131, allocations: 125.7 kB / 1.1 GB, free: 6.785 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005321/1.131, allocations: 73.89 kB / 1.1 GB, free: 6.754 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001473/1.133, allocations: 0.8304 MB / 1.1 GB, free: 6.172 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000508/1.133, allocations: 0.8076 MB / 1.101 GB, free: 5.465 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001227/1.133, allocations: 35.53 kB / 1.101 GB, free: 5.457 MB / 0.8419 GB Notification: Performance of SimCode: time 5.81e-07/1.133, allocations: 0 / 1.101 GB, free: 5.457 MB / 0.8419 GB Notification: Performance of Templates: time 0.01128/1.145, allocations: 5.031 MB / 1.106 GB, free: 4.902 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature.makefile (rm -f Buildings_latest_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature.pipe ; mkfifo Buildings_latest_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature.pipe >> ../files/Buildings_latest_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature.sim & ./Buildings_latest_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Examples_VAVReheat_BaseClasses_Controls_Examples_SupplyAirTemperature.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches