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 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.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.001165/0.001165, allocations: 86.17 kB / 15.06 MB, free: 1.09 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.001366/0.001367, allocations: 168.7 kB / 15.95 MB, free: 204 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.567/1.567, allocations: 223.3 MB / 240 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 3.053/3.053, allocations: 462.6 MB / 0.736 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004879/0.0004881, allocations: 12.62 kB / 0.9021 GB, free: 36.6 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4042/0.4048, allocations: 159.6 MB / 1.058 GB, free: 5.305 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan): time 0.003261/0.4081, allocations: 2.626 MB / 1.061 GB, free: 2.668 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001849/0.4099, allocations: 1.044 MB / 1.062 GB, free: 1.617 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002135/0.4102, allocations: 11.94 kB / 1.062 GB, free: 1.605 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0002007/0.4104, allocations: 59.39 kB / 1.062 GB, free: 1.547 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.000175/0.4106, allocations: 71.36 kB / 1.062 GB, free: 1.477 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.00059/0.4112, allocations: 239.9 kB / 1.062 GB, free: 1.246 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0005194/0.4117, allocations: 0.5388 MB / 1.063 GB, free: 0.707 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003079/0.412, allocations: 165.8 kB / 1.063 GB, free: 0.5352 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002167/0.4122, allocations: 147.1 kB / 1.063 GB, free: 400 kB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002119/0.4124, allocations: 151 kB / 1.063 GB, free: 248 kB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.837e-05/0.4125, allocations: 12 kB / 1.063 GB, free: 236 kB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 3.507e-05/0.4125, allocations: 12 kB / 1.063 GB, free: 224 kB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 5.721e-05/0.4126, allocations: 59.64 kB / 1.063 GB, free: 164 kB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 8.31e-05/0.4127, allocations: 101.4 kB / 1.063 GB, free: 56 kB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0004781/0.4132, allocations: 0.5145 MB / 1.064 GB, free: 15.54 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 8.025e-06/0.4132, allocations: 0 / 1.064 GB, free: 15.54 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.324e-06/0.4132, allocations: 0 / 1.064 GB, free: 15.54 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.094e-06/0.4132, allocations: 0 / 1.064 GB, free: 15.54 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.001129/0.4143, allocations: 0.7515 MB / 1.064 GB, free: 14.73 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.454e-05/0.4144, allocations: 8.031 kB / 1.064 GB, free: 14.73 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.294e-05/0.4145, allocations: 63.23 kB / 1.064 GB, free: 14.66 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007472/0.4152, allocations: 481.4 kB / 1.065 GB, free: 14.16 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.399e-05/0.4153, allocations: 28.59 kB / 1.065 GB, free: 14.13 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.632e-05/0.4153, allocations: 31.95 kB / 1.065 GB, free: 14.1 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006584/0.416, allocations: 382.8 kB / 1.065 GB, free: 13.69 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.479e-05/0.416, allocations: 4 kB / 1.065 GB, free: 13.68 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.229e-05/0.4161, allocations: 12 kB / 1.065 GB, free: 13.67 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.295e-06/0.4161, allocations: 4 kB / 1.065 GB, free: 13.67 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005695/0.4167, allocations: 262.1 kB / 1.066 GB, free: 13.41 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001599/0.4183, allocations: 1.444 MB / 1.067 GB, free: 11.89 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006597/0.4189, allocations: 266.9 kB / 1.067 GB, free: 11.62 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003005/0.4192, allocations: 144.8 kB / 1.067 GB, free: 11.48 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.211e-05/0.4193, allocations: 4 kB / 1.067 GB, free: 11.48 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.501e-05/0.4193, allocations: 38.5 kB / 1.067 GB, free: 11.43 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=23): time 2.966e-06/0.4193, allocations: 0 / 1.067 GB, free: 11.43 MB / 0.8262 GB Notification: Performance of matching and sorting (n=23): time 0.0008732/0.4202, allocations: 382.2 kB / 1.068 GB, free: 11.05 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.736e-05/0.4203, allocations: 59.41 kB / 1.068 GB, free: 10.98 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004712/0.4207, allocations: 405.9 kB / 1.068 GB, free: 10.57 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.319e-05/0.4208, allocations: 29.7 kB / 1.068 GB, free: 10.54 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001965/0.421, allocations: 260.1 kB / 1.069 GB, free: 10.28 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 6.501e-05/0.4211, allocations: 78.89 kB / 1.069 GB, free: 10.2 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.588e-05/0.4211, allocations: 8 kB / 1.069 GB, free: 10.19 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001606/0.4212, allocations: 358.7 kB / 1.069 GB, free: 9.832 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002383/0.4215, allocations: 100.5 kB / 1.069 GB, free: 9.734 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002914/0.4218, allocations: 176.7 kB / 1.069 GB, free: 9.535 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002675/0.4221, allocations: 117.9 kB / 1.069 GB, free: 9.422 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.4221, allocations: 0 / 1.069 GB, free: 9.422 MB / 0.8262 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006476/0.4227, allocations: 352.8 kB / 1.07 GB, free: 9.07 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.4228, allocations: 4 kB / 1.07 GB, free: 9.066 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/0.4228, allocations: 4 kB / 1.07 GB, free: 9.062 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.479e-05/0.4228, allocations: 4 kB / 1.07 GB, free: 9.059 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002743/0.4231, allocations: 60.16 kB / 1.07 GB, free: 9 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.283e-05/0.4231, allocations: 11.98 kB / 1.07 GB, free: 8.988 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002001/0.4233, allocations: 39.61 kB / 1.07 GB, free: 8.949 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.58e-05/0.4233, allocations: 16 kB / 1.07 GB, free: 8.934 MB / 0.8262 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000192/0.4235, allocations: 173.7 kB / 1.07 GB, free: 8.754 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.01e-05/0.4236, allocations: 43.52 kB / 1.07 GB, free: 8.711 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001014/0.4237, allocations: 47.97 kB / 1.07 GB, free: 8.66 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.4237, allocations: 4 kB / 1.07 GB, free: 8.656 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.4237, allocations: 0 / 1.07 GB, free: 8.656 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.4237, allocations: 4 kB / 1.07 GB, free: 8.652 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004597/0.4242, allocations: 429.2 kB / 1.07 GB, free: 8.184 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.4242, allocations: 4 kB / 1.07 GB, free: 8.18 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002611/0.4245, allocations: 51.95 kB / 1.071 GB, free: 8.129 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.325e-06/0.4245, allocations: 0 / 1.071 GB, free: 8.129 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.345e-05/0.4245, allocations: 8 kB / 1.071 GB, free: 8.121 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.4245, allocations: 0 / 1.071 GB, free: 8.121 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.4245, allocations: 4 kB / 1.071 GB, free: 8.117 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008905/0.4254, allocations: 0.5177 MB / 1.071 GB, free: 7.586 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001405/0.4256, allocations: 144.4 kB / 1.071 GB, free: 7.426 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.742e-05/0.4256, allocations: 8 kB / 1.071 GB, free: 7.418 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001829/0.4258, allocations: 11.98 kB / 1.071 GB, free: 7.406 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.088e-05/0.4259, allocations: 27.89 kB / 1.071 GB, free: 7.379 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.471e-05/0.4259, allocations: 8 kB / 1.071 GB, free: 7.371 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0003164/0.4262, allocations: 287.1 kB / 1.071 GB, free: 7.098 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.7e-07/0.4263, allocations: 0 / 1.071 GB, free: 7.098 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003356/0.4266, allocations: 67.75 kB / 1.072 GB, free: 7.031 MB / 0.8262 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 (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.0001038/0.4267, allocations: 104.9 kB / 1.072 GB, free: 6.922 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0005755/0.4273, allocations: 248.6 kB / 1.072 GB, free: 6.68 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.4273, allocations: 0 / 1.072 GB, free: 6.68 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002557/0.4276, allocations: 128.3 kB / 1.072 GB, free: 6.555 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006669/0.4282, allocations: 114.6 kB / 1.072 GB, free: 6.449 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001325/0.4296, allocations: 0.8759 MB / 1.073 GB, free: 5.539 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003734/0.43, allocations: 0.8155 MB / 1.074 GB, free: 4.695 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0002057/0.4302, allocations: 51.25 kB / 1.074 GB, free: 4.648 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.063e-05/0.4303, allocations: 35.42 kB / 1.074 GB, free: 4.613 MB / 0.8262 GB Notification: Performance of SimCode: time 4.2e-07/0.4303, allocations: 0 / 1.074 GB, free: 4.613 MB / 0.8262 GB Notification: Performance of Templates: time 0.007381/0.4377, allocations: 3.444 MB / 1.077 GB, free: 1.258 MB / 0.8262 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