Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_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_10_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.001359/0.001359, allocations: 108.6 kB / 15.73 MB, free: 76 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.001425/0.001425, allocations: 187.4 kB / 16.66 MB, free: 6.59 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.369/1.369, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.572/2.572, allocations: 437 MB / 0.7105 GB, free: 4.984 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001383/0.001383, allocations: 63.89 kB / 1.019 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3276/0.329, allocations: 151.6 MB / 1.167 GB, free: 6.855 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan): time 0.00473/0.3337, allocations: 3.1 MB / 1.17 GB, free: 3.73 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.002277/0.336, allocations: 1.103 MB / 1.171 GB, free: 2.621 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004987/0.3366, allocations: 15.94 kB / 1.171 GB, free: 2.605 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.00035/0.3369, allocations: 91.06 kB / 1.171 GB, free: 2.516 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0004029/0.3374, allocations: 111 kB / 1.171 GB, free: 2.406 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009942/0.3384, allocations: 346.8 kB / 1.171 GB, free: 2.074 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0008011/0.3392, allocations: 0.6402 MB / 1.172 GB, free: 1.434 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004204/0.3396, allocations: 249.8 kB / 1.172 GB, free: 1.184 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003214/0.3399, allocations: 223 kB / 1.172 GB, free: 0.9648 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002388/0.3402, allocations: 214.8 kB / 1.173 GB, free: 0.7539 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 8.022e-05/0.3403, allocations: 52 kB / 1.173 GB, free: 0.7031 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 6.434e-05/0.3404, allocations: 56 kB / 1.173 GB, free: 0.6484 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 8.069e-05/0.3404, allocations: 107.6 kB / 1.173 GB, free: 0.543 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.000173/0.3406, allocations: 242.6 kB / 1.173 GB, free: 312 kB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0006524/0.3413, allocations: 0.6886 MB / 1.174 GB, free: 15.61 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.3413, allocations: 0 / 1.174 GB, free: 15.61 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.523e-06/0.3413, allocations: 0 / 1.174 GB, free: 15.61 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 9.027e-06/0.3413, allocations: 0 / 1.174 GB, free: 15.61 MB / 0.9356 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.00126/0.3426, allocations: 0.8368 MB / 1.174 GB, free: 14.72 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.187e-05/0.3426, allocations: 12.03 kB / 1.174 GB, free: 14.71 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.831e-05/0.3427, allocations: 56.56 kB / 1.175 GB, free: 14.66 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008816/0.3436, allocations: 0.5221 MB / 1.175 GB, free: 14.09 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.461e-05/0.3437, allocations: 25.03 kB / 1.175 GB, free: 14.07 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.933e-05/0.3437, allocations: 32.33 kB / 1.175 GB, free: 14.04 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006207/0.3443, allocations: 371.1 kB / 1.175 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.282e-05/0.3444, allocations: 3.938 kB / 1.175 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.158e-05/0.3444, allocations: 16 kB / 1.175 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.387e-06/0.3444, allocations: 12 kB / 1.175 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005624/0.345, allocations: 254 kB / 1.176 GB, free: 13.37 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00153/0.3465, allocations: 1.421 MB / 1.177 GB, free: 11.87 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006485/0.3472, allocations: 270.8 kB / 1.177 GB, free: 11.6 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000263/0.3475, allocations: 136.8 kB / 1.177 GB, free: 11.46 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.816e-05/0.3475, allocations: 0 / 1.177 GB, free: 11.46 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.902e-05/0.3475, allocations: 38.56 kB / 1.178 GB, free: 11.41 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=23): time 1.362e-06/0.3475, allocations: 0 / 1.178 GB, free: 11.41 MB / 0.9356 GB Notification: Performance of matching and sorting (n=23): time 0.0008389/0.3484, allocations: 367.3 kB / 1.178 GB, free: 11.05 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.305e-05/0.3484, allocations: 55.41 kB / 1.178 GB, free: 10.98 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003993/0.3488, allocations: 409.9 kB / 1.178 GB, free: 10.58 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.084e-05/0.3489, allocations: 29.7 kB / 1.178 GB, free: 10.54 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001814/0.3491, allocations: 268.4 kB / 1.179 GB, free: 10.28 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 5.715e-05/0.3491, allocations: 79.33 kB / 1.179 GB, free: 10.2 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.709e-05/0.3492, allocations: 57.97 kB / 1.179 GB, free: 10.13 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001559/0.3494, allocations: 358.7 kB / 1.179 GB, free: 9.773 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002334/0.3496, allocations: 96.5 kB / 1.179 GB, free: 9.68 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002652/0.3499, allocations: 160.7 kB / 1.179 GB, free: 9.496 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004856/0.3504, allocations: 269.5 kB / 1.18 GB, free: 9.207 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.3504, allocations: 3.938 kB / 1.18 GB, free: 9.203 MB / 0.9356 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006173/0.351, allocations: 346.1 kB / 1.18 GB, free: 8.859 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.36e-05/0.351, allocations: 5.562 kB / 1.18 GB, free: 8.855 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.003e-05/0.3511, allocations: 4 kB / 1.18 GB, free: 8.852 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.985e-05/0.3511, allocations: 4 kB / 1.18 GB, free: 8.848 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002601/0.3514, allocations: 60.14 kB / 1.18 GB, free: 8.789 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.005e-05/0.3514, allocations: 11.94 kB / 1.18 GB, free: 8.777 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001833/0.3516, allocations: 39.7 kB / 1.18 GB, free: 8.738 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.416e-05/0.3516, allocations: 15.98 kB / 1.18 GB, free: 8.723 MB / 0.9356 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.0001757/0.3518, allocations: 177.7 kB / 1.18 GB, free: 8.539 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.167e-05/0.3518, allocations: 43.72 kB / 1.18 GB, free: 8.496 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.315e-05/0.3519, allocations: 47.97 kB / 1.18 GB, free: 8.445 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.566e-06/0.352, allocations: 4 kB / 1.18 GB, free: 8.441 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.352, allocations: 4 kB / 1.18 GB, free: 8.438 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/0.352, allocations: 3.938 kB / 1.18 GB, free: 8.434 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004304/0.3524, allocations: 441.2 kB / 1.181 GB, free: 7.953 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.3524, allocations: 0 / 1.181 GB, free: 7.953 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002491/0.3527, allocations: 47.91 kB / 1.181 GB, free: 7.906 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.3527, allocations: 0 / 1.181 GB, free: 7.906 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.21e-05/0.3527, allocations: 11.98 kB / 1.181 GB, free: 7.895 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.764e-06/0.3527, allocations: 0 / 1.181 GB, free: 7.895 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.3527, allocations: 0 / 1.181 GB, free: 7.895 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008543/0.3536, allocations: 0.4929 MB / 1.181 GB, free: 7.387 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000132/0.3537, allocations: 144.7 kB / 1.181 GB, free: 7.227 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.984e-05/0.3538, allocations: 8 kB / 1.181 GB, free: 7.219 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001795/0.354, allocations: 16.05 kB / 1.181 GB, free: 7.203 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.143e-05/0.354, allocations: 19.83 kB / 1.181 GB, free: 7.184 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.475e-05/0.354, allocations: 7.938 kB / 1.181 GB, free: 7.176 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0002802/0.3543, allocations: 291.1 kB / 1.182 GB, free: 6.895 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3543, allocations: 0 / 1.182 GB, free: 6.895 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003105/0.3546, allocations: 67.89 kB / 1.182 GB, free: 6.828 MB / 0.9356 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.0001112/0.3548, allocations: 99.19 kB / 1.182 GB, free: 6.723 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0005732/0.3553, allocations: 249.7 kB / 1.182 GB, free: 6.48 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.3554, allocations: 0 / 1.182 GB, free: 6.48 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0002474/0.3556, allocations: 118.8 kB / 1.182 GB, free: 6.367 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006528/0.3563, allocations: 123 kB / 1.182 GB, free: 6.254 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001262/0.3575, allocations: 0.7543 MB / 1.183 GB, free: 5.473 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003746/0.3579, allocations: 0.8194 MB / 1.184 GB, free: 4.629 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0001811/0.3581, allocations: 51.25 kB / 1.184 GB, free: 4.574 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.48e-05/0.3582, allocations: 31.44 kB / 1.184 GB, free: 4.543 MB / 0.9356 GB Notification: Performance of SimCode: time 4.81e-07/0.3582, allocations: 0 / 1.184 GB, free: 4.543 MB / 0.9356 GB Notification: Performance of Templates: time 0.009405/0.3676, allocations: 3.859 MB / 1.188 GB, free: 0.75 MB / 0.9356 GB make -j1 -f Buildings_10_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.makefile (rm -f Buildings_10_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe ; mkfifo Buildings_10_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe ; head -c 1048576 < Buildings_10_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe >> ../files/Buildings_10_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.sim & ./Buildings_10_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Air_Systems_SingleZone_VAV_BaseClasses_Validation_ControllerHeatingFan.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches