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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.001691/0.001691, allocations: 102.2 kB / 16.27 MB, free: 5.859 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.001745/0.001745, allocations: 188.7 kB / 17.2 MB, free: 5.508 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.654/1.654, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.798/2.798, allocations: 482.4 MB / 0.7553 GB, free: 6.969 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.002003/0.002003, allocations: 69.12 kB / 0.9245 GB, free: 15.99 MB / 0.7012 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.075/1.077, allocations: 162.2 MB / 1.083 GB, free: 1.66 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan): time 0.005944/1.083, allocations: 3.107 MB / 1.086 GB, free: 15.45 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.002835/1.086, allocations: 1.098 MB / 1.087 GB, free: 14.65 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003669/1.086, allocations: 19.88 kB / 1.087 GB, free: 14.64 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0003318/1.087, allocations: 89.11 kB / 1.087 GB, free: 14.57 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0002734/1.087, allocations: 109.7 kB / 1.087 GB, free: 14.49 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009228/1.088, allocations: 335.6 kB / 1.088 GB, free: 14.29 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.000903/1.089, allocations: 0.6362 MB / 1.088 GB, free: 13.95 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005097/1.089, allocations: 240.6 kB / 1.088 GB, free: 13.84 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003513/1.09, allocations: 222.7 kB / 1.089 GB, free: 13.71 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003646/1.09, allocations: 207.4 kB / 1.089 GB, free: 13.59 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0001277/1.09, allocations: 56.75 kB / 1.089 GB, free: 13.58 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001023/1.09, allocations: 56.69 kB / 1.089 GB, free: 13.58 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.000139/1.09, allocations: 110.2 kB / 1.089 GB, free: 13.5 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0002852/1.091, allocations: 237.3 kB / 1.089 GB, free: 13.32 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0009546/1.092, allocations: 0.6666 MB / 1.09 GB, free: 13.04 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 6.712e-06/1.092, allocations: 0 / 1.09 GB, free: 13.04 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.094e-06/1.092, allocations: 0.6875 kB / 1.09 GB, free: 13.04 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.511e-05/1.092, allocations: 0.6562 kB / 1.09 GB, free: 13.04 MB / 0.8419 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.001548/1.093, allocations: 0.8162 MB / 1.091 GB, free: 12.41 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.888e-05/1.093, allocations: 10.25 kB / 1.091 GB, free: 12.41 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001256/1.093, allocations: 59.98 kB / 1.091 GB, free: 12.38 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009782/1.094, allocations: 0.5034 MB / 1.091 GB, free: 12 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.366e-05/1.094, allocations: 20.78 kB / 1.091 GB, free: 12 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.736e-05/1.095, allocations: 32.05 kB / 1.091 GB, free: 11.98 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007938/1.095, allocations: 374.9 kB / 1.092 GB, free: 11.76 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.287e-05/1.095, allocations: 0 / 1.092 GB, free: 11.76 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.734e-05/1.095, allocations: 11.81 kB / 1.092 GB, free: 11.75 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.941e-05/1.095, allocations: 12.48 kB / 1.092 GB, free: 11.75 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006912/1.096, allocations: 252.9 kB / 1.092 GB, free: 11.66 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002123/1.098, allocations: 1.44 MB / 1.093 GB, free: 10.56 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008023/1.099, allocations: 263.8 kB / 1.094 GB, free: 10.45 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003433/1.099, allocations: 138.4 kB / 1.094 GB, free: 10.39 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 3.355e-05/1.099, allocations: 3.594 kB / 1.094 GB, free: 10.39 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.605e-05/1.1, allocations: 36.75 kB / 1.094 GB, free: 10.35 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=23): time 1.343e-06/1.1, allocations: 4 kB / 1.094 GB, free: 10.35 MB / 0.8419 GB Notification: Performance of matching and sorting (n=23): time 0.001078/1.101, allocations: 357.8 kB / 1.094 GB, free: 10.2 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.694e-05/1.101, allocations: 59.28 kB / 1.094 GB, free: 10.13 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006386/1.101, allocations: 412.5 kB / 1.095 GB, free: 9.926 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 3.239e-05/1.101, allocations: 35.27 kB / 1.095 GB, free: 9.887 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002735/1.102, allocations: 263.3 kB / 1.095 GB, free: 9.672 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 8.57e-05/1.102, allocations: 74.77 kB / 1.095 GB, free: 9.613 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001163/1.102, allocations: 55.42 kB / 1.095 GB, free: 9.574 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0002138/1.102, allocations: 358.4 kB / 1.095 GB, free: 9.238 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003085/1.102, allocations: 95.31 kB / 1.095 GB, free: 9.207 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003606/1.103, allocations: 168.1 kB / 1.096 GB, free: 9.09 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006654/1.103, allocations: 269.9 kB / 1.096 GB, free: 8.926 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.162e-06/1.103, allocations: 9.094 kB / 1.096 GB, free: 8.918 MB / 0.8419 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0008099/1.104, allocations: 337.3 kB / 1.096 GB, free: 8.77 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.628e-05/1.104, allocations: 9.406 kB / 1.096 GB, free: 8.77 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/1.104, allocations: 5.25 kB / 1.096 GB, free: 8.766 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.119e-05/1.104, allocations: 4 kB / 1.096 GB, free: 8.766 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003099/1.105, allocations: 60.95 kB / 1.096 GB, free: 8.762 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.222e-05/1.105, allocations: 3.969 kB / 1.096 GB, free: 8.762 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00021/1.105, allocations: 35.39 kB / 1.096 GB, free: 8.742 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.667e-05/1.105, allocations: 12.86 kB / 1.096 GB, free: 8.738 MB / 0.8419 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.000221/1.105, allocations: 171.8 kB / 1.096 GB, free: 8.586 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.34e-05/1.105, allocations: 47.41 kB / 1.096 GB, free: 8.559 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001119/1.105, allocations: 47.12 kB / 1.097 GB, free: 8.531 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.25e-06/1.105, allocations: 2.375 kB / 1.097 GB, free: 8.531 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.134e-06/1.105, allocations: 0 / 1.097 GB, free: 8.531 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.001e-05/1.105, allocations: 6.219 kB / 1.097 GB, free: 8.527 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006432/1.106, allocations: 429.7 kB / 1.097 GB, free: 8.23 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/1.106, allocations: 1.922 kB / 1.097 GB, free: 8.23 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003037/1.106, allocations: 50.52 kB / 1.097 GB, free: 8.223 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/1.106, allocations: 2.094 kB / 1.097 GB, free: 8.223 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.344e-05/1.106, allocations: 6.688 kB / 1.097 GB, free: 8.219 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.835e-06/1.106, allocations: 4.969 kB / 1.097 GB, free: 8.215 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/1.106, allocations: 1.922 kB / 1.097 GB, free: 8.215 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001068/1.108, allocations: 0.5016 MB / 1.098 GB, free: 7.93 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001709/1.108, allocations: 146.5 kB / 1.098 GB, free: 7.789 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.722e-05/1.108, allocations: 1.859 kB / 1.098 GB, free: 7.789 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001939/1.108, allocations: 14.7 kB / 1.098 GB, free: 7.785 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.552e-05/1.108, allocations: 16.42 kB / 1.098 GB, free: 7.781 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.871e-05/1.108, allocations: 13.2 kB / 1.098 GB, free: 7.773 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.000403/1.108, allocations: 295.6 kB / 1.098 GB, free: 7.625 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.2e-07/1.108, allocations: 0 / 1.098 GB, free: 7.625 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003416/1.109, allocations: 68.12 kB / 1.098 GB, free: 7.605 MB / 0.8419 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.0001595/1.109, allocations: 107.9 kB / 1.098 GB, free: 7.512 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0007337/1.11, allocations: 250.7 kB / 1.098 GB, free: 7.43 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/1.11, allocations: 4 kB / 1.098 GB, free: 7.426 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002937/1.11, allocations: 119.3 kB / 1.099 GB, free: 7.391 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007922/1.111, allocations: 117.8 kB / 1.099 GB, free: 7.355 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001596/1.112, allocations: 0.7722 MB / 1.099 GB, free: 6.871 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005616/1.113, allocations: 0.8195 MB / 1.1 GB, free: 6.164 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001148/1.113, allocations: 38.91 kB / 1.1 GB, free: 6.152 MB / 0.8419 GB Notification: Performance of SimCode: time 3.2e-07/1.113, allocations: 0 / 1.1 GB, free: 6.152 MB / 0.8419 GB Notification: Performance of Templates: time 0.0124/1.126, allocations: 5.325 MB / 1.105 GB, free: 5.543 MB / 0.8419 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=400 -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