Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001478/0.001478, allocations: 112.8 kB / 16.42 MB, free: 6.516 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.001687/0.001687, allocations: 190.7 kB / 17.35 MB, free: 5.73 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.309/1.309, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.201/2.201, allocations: 390.2 MB / 0.6655 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001303/0.001303, allocations: 64.09 kB / 0.9515 GB, free: 7.66 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6876/0.6889, allocations: 140.4 MB / 1.089 GB, free: 5.512 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan): time 0.003787/0.6928, allocations: 3.105 MB / 1.092 GB, free: 3.309 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001795/0.6946, allocations: 1.091 MB / 1.093 GB, free: 2.516 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002699/0.6949, allocations: 20.38 kB / 1.093 GB, free: 2.508 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0002527/0.6951, allocations: 89.08 kB / 1.093 GB, free: 2.441 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0002147/0.6954, allocations: 111.4 kB / 1.093 GB, free: 2.355 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006441/0.696, allocations: 338.3 kB / 1.093 GB, free: 2.156 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0005594/0.6966, allocations: 0.6439 MB / 1.094 GB, free: 1.809 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003611/0.697, allocations: 257 kB / 1.094 GB, free: 1.676 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002548/0.6972, allocations: 228 kB / 1.094 GB, free: 1.547 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002148/0.6975, allocations: 207 kB / 1.095 GB, free: 1.426 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 8.729e-05/0.6976, allocations: 53.25 kB / 1.095 GB, free: 1.426 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 8.034e-05/0.6976, allocations: 52.25 kB / 1.095 GB, free: 1.426 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 9.582e-05/0.6977, allocations: 114.7 kB / 1.095 GB, free: 1.34 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001844/0.6979, allocations: 241.5 kB / 1.095 GB, free: 1.16 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0007289/0.6987, allocations: 0.6853 MB / 1.096 GB, free: 0.8711 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.6987, allocations: 0.5625 kB / 1.096 GB, free: 0.8711 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.021e-06/0.6987, allocations: 0 / 1.096 GB, free: 0.8711 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.178e-05/0.6987, allocations: 0.7812 kB / 1.096 GB, free: 0.8711 MB / 0.8575 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.001206/0.6999, allocations: 0.8169 MB / 1.096 GB, free: 244 kB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.329e-05/0.7, allocations: 12.19 kB / 1.096 GB, free: 240 kB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.716e-05/0.7001, allocations: 56.06 kB / 1.097 GB, free: 212 kB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009389/0.701, allocations: 0.519 MB / 1.097 GB, free: 15.83 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.74e-05/0.7011, allocations: 20.75 kB / 1.097 GB, free: 15.82 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.276e-05/0.7011, allocations: 28.41 kB / 1.097 GB, free: 15.81 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00072/0.7018, allocations: 375.3 kB / 1.097 GB, free: 15.59 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/0.7019, allocations: 0.8438 kB / 1.097 GB, free: 15.59 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.304e-05/0.7019, allocations: 10.97 kB / 1.097 GB, free: 15.59 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.349e-05/0.7019, allocations: 11.81 kB / 1.097 GB, free: 15.58 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006431/0.7026, allocations: 253.8 kB / 1.098 GB, free: 15.5 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001764/0.7043, allocations: 1.421 MB / 1.099 GB, free: 14.41 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007219/0.7051, allocations: 276.7 kB / 1.099 GB, free: 14.28 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003051/0.7054, allocations: 145.5 kB / 1.099 GB, free: 14.22 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 3.058e-05/0.7054, allocations: 3.828 kB / 1.099 GB, free: 14.22 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.82e-05/0.7055, allocations: 31.62 kB / 1.1 GB, free: 14.18 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=23): time 1.573e-06/0.7055, allocations: 1.094 kB / 1.1 GB, free: 14.18 MB / 0.8731 GB Notification: Performance of matching and sorting (n=23): time 0.000947/0.7064, allocations: 364.6 kB / 1.1 GB, free: 14.03 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.695e-05/0.7065, allocations: 57.53 kB / 1.1 GB, free: 13.96 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004758/0.707, allocations: 409.6 kB / 1.1 GB, free: 13.76 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 3.551e-05/0.707, allocations: 31.33 kB / 1.1 GB, free: 13.73 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001792/0.7072, allocations: 258.3 kB / 1.101 GB, free: 13.52 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 6.821e-05/0.7073, allocations: 80.02 kB / 1.101 GB, free: 13.45 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.84e-05/0.7074, allocations: 58.66 kB / 1.101 GB, free: 13.41 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001467/0.7075, allocations: 363.5 kB / 1.101 GB, free: 13.07 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002648/0.7078, allocations: 90.8 kB / 1.101 GB, free: 13.04 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003173/0.7081, allocations: 160.5 kB / 1.101 GB, free: 12.93 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005697/0.7087, allocations: 276.3 kB / 1.102 GB, free: 12.76 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.7087, allocations: 0.75 kB / 1.102 GB, free: 12.76 MB / 0.8731 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0007042/0.7094, allocations: 339.1 kB / 1.102 GB, free: 12.61 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.806e-05/0.7094, allocations: 6.031 kB / 1.102 GB, free: 12.61 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.895e-06/0.7095, allocations: 2 kB / 1.102 GB, free: 12.61 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.573e-05/0.7095, allocations: 3.969 kB / 1.102 GB, free: 12.61 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003097/0.7098, allocations: 65.42 kB / 1.102 GB, free: 12.61 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.012e-05/0.7098, allocations: 7.891 kB / 1.102 GB, free: 12.6 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002165/0.71, allocations: 31.75 kB / 1.102 GB, free: 12.59 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.429e-05/0.7101, allocations: 21.38 kB / 1.102 GB, free: 12.57 MB / 0.8731 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.0001913/0.7103, allocations: 175.2 kB / 1.102 GB, free: 12.42 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.008e-05/0.7103, allocations: 43.12 kB / 1.102 GB, free: 12.39 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001083/0.7105, allocations: 50.2 kB / 1.102 GB, free: 12.36 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/0.7105, allocations: 1.969 kB / 1.102 GB, free: 12.36 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.7105, allocations: 1 kB / 1.102 GB, free: 12.36 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001512/0.7106, allocations: 141.5 kB / 1.102 GB, free: 12.23 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.516e-05/0.7107, allocations: 10.62 kB / 1.102 GB, free: 12.22 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002081/0.7109, allocations: 14.27 kB / 1.102 GB, free: 12.21 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.86e-05/0.711, allocations: 16.5 kB / 1.102 GB, free: 12.21 MB / 0.8731 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008183/0.7118, allocations: 351.4 kB / 1.103 GB, free: 12.02 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0009817/0.7128, allocations: 0.587 MB / 1.103 GB, free: 11.65 MB / 0.8731 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002758/0.7131, allocations: 114 kB / 1.103 GB, free: 11.61 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0003525/0.7134, allocations: 285.8 kB / 1.104 GB, free: 11.47 MB / 0.8731 GB Notification: Performance of Backend: time 5.51e-07/0.7135, allocations: 4.906 kB / 1.104 GB, free: 11.46 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.000785/0.7142, allocations: 239.3 kB / 1.104 GB, free: 11.34 MB / 0.8731 GB Notification: Performance of SimCode: time 0.001716/0.716, allocations: 1.214 MB / 1.105 GB, free: 10.44 MB / 0.8731 GB Notification: Performance of Templates: time 0.0101/0.7261, allocations: 4.604 MB / 1.11 GB, free: 10.08 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.makefile (rm -f Buildings_9_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe ; mkfifo Buildings_9_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe ; head -c 1048576 < Buildings_9_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe >> ../files/Buildings_9_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.sim & ./Buildings_9_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Air_Systems_SingleZone_VAV_BaseClasses_Validation_ControllerHeatingFan.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches