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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001543/0.001543, allocations: 108.7 kB / 16.41 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.001714/0.001714, allocations: 190.6 kB / 17.35 MB, free: 5.738 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.319/1.319, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.47/2.47, allocations: 461.9 MB / 0.7355 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001261/0.001261, allocations: 67.88 kB / 1.055 GB, free: 7.688 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7094/0.7106, allocations: 157.4 MB / 1.208 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan): time 0.004304/0.715, allocations: 3.115 MB / 1.211 GB, free: 10.5 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001992/0.717, allocations: 1.091 MB / 1.213 GB, free: 9.398 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000391/0.7174, allocations: 15.94 kB / 1.213 GB, free: 9.383 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0002909/0.7177, allocations: 91.06 kB / 1.213 GB, free: 9.293 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0003181/0.7181, allocations: 107 kB / 1.213 GB, free: 9.188 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007355/0.7188, allocations: 338.1 kB / 1.213 GB, free: 8.863 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.000673/0.7195, allocations: 0.6403 MB / 1.214 GB, free: 8.219 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003777/0.7199, allocations: 249.9 kB / 1.214 GB, free: 7.973 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003078/0.7202, allocations: 223 kB / 1.214 GB, free: 7.754 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002478/0.7205, allocations: 206.8 kB / 1.214 GB, free: 7.551 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 7.928e-05/0.7205, allocations: 56 kB / 1.214 GB, free: 7.496 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 7.001e-05/0.7206, allocations: 52 kB / 1.214 GB, free: 7.445 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 8.389e-05/0.7207, allocations: 103.6 kB / 1.215 GB, free: 7.344 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001847/0.7209, allocations: 254.5 kB / 1.215 GB, free: 7.094 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0005412/0.7215, allocations: 0.6828 MB / 1.215 GB, free: 6.414 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.7215, allocations: 0 / 1.215 GB, free: 6.414 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.423e-06/0.7215, allocations: 0 / 1.215 GB, free: 6.414 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 8.045e-06/0.7215, allocations: 0 / 1.215 GB, free: 6.414 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.001196/0.7227, allocations: 0.8254 MB / 1.216 GB, free: 5.539 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.626e-05/0.7227, allocations: 8.031 kB / 1.216 GB, free: 5.531 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.299e-05/0.7228, allocations: 64.19 kB / 1.216 GB, free: 5.469 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007707/0.7236, allocations: 0.5061 MB / 1.217 GB, free: 4.922 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.104e-05/0.7236, allocations: 25.02 kB / 1.217 GB, free: 4.898 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.701e-05/0.7237, allocations: 28.38 kB / 1.217 GB, free: 4.871 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006053/0.7243, allocations: 375.1 kB / 1.217 GB, free: 4.465 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.156e-05/0.7243, allocations: 4 kB / 1.217 GB, free: 4.461 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.886e-05/0.7244, allocations: 8 kB / 1.217 GB, free: 4.453 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.356e-06/0.7244, allocations: 8 kB / 1.217 GB, free: 4.445 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005685/0.7249, allocations: 254 kB / 1.217 GB, free: 4.199 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001439/0.7264, allocations: 1.425 MB / 1.219 GB, free: 2.699 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000655/0.7271, allocations: 278.8 kB / 1.219 GB, free: 2.418 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002788/0.7274, allocations: 142.6 kB / 1.219 GB, free: 2.277 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.505e-05/0.7274, allocations: 8 kB / 1.219 GB, free: 2.27 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.316e-05/0.7274, allocations: 34.56 kB / 1.219 GB, free: 2.227 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=23): time 1.343e-06/0.7274, allocations: 0 / 1.219 GB, free: 2.227 MB / 0.9356 GB Notification: Performance of matching and sorting (n=23): time 0.0008447/0.7283, allocations: 366.8 kB / 1.22 GB, free: 1.863 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.638e-05/0.7283, allocations: 51.41 kB / 1.22 GB, free: 1.801 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003893/0.7287, allocations: 414 kB / 1.22 GB, free: 1.391 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.267e-05/0.7287, allocations: 29.7 kB / 1.22 GB, free: 1.355 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001562/0.7289, allocations: 260 kB / 1.22 GB, free: 1.094 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 5.329e-05/0.729, allocations: 78.83 kB / 1.22 GB, free: 1.016 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.303e-05/0.729, allocations: 57.97 kB / 1.221 GB, free: 0.9492 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001162/0.7292, allocations: 354.7 kB / 1.221 GB, free: 0.5938 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002393/0.7294, allocations: 96.5 kB / 1.221 GB, free: 0.5 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002678/0.7297, allocations: 160.8 kB / 1.221 GB, free: 324 kB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004992/0.7302, allocations: 268.4 kB / 1.221 GB, free: 28 kB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.7302, allocations: 0 / 1.221 GB, free: 28 kB / 0.9356 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006595/0.7309, allocations: 340.3 kB / 1.222 GB, free: 15.69 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.425e-05/0.7309, allocations: 11.94 kB / 1.222 GB, free: 15.68 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.558e-06/0.7309, allocations: 0 / 1.222 GB, free: 15.68 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.405e-05/0.7309, allocations: 4 kB / 1.222 GB, free: 15.68 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002793/0.7312, allocations: 67.89 kB / 1.222 GB, free: 15.61 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.067e-05/0.7312, allocations: 4 kB / 1.222 GB, free: 15.61 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001875/0.7314, allocations: 32.02 kB / 1.222 GB, free: 15.57 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.314e-05/0.7315, allocations: 15.94 kB / 1.222 GB, free: 15.56 MB / 0.9512 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.0001549/0.7316, allocations: 177.8 kB / 1.222 GB, free: 15.38 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.306e-05/0.7317, allocations: 43.44 kB / 1.222 GB, free: 15.33 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.213e-05/0.7318, allocations: 43.98 kB / 1.222 GB, free: 15.29 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/0.7318, allocations: 3.984 kB / 1.222 GB, free: 15.29 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/0.7318, allocations: 0 / 1.222 GB, free: 15.29 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001159/0.7319, allocations: 140.5 kB / 1.222 GB, free: 15.13 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.04e-05/0.732, allocations: 7.938 kB / 1.222 GB, free: 15.12 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001917/0.7322, allocations: 15.98 kB / 1.222 GB, free: 15.11 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.447e-05/0.7322, allocations: 15.98 kB / 1.222 GB, free: 15.09 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007293/0.733, allocations: 352.6 kB / 1.223 GB, free: 14.74 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0009648/0.7339, allocations: 0.59 MB / 1.223 GB, free: 14.13 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002521/0.7342, allocations: 122.2 kB / 1.223 GB, free: 14.02 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.000285/0.7345, allocations: 291.1 kB / 1.224 GB, free: 13.73 MB / 0.9512 GB Notification: Performance of Backend: time 3.71e-07/0.7345, allocations: 3.938 kB / 1.224 GB, free: 13.73 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0006234/0.7351, allocations: 226.7 kB / 1.224 GB, free: 13.5 MB / 0.9512 GB Notification: Performance of SimCode: time 0.001405/0.7366, allocations: 1.225 MB / 1.225 GB, free: 12.23 MB / 0.9512 GB Notification: Performance of Templates: time 0.008605/0.7452, allocations: 4.713 MB / 1.23 GB, free: 7.617 MB / 0.9512 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/jenkins1/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