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 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.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.0008807/0.0008807, allocations: 92.7 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001174/0.001174, allocations: 178.5 kB / 16.92 MB, free: 6.652 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.378/1.378, allocations: 223.3 MB / 241 MB, free: 5.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.781/2.781, allocations: 462.6 MB / 0.737 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.000384/0.000384, allocations: 10.44 kB / 0.9034 GB, free: 36.42 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.374/0.3744, allocations: 159.6 MB / 1.059 GB, free: 4.941 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature): time 0.003499/0.3779, allocations: 2.252 MB / 1.062 GB, free: 2.672 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002208/0.3802, allocations: 0.9076 MB / 1.062 GB, free: 1.762 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000535/0.3807, allocations: 8 kB / 1.062 GB, free: 1.754 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0003137/0.3811, allocations: 51.52 kB / 1.062 GB, free: 1.703 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0003456/0.3814, allocations: 47.64 kB / 1.063 GB, free: 1.656 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009938/0.3824, allocations: 282.4 kB / 1.063 GB, free: 1.383 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0007526/0.3832, allocations: 0.5437 MB / 1.063 GB, free: 0.8398 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005477/0.3838, allocations: 267.7 kB / 1.064 GB, free: 0.5703 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003033/0.3841, allocations: 143.3 kB / 1.064 GB, free: 440 kB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002855/0.3844, allocations: 158.9 kB / 1.064 GB, free: 280 kB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 7.592e-05/0.3845, allocations: 23.98 kB / 1.064 GB, free: 256 kB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001464/0.3846, allocations: 31.98 kB / 1.064 GB, free: 224 kB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 7.038e-05/0.3847, allocations: 55.64 kB / 1.064 GB, free: 168 kB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0002553/0.3849, allocations: 208.6 kB / 1.064 GB, free: 15.95 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0005896/0.3855, allocations: 0.565 MB / 1.065 GB, free: 15.39 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 7.704e-06/0.3856, allocations: 4 kB / 1.065 GB, free: 15.38 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.854e-06/0.3856, allocations: 0 / 1.065 GB, free: 15.38 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 2.248e-05/0.3856, allocations: 0 / 1.065 GB, free: 15.38 MB / 0.8262 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.00145/0.3871, allocations: 0.6802 MB / 1.065 GB, free: 14.64 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.21e-05/0.3871, allocations: 11.97 kB / 1.065 GB, free: 14.63 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001893/0.3873, allocations: 56.38 kB / 1.065 GB, free: 14.58 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006752/0.388, allocations: 388.4 kB / 1.066 GB, free: 14.16 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.844e-05/0.388, allocations: 29.38 kB / 1.066 GB, free: 14.13 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.894e-05/0.3881, allocations: 44.38 kB / 1.066 GB, free: 14.09 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008833/0.389, allocations: 438.7 kB / 1.066 GB, free: 13.64 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.626e-05/0.3891, allocations: 7.875 kB / 1.066 GB, free: 13.64 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.535e-05/0.3891, allocations: 23.98 kB / 1.066 GB, free: 13.61 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.429e-05/0.3891, allocations: 8 kB / 1.066 GB, free: 13.61 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006776/0.3898, allocations: 319.8 kB / 1.067 GB, free: 13.3 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002343/0.3922, allocations: 1.436 MB / 1.068 GB, free: 11.8 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006422/0.3928, allocations: 258.9 kB / 1.068 GB, free: 11.54 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002464/0.3931, allocations: 120.8 kB / 1.068 GB, free: 11.41 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.23e-05/0.3931, allocations: 8.062 kB / 1.068 GB, free: 11.41 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003696/0.3935, allocations: 204.1 kB / 1.069 GB, free: 11.18 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=26): time 2.104e-06/0.3935, allocations: 0 / 1.069 GB, free: 11.18 MB / 0.8262 GB Notification: Performance of matching and sorting (n=26): time 0.0008018/0.3943, allocations: 346.3 kB / 1.069 GB, free: 10.84 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.519e-05/0.3944, allocations: 144.4 kB / 1.069 GB, free: 10.67 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004863/0.3949, allocations: 409.5 kB / 1.069 GB, free: 10.26 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 4.446e-05/0.395, allocations: 33.7 kB / 1.07 GB, free: 10.22 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.000192/0.3952, allocations: 236 kB / 1.07 GB, free: 9.984 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 7.073e-05/0.3953, allocations: 78.89 kB / 1.07 GB, free: 9.906 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.088e-05/0.3953, allocations: 41.7 kB / 1.07 GB, free: 9.859 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001688/0.3955, allocations: 350.8 kB / 1.07 GB, free: 9.508 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002752/0.3958, allocations: 120.3 kB / 1.07 GB, free: 9.391 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003192/0.3961, allocations: 196.5 kB / 1.07 GB, free: 9.168 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005303/0.3967, allocations: 295 kB / 1.071 GB, free: 8.859 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/0.3967, allocations: 4 kB / 1.071 GB, free: 8.855 MB / 0.8262 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007935/0.3975, allocations: 424.4 kB / 1.071 GB, free: 8.43 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001134/0.3976, allocations: 162.8 kB / 1.071 GB, free: 8.246 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.693e-06/0.3976, allocations: 0 / 1.071 GB, free: 8.246 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.896e-05/0.3976, allocations: 4 kB / 1.071 GB, free: 8.242 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002562/0.3979, allocations: 55.91 kB / 1.071 GB, free: 8.188 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.999e-06/0.3979, allocations: 0 / 1.071 GB, free: 8.188 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004322/0.3984, allocations: 104.3 kB / 1.071 GB, free: 8.086 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.937e-05/0.3984, allocations: 15.98 kB / 1.071 GB, free: 8.07 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 7.554e-06/0.3984, allocations: 4 kB / 1.072 GB, free: 8.066 MB / 0.8262 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006228/0.3991, allocations: 370.5 kB / 1.072 GB, free: 7.699 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.038e-06/0.3991, allocations: 0 / 1.072 GB, free: 7.699 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.272e-06/0.3991, allocations: 4 kB / 1.072 GB, free: 7.695 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002251/0.3993, allocations: 63.84 kB / 1.072 GB, free: 7.633 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.517e-06/0.3993, allocations: 0 / 1.072 GB, free: 7.633 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003713/0.3997, allocations: 79.7 kB / 1.072 GB, free: 7.555 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.941e-05/0.3997, allocations: 12 kB / 1.072 GB, free: 7.543 MB / 0.8262 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.0002423/0.4, allocations: 256.9 kB / 1.072 GB, free: 7.281 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.103e-05/0.4001, allocations: 35.53 kB / 1.072 GB, free: 7.246 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006374/0.4007, allocations: 305 kB / 1.073 GB, free: 6.945 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.392e-06/0.4007, allocations: 7.984 kB / 1.073 GB, free: 6.938 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.593e-06/0.4007, allocations: 0 / 1.073 GB, free: 6.938 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.4007, allocations: 0 / 1.073 GB, free: 6.938 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001017/0.4018, allocations: 0.7846 MB / 1.073 GB, free: 6.098 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/0.4018, allocations: 3.938 kB / 1.073 GB, free: 6.094 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002164/0.402, allocations: 43.97 kB / 1.073 GB, free: 6.051 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.131e-06/0.402, allocations: 4 kB / 1.073 GB, free: 6.047 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.597e-05/0.402, allocations: 7.984 kB / 1.073 GB, free: 6.039 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.05e-06/0.4021, allocations: 4 kB / 1.073 GB, free: 6.035 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.4021, allocations: 0 / 1.073 GB, free: 6.035 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008454/0.4029, allocations: 0.4954 MB / 1.074 GB, free: 5.523 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001037/0.403, allocations: 124.5 kB / 1.074 GB, free: 5.383 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.752e-05/0.4031, allocations: 11.98 kB / 1.074 GB, free: 5.371 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002037/0.4033, allocations: 25.88 kB / 1.074 GB, free: 5.348 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.137e-05/0.4034, allocations: 19.98 kB / 1.074 GB, free: 5.328 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.311e-05/0.4034, allocations: 11.98 kB / 1.074 GB, free: 5.316 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0003354/0.4037, allocations: 287.2 kB / 1.074 GB, free: 5.035 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4037, allocations: 0 / 1.074 GB, free: 5.035 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0005623/0.4043, allocations: 163.5 kB / 1.075 GB, free: 4.875 MB / 0.8262 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.0002348/0.4045, allocations: 111.2 kB / 1.075 GB, free: 4.758 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.001061/0.4056, allocations: 0.5765 MB / 1.075 GB, free: 4.156 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 5.55e-06/0.4056, allocations: 3.938 kB / 1.075 GB, free: 4.152 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002586/0.4059, allocations: 127.8 kB / 1.075 GB, free: 4.027 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005696/0.4065, allocations: 79.77 kB / 1.075 GB, free: 3.953 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001452/0.4079, allocations: 0.8409 MB / 1.076 GB, free: 3.078 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004279/0.4084, allocations: 0.804 MB / 1.077 GB, free: 2.242 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001306/0.4085, allocations: 35.42 kB / 1.077 GB, free: 2.211 MB / 0.8262 GB Notification: Performance of SimCode: time 5.31e-07/0.4085, allocations: 0 / 1.077 GB, free: 2.211 MB / 0.8262 GB Notification: Performance of Templates: time 0.01012/0.4187, allocations: 4.967 MB / 1.082 GB, free: 13.29 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