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.001509/0.001509, allocations: 100.4 kB / 16.4 MB, free: 6.512 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.001479/0.001479, allocations: 192.2 kB / 17.34 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.515/1.515, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.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.642/2.642, allocations: 437 MB / 0.7112 GB, free: 4.359 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001577/0.001577, allocations: 68.12 kB / 1.019 GB, free: 9.422 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.087/1.089, allocations: 151.6 MB / 1.167 GB, free: 3.844 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan): time 0.004912/1.094, allocations: 3.117 MB / 1.17 GB, free: 0.7109 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.002461/1.096, allocations: 1.099 MB / 1.171 GB, free: 15.61 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003593/1.096, allocations: 19.88 kB / 1.171 GB, free: 15.59 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0003203/1.097, allocations: 91.12 kB / 1.172 GB, free: 15.5 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0002522/1.097, allocations: 111 kB / 1.172 GB, free: 15.39 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007944/1.098, allocations: 333.2 kB / 1.172 GB, free: 15.07 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0006994/1.099, allocations: 0.6481 MB / 1.173 GB, free: 14.42 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004164/1.099, allocations: 245.9 kB / 1.173 GB, free: 14.17 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002911/1.099, allocations: 223 kB / 1.173 GB, free: 13.95 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002561/1.1, allocations: 214.8 kB / 1.173 GB, free: 13.74 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 7.146e-05/1.1, allocations: 56 kB / 1.173 GB, free: 13.68 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 7.274e-05/1.1, allocations: 52 kB / 1.173 GB, free: 13.63 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0001085/1.1, allocations: 111.6 kB / 1.173 GB, free: 13.52 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0002038/1.1, allocations: 234.6 kB / 1.174 GB, free: 13.29 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0007578/1.101, allocations: 0.6929 MB / 1.174 GB, free: 12.6 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5.63e-06/1.101, allocations: 0 / 1.174 GB, free: 12.6 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.643e-06/1.101, allocations: 0 / 1.174 GB, free: 12.6 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.687e-05/1.101, allocations: 0 / 1.174 GB, free: 12.6 MB / 0.9044 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.00139/1.102, allocations: 0.8445 MB / 1.175 GB, free: 11.7 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.419e-05/1.102, allocations: 8.922 kB / 1.175 GB, free: 11.7 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001048/1.102, allocations: 60.56 kB / 1.175 GB, free: 11.64 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009054/1.103, allocations: 0.5143 MB / 1.176 GB, free: 11.09 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.663e-05/1.103, allocations: 21.03 kB / 1.176 GB, free: 11.07 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.827e-05/1.103, allocations: 32.33 kB / 1.176 GB, free: 11.04 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006821/1.104, allocations: 375.1 kB / 1.176 GB, free: 10.64 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.246e-05/1.104, allocations: 0 / 1.176 GB, free: 10.64 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.657e-05/1.104, allocations: 16 kB / 1.176 GB, free: 10.62 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.624e-05/1.104, allocations: 12 kB / 1.176 GB, free: 10.61 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006049/1.105, allocations: 250 kB / 1.176 GB, free: 10.37 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001714/1.107, allocations: 1.417 MB / 1.178 GB, free: 8.875 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007093/1.107, allocations: 270.8 kB / 1.178 GB, free: 8.602 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002982/1.108, allocations: 144.7 kB / 1.178 GB, free: 8.457 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 3.879e-05/1.108, allocations: 11.98 kB / 1.178 GB, free: 8.445 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.362e-05/1.108, allocations: 34.5 kB / 1.178 GB, free: 8.402 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=23): time 1.803e-06/1.108, allocations: 0 / 1.178 GB, free: 8.402 MB / 0.9044 GB Notification: Performance of matching and sorting (n=23): time 0.0009271/1.109, allocations: 365.1 kB / 1.179 GB, free: 8.039 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.131e-05/1.109, allocations: 55.41 kB / 1.179 GB, free: 7.973 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004729/1.109, allocations: 413.9 kB / 1.179 GB, free: 7.562 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.759e-05/1.109, allocations: 29.7 kB / 1.179 GB, free: 7.527 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001994/1.109, allocations: 260.5 kB / 1.179 GB, free: 7.27 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 6.849e-05/1.109, allocations: 87.2 kB / 1.179 GB, free: 7.184 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001051/1.11, allocations: 57.97 kB / 1.179 GB, free: 7.117 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001767/1.11, allocations: 354.7 kB / 1.18 GB, free: 6.762 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002599/1.11, allocations: 100.4 kB / 1.18 GB, free: 6.664 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002989/1.11, allocations: 161.4 kB / 1.18 GB, free: 6.48 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005631/1.111, allocations: 265.7 kB / 1.18 GB, free: 6.195 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/1.111, allocations: 0 / 1.18 GB, free: 6.195 MB / 0.9044 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006727/1.112, allocations: 349 kB / 1.181 GB, free: 5.848 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.064e-05/1.112, allocations: 4 kB / 1.181 GB, free: 5.844 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.336e-06/1.112, allocations: 4 kB / 1.181 GB, free: 5.84 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.89e-05/1.112, allocations: 0 / 1.181 GB, free: 5.84 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002888/1.112, allocations: 64.14 kB / 1.181 GB, free: 5.777 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.16e-05/1.112, allocations: 8 kB / 1.181 GB, free: 5.77 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000209/1.112, allocations: 39.77 kB / 1.181 GB, free: 5.73 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.072e-05/1.112, allocations: 8 kB / 1.181 GB, free: 5.723 MB / 0.9044 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.0002035/1.112, allocations: 176.3 kB / 1.181 GB, free: 5.543 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.958e-05/1.112, allocations: 43.72 kB / 1.181 GB, free: 5.5 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001115/1.113, allocations: 47.97 kB / 1.181 GB, free: 5.445 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.005e-06/1.113, allocations: 8 kB / 1.181 GB, free: 5.438 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.154e-06/1.113, allocations: 4 kB / 1.181 GB, free: 5.434 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.642e-06/1.113, allocations: 3.938 kB / 1.181 GB, free: 5.43 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005149/1.113, allocations: 437.3 kB / 1.181 GB, free: 4.953 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.527e-06/1.113, allocations: 0 / 1.181 GB, free: 4.953 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002654/1.113, allocations: 47.91 kB / 1.181 GB, free: 4.906 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.434e-06/1.113, allocations: 0 / 1.181 GB, free: 4.906 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.948e-05/1.113, allocations: 4 kB / 1.181 GB, free: 4.902 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.677e-06/1.113, allocations: 4 kB / 1.181 GB, free: 4.898 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.958e-06/1.113, allocations: 3.984 kB / 1.181 GB, free: 4.895 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009529/1.114, allocations: 0.4974 MB / 1.182 GB, free: 4.383 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001542/1.115, allocations: 144.7 kB / 1.182 GB, free: 4.223 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.274e-05/1.115, allocations: 7.938 kB / 1.182 GB, free: 4.215 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001892/1.115, allocations: 20.05 kB / 1.182 GB, free: 4.195 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.508e-05/1.115, allocations: 19.83 kB / 1.182 GB, free: 4.176 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.679e-05/1.115, allocations: 11.94 kB / 1.182 GB, free: 4.164 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0003278/1.115, allocations: 287.1 kB / 1.182 GB, free: 3.891 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.653e-06/1.115, allocations: 0 / 1.182 GB, free: 3.891 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0003396/1.116, allocations: 71.77 kB / 1.183 GB, free: 3.82 MB / 0.9044 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.0001333/1.116, allocations: 107.2 kB / 1.183 GB, free: 3.707 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0005922/1.116, allocations: 239.8 kB / 1.183 GB, free: 3.473 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/1.116, allocations: 0 / 1.183 GB, free: 3.473 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.000267/1.117, allocations: 123.6 kB / 1.183 GB, free: 3.355 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006854/1.117, allocations: 123.3 kB / 1.183 GB, free: 3.242 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001401/1.119, allocations: 0.7774 MB / 1.184 GB, free: 2.43 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000431/1.119, allocations: 0.8194 MB / 1.185 GB, free: 1.586 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001126/1.119, allocations: 35.44 kB / 1.185 GB, free: 1.551 MB / 0.9044 GB Notification: Performance of SimCode: time 2e-07/1.119, allocations: 0 / 1.185 GB, free: 1.551 MB / 0.9044 GB Notification: Performance of Templates: time 0.008514/1.128, allocations: 5.381 MB / 1.19 GB, free: 12.21 MB / 0.92 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/jenkins1/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