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.006424/0.006424, allocations: 102.3 kB / 15.73 MB, free: 5.578 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.001511/0.001511, allocations: 195.7 kB / 16.67 MB, free: 5.52 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.348/1.348, allocations: 222.9 MB / 240.4 MB, free: 15.16 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.258/2.258, allocations: 390.2 MB / 0.6648 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001216/0.001216, allocations: 55.91 kB / 0.9508 GB, free: 7.652 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7946/0.7959, allocations: 140.4 MB / 1.088 GB, free: 5.52 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan): time 0.004073/0.8, allocations: 3.117 MB / 1.091 GB, free: 3.305 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002143/0.8021, allocations: 1.086 MB / 1.092 GB, free: 2.516 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003142/0.8025, allocations: 20 kB / 1.092 GB, free: 2.508 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0002976/0.8028, allocations: 86.17 kB / 1.092 GB, free: 2.445 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.000242/0.8031, allocations: 111.6 kB / 1.092 GB, free: 2.359 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007811/0.8039, allocations: 341.4 kB / 1.093 GB, free: 2.156 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0007182/0.8046, allocations: 0.6475 MB / 1.093 GB, free: 1.805 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004082/0.805, allocations: 245.4 kB / 1.093 GB, free: 1.684 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002679/0.8053, allocations: 228.6 kB / 1.094 GB, free: 1.555 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002393/0.8055, allocations: 215.2 kB / 1.094 GB, free: 1.426 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 8.886e-05/0.8056, allocations: 52.31 kB / 1.094 GB, free: 1.426 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 8.075e-05/0.8057, allocations: 52.84 kB / 1.094 GB, free: 1.426 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 8.892e-05/0.8058, allocations: 106.2 kB / 1.094 GB, free: 1.348 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.000174/0.806, allocations: 242 kB / 1.094 GB, free: 1.168 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0007593/0.8068, allocations: 0.6847 MB / 1.095 GB, free: 0.8789 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.8068, allocations: 1.359 kB / 1.095 GB, free: 0.8789 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.633e-06/0.8068, allocations: 0 / 1.095 GB, free: 0.8789 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.907e-06/0.8068, allocations: 0.875 kB / 1.095 GB, free: 0.8789 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.001256/0.8081, allocations: 0.8203 MB / 1.096 GB, free: 248 kB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.028e-05/0.8081, allocations: 13.59 kB / 1.096 GB, free: 244 kB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001159/0.8082, allocations: 59.25 kB / 1.096 GB, free: 212 kB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009553/0.8092, allocations: 0.5121 MB / 1.096 GB, free: 15.83 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.974e-05/0.8092, allocations: 24.44 kB / 1.096 GB, free: 15.82 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.048e-05/0.8093, allocations: 27.38 kB / 1.096 GB, free: 15.81 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007112/0.81, allocations: 376 kB / 1.097 GB, free: 15.59 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.273e-05/0.8101, allocations: 0 / 1.097 GB, free: 15.59 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.259e-05/0.8101, allocations: 15.66 kB / 1.097 GB, free: 15.58 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.739e-05/0.8101, allocations: 8.406 kB / 1.097 GB, free: 15.58 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000646/0.8108, allocations: 252.8 kB / 1.097 GB, free: 15.5 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001775/0.8126, allocations: 1.429 MB / 1.098 GB, free: 14.4 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007382/0.8133, allocations: 274.9 kB / 1.099 GB, free: 14.28 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003053/0.8136, allocations: 140.5 kB / 1.099 GB, free: 14.22 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 3.632e-05/0.8137, allocations: 2.938 kB / 1.099 GB, free: 14.22 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.247e-05/0.8137, allocations: 32.88 kB / 1.099 GB, free: 14.18 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=23): time 1.433e-06/0.8137, allocations: 0 / 1.099 GB, free: 14.18 MB / 0.8731 GB Notification: Performance of matching and sorting (n=23): time 0.000946/0.8147, allocations: 360.1 kB / 1.099 GB, free: 14.03 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.704e-05/0.8147, allocations: 54.22 kB / 1.099 GB, free: 13.97 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005651/0.8153, allocations: 414.1 kB / 1.1 GB, free: 13.77 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 2.74e-05/0.8153, allocations: 30.77 kB / 1.1 GB, free: 13.73 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.000211/0.8155, allocations: 262.2 kB / 1.1 GB, free: 13.52 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 6.808e-05/0.8156, allocations: 76.02 kB / 1.1 GB, free: 13.46 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001156/0.8157, allocations: 58.64 kB / 1.1 GB, free: 13.41 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001502/0.8159, allocations: 355 kB / 1.1 GB, free: 13.08 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000281/0.8162, allocations: 98.62 kB / 1.1 GB, free: 13.05 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003073/0.8165, allocations: 160.6 kB / 1.101 GB, free: 12.94 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005446/0.817, allocations: 273.7 kB / 1.101 GB, free: 12.77 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.817, allocations: 4 kB / 1.101 GB, free: 12.77 MB / 0.8731 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006981/0.8178, allocations: 338.9 kB / 1.101 GB, free: 12.62 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.372e-05/0.8178, allocations: 6.531 kB / 1.101 GB, free: 12.62 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.035e-05/0.8178, allocations: 6.5 kB / 1.101 GB, free: 12.61 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.143e-05/0.8178, allocations: 7.828 kB / 1.101 GB, free: 12.61 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003035/0.8181, allocations: 64.45 kB / 1.101 GB, free: 12.6 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.097e-05/0.8182, allocations: 4.469 kB / 1.101 GB, free: 12.6 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000214/0.8184, allocations: 34.89 kB / 1.101 GB, free: 12.58 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.917e-05/0.8184, allocations: 14.05 kB / 1.101 GB, free: 12.58 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.0001861/0.8186, allocations: 170.1 kB / 1.101 GB, free: 12.43 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.55e-05/0.8187, allocations: 44.59 kB / 1.102 GB, free: 12.4 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001115/0.8188, allocations: 49.7 kB / 1.102 GB, free: 12.37 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.394e-06/0.8188, allocations: 3.219 kB / 1.102 GB, free: 12.37 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.306e-06/0.8188, allocations: 0.75 kB / 1.102 GB, free: 12.37 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.001e-06/0.8188, allocations: 9.047 kB / 1.102 GB, free: 12.36 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005812/0.8194, allocations: 438.1 kB / 1.102 GB, free: 12.06 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.44e-06/0.8194, allocations: 4.641 kB / 1.102 GB, free: 12.05 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000276/0.8197, allocations: 48.22 kB / 1.102 GB, free: 12.05 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.8197, allocations: 1.562 kB / 1.102 GB, free: 12.05 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.697e-05/0.8198, allocations: 6.719 kB / 1.102 GB, free: 12.05 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.826e-06/0.8198, allocations: 5.25 kB / 1.102 GB, free: 12.04 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.8198, allocations: 0.6094 kB / 1.102 GB, free: 12.04 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00099/0.8208, allocations: 0.4968 MB / 1.103 GB, free: 11.76 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001456/0.8209, allocations: 142.2 kB / 1.103 GB, free: 11.62 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.721e-05/0.821, allocations: 6.656 kB / 1.103 GB, free: 11.62 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001923/0.8212, allocations: 13.95 kB / 1.103 GB, free: 11.61 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.919e-05/0.8213, allocations: 12.44 kB / 1.103 GB, free: 11.61 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.332e-05/0.8213, allocations: 13.81 kB / 1.103 GB, free: 11.61 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0003636/0.8217, allocations: 287.2 kB / 1.103 GB, free: 11.46 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8217, allocations: 0 / 1.103 GB, free: 11.46 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003638/0.822, allocations: 64.77 kB / 1.103 GB, free: 11.45 MB / 0.8731 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.0001394/0.8222, allocations: 111.9 kB / 1.103 GB, free: 11.35 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0007352/0.8229, allocations: 241.6 kB / 1.103 GB, free: 11.27 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.8229, allocations: 0.5 kB / 1.103 GB, free: 11.27 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0003245/0.8233, allocations: 121.3 kB / 1.104 GB, free: 11.23 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006887/0.824, allocations: 128 kB / 1.104 GB, free: 11.2 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001375/0.8254, allocations: 0.724 MB / 1.104 GB, free: 10.76 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00043/0.8258, allocations: 0.8161 MB / 1.105 GB, free: 10.06 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0002147/0.826, allocations: 51.86 kB / 1.105 GB, free: 10.04 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.958e-05/0.8261, allocations: 31.2 kB / 1.105 GB, free: 10.04 MB / 0.8731 GB Notification: Performance of SimCode: time 3.31e-07/0.8261, allocations: 0 / 1.105 GB, free: 10.04 MB / 0.8731 GB Notification: Performance of Templates: time 0.009417/0.8355, allocations: 3.863 MB / 1.109 GB, free: 9.703 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/jenkins/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