Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.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.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conHeaFan.yHea|conHeaFan.yFan|conHeaFan.TSetRooCoo|conHeaFan.TRoo|conHeaFan.TSetRooHea",fileNamePrefix="Buildings_latest_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan") translateModel(Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conHeaFan.yHea|conHeaFan.yFan|conHeaFan.TSetRooCoo|conHeaFan.TRoo|conHeaFan.TSetRooHea",fileNamePrefix="Buildings_latest_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001265/0.001265, allocations: 108 kB / 15.61 MB, free: 152 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.001888/0.001889, allocations: 192.1 kB / 16.53 MB, free: 6.664 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.586/1.586, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.063/3.063, allocations: 472.6 MB / 0.7451 GB, free: 4.613 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001731/0.001731, allocations: 64.61 kB / 0.9121 GB, free: 33.37 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5674/0.5692, allocations: 159.9 MB / 1.068 GB, free: 10.37 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan): time 0.007314/0.5766, allocations: 3.128 MB / 1.071 GB, free: 7.23 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.003209/0.5798, allocations: 1.107 MB / 1.072 GB, free: 6.117 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008784/0.5807, allocations: 15.94 kB / 1.072 GB, free: 6.102 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0004797/0.5812, allocations: 87.06 kB / 1.072 GB, free: 6.016 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0006925/0.582, allocations: 111 kB / 1.073 GB, free: 5.906 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001196/0.5832, allocations: 343 kB / 1.073 GB, free: 5.574 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.001289/0.5845, allocations: 0.6286 MB / 1.074 GB, free: 4.945 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000642/0.5852, allocations: 245.9 kB / 1.074 GB, free: 4.695 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005258/0.5857, allocations: 219 kB / 1.074 GB, free: 4.48 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005006/0.5862, allocations: 210.8 kB / 1.074 GB, free: 4.273 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0001641/0.5864, allocations: 52 kB / 1.074 GB, free: 4.223 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001275/0.5865, allocations: 52 kB / 1.074 GB, free: 4.172 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001322/0.5867, allocations: 111.6 kB / 1.074 GB, free: 4.062 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.000308/0.587, allocations: 242.6 kB / 1.075 GB, free: 3.824 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0009325/0.5879, allocations: 0.6621 MB / 1.075 GB, free: 3.16 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 7.384e-06/0.588, allocations: 0 / 1.075 GB, free: 3.16 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.023e-06/0.588, allocations: 4 kB / 1.075 GB, free: 3.156 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 2.916e-05/0.588, allocations: 0 / 1.075 GB, free: 3.156 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: 72 * Number of variables: 72 Notification: Performance of Generate backend data structure: time 0.00166/0.5897, allocations: 0.8238 MB / 1.076 GB, free: 2.285 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.509e-05/0.5897, allocations: 12.03 kB / 1.076 GB, free: 2.273 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001176/0.5899, allocations: 60.17 kB / 1.076 GB, free: 2.215 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008642/0.5907, allocations: 0.4944 MB / 1.077 GB, free: 1.68 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.267e-05/0.5908, allocations: 21.03 kB / 1.077 GB, free: 1.66 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.048e-05/0.5908, allocations: 32.38 kB / 1.077 GB, free: 1.629 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007017/0.5915, allocations: 371.1 kB / 1.077 GB, free: 1.234 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.119e-05/0.5916, allocations: 4 kB / 1.077 GB, free: 1.23 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.142e-05/0.5916, allocations: 8 kB / 1.077 GB, free: 1.223 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.068e-05/0.5916, allocations: 12 kB / 1.077 GB, free: 1.211 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006134/0.5922, allocations: 254 kB / 1.077 GB, free: 0.9609 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001732/0.594, allocations: 1.44 MB / 1.079 GB, free: 15.45 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006858/0.5947, allocations: 270.8 kB / 1.079 GB, free: 15.18 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003029/0.595, allocations: 143.2 kB / 1.079 GB, free: 15.04 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.994e-05/0.595, allocations: 3.984 kB / 1.079 GB, free: 15.03 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.024e-05/0.5951, allocations: 42.5 kB / 1.079 GB, free: 14.98 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=23): time 1.262e-06/0.5951, allocations: 0 / 1.079 GB, free: 14.98 MB / 0.8419 GB Notification: Performance of matching and sorting (n=23): time 0.0009351/0.596, allocations: 356.8 kB / 1.079 GB, free: 14.62 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.401e-05/0.5961, allocations: 55.41 kB / 1.08 GB, free: 14.56 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004766/0.5966, allocations: 410 kB / 1.08 GB, free: 14.15 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 3.225e-05/0.5966, allocations: 29.7 kB / 1.08 GB, free: 14.12 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.000239/0.5969, allocations: 260.1 kB / 1.08 GB, free: 13.86 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 7.304e-05/0.5969, allocations: 78.75 kB / 1.08 GB, free: 13.78 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001081/0.597, allocations: 57.97 kB / 1.08 GB, free: 13.71 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001871/0.5972, allocations: 362.7 kB / 1.081 GB, free: 13.35 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002468/0.5975, allocations: 96.5 kB / 1.081 GB, free: 13.25 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000292/0.5978, allocations: 168.7 kB / 1.081 GB, free: 13.06 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005302/0.5983, allocations: 266.2 kB / 1.081 GB, free: 12.78 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.5983, allocations: 4 kB / 1.081 GB, free: 12.77 MB / 0.8419 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.000659/0.599, allocations: 341.6 kB / 1.081 GB, free: 12.43 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.073e-05/0.599, allocations: 5.562 kB / 1.081 GB, free: 12.43 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.025e-05/0.5991, allocations: 4 kB / 1.081 GB, free: 12.43 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.903e-05/0.5991, allocations: 4 kB / 1.081 GB, free: 12.42 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000277/0.5994, allocations: 59.89 kB / 1.082 GB, free: 12.36 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.311e-05/0.5994, allocations: 4.25 kB / 1.082 GB, free: 12.36 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001853/0.5996, allocations: 35.77 kB / 1.082 GB, free: 12.32 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.423e-05/0.5996, allocations: 12 kB / 1.082 GB, free: 12.31 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 2 (conHeaFan.conFan.I.trigger_internal,conHeaFan.conHeaCoi.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * 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.0002192/0.5998, allocations: 173.1 kB / 1.082 GB, free: 12.14 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.851e-05/0.5999, allocations: 43.44 kB / 1.082 GB, free: 12.09 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001028/0.6, allocations: 47.97 kB / 1.082 GB, free: 12.05 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.06e-06/0.6001, allocations: 4 kB / 1.082 GB, free: 12.04 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.434e-06/0.6001, allocations: 0 / 1.082 GB, free: 12.04 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.714e-06/0.6001, allocations: 7.938 kB / 1.082 GB, free: 12.04 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009172/0.6093, allocations: 441 kB / 1.082 GB, free: 11.55 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.6093, allocations: 0 / 1.082 GB, free: 11.55 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002658/0.6095, allocations: 51.91 kB / 1.082 GB, free: 11.5 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.851e-06/0.6096, allocations: 0 / 1.082 GB, free: 11.5 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.06e-05/0.6096, allocations: 7.938 kB / 1.082 GB, free: 11.5 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.6096, allocations: 3.938 kB / 1.082 GB, free: 11.49 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.6096, allocations: 0 / 1.082 GB, free: 11.49 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009359/0.6105, allocations: 0.5049 MB / 1.083 GB, free: 10.97 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001572/0.6107, allocations: 140.5 kB / 1.083 GB, free: 10.82 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.645e-05/0.6108, allocations: 4 kB / 1.083 GB, free: 10.81 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001793/0.611, allocations: 11.98 kB / 1.083 GB, free: 10.8 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.841e-05/0.611, allocations: 24.03 kB / 1.083 GB, free: 10.78 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.437e-05/0.6111, allocations: 7.938 kB / 1.083 GB, free: 10.77 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0003047/0.6114, allocations: 291.1 kB / 1.083 GB, free: 10.49 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.41e-07/0.6114, allocations: 0 / 1.083 GB, free: 10.49 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003196/0.6117, allocations: 63.75 kB / 1.083 GB, free: 10.43 MB / 0.8419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (conHeaFan.conHeaCoi.I.y,conHeaFan.conFan.I.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0001444/0.6118, allocations: 103.8 kB / 1.083 GB, free: 10.32 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0006498/0.6125, allocations: 255.6 kB / 1.084 GB, free: 10.07 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.6125, allocations: 0 / 1.084 GB, free: 10.07 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002879/0.6128, allocations: 119.7 kB / 1.084 GB, free: 9.949 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007786/0.6136, allocations: 141.6 kB / 1.084 GB, free: 9.824 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00154/0.6151, allocations: 0.7277 MB / 1.085 GB, free: 9.062 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005256/0.6157, allocations: 0.8233 MB / 1.085 GB, free: 8.215 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.000257/0.6159, allocations: 51.25 kB / 1.086 GB, free: 8.164 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.818e-05/0.616, allocations: 27.44 kB / 1.086 GB, free: 8.137 MB / 0.8419 GB Notification: Performance of SimCode: time 3.41e-07/0.616, allocations: 0 / 1.086 GB, free: 8.137 MB / 0.8419 GB Notification: Performance of Templates: time 0.01074/0.6268, allocations: 3.809 MB / 1.089 GB, free: 4.418 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.makefile (rm -f Buildings_latest_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe ; mkfifo Buildings_latest_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe ; head -c 1048576 < Buildings_latest_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe >> ../files/Buildings_latest_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.sim & ./Buildings_latest_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Air_Systems_SingleZone_VAV_BaseClasses_Validation_ControllerHeatingFan.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches