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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.0009087/0.0009087, allocations: 99.5 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001095/0.001095, allocations: 185.1 kB / 16.93 MB, free: 6.891 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.486/1.486, allocations: 223.3 MB / 241 MB, free: 5.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.608/2.608, allocations: 390.9 MB / 0.667 GB, free: 2.422 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003744/0.0003746, allocations: 12 kB / 0.8167 GB, free: 13.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8491/0.8495, allocations: 142.4 MB / 0.9557 GB, free: 7.711 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan): time 0.002943/0.8525, allocations: 2.753 MB / 0.9584 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001637/0.8541, allocations: 1.049 MB / 0.9594 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002507/0.8544, allocations: 18.31 kB / 0.9595 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0002272/0.8546, allocations: 65.28 kB / 0.9595 GB, free: 4.613 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002005/0.8549, allocations: 92.92 kB / 0.9596 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006401/0.8555, allocations: 307.8 kB / 0.9599 GB, free: 4.305 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0005301/0.856, allocations: 0.5858 MB / 0.9605 GB, free: 3.941 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003432/0.8564, allocations: 240.2 kB / 0.9607 GB, free: 3.805 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001878/0.8566, allocations: 154.2 kB / 0.9608 GB, free: 3.711 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000181/0.8568, allocations: 161.4 kB / 0.961 GB, free: 3.594 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.299e-05/0.8568, allocations: 9.625 kB / 0.961 GB, free: 3.594 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 3.549e-05/0.8569, allocations: 11 kB / 0.961 GB, free: 3.594 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.068e-05/0.8569, allocations: 62.56 kB / 0.9611 GB, free: 3.543 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001235/0.857, allocations: 210.8 kB / 0.9613 GB, free: 3.367 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003409/0.8574, allocations: 0.5193 MB / 0.9618 GB, free: 2.953 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.8574, allocations: 0 / 0.9618 GB, free: 2.953 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.053e-06/0.8574, allocations: 4 kB / 0.9618 GB, free: 2.949 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.853e-06/0.8574, allocations: 0 / 0.9618 GB, free: 2.949 MB / 0.7169 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.001065/0.8585, allocations: 0.7451 MB / 0.9625 GB, free: 2.312 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.134e-05/0.8585, allocations: 9.812 kB / 0.9625 GB, free: 2.312 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001046/0.8587, allocations: 55.62 kB / 0.9626 GB, free: 2.285 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007079/0.8594, allocations: 0.5026 MB / 0.9631 GB, free: 1.836 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.837e-05/0.8594, allocations: 21.69 kB / 0.9631 GB, free: 1.828 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.812e-05/0.8595, allocations: 31.16 kB / 0.9631 GB, free: 1.816 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006516/0.8601, allocations: 379 kB / 0.9635 GB, free: 1.543 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.246e-05/0.8602, allocations: 9.312 kB / 0.9635 GB, free: 1.535 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.27e-05/0.8602, allocations: 10.28 kB / 0.9635 GB, free: 1.527 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.399e-05/0.8602, allocations: 7.688 kB / 0.9635 GB, free: 1.527 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006125/0.8608, allocations: 269.8 kB / 0.9638 GB, free: 1.402 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001443/0.8623, allocations: 1.441 MB / 0.9652 GB, free: 124 kB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007214/0.863, allocations: 272.1 kB / 0.9654 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003178/0.8634, allocations: 143.7 kB / 0.9656 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.064e-05/0.8634, allocations: 3.062 kB / 0.9656 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.081e-05/0.8634, allocations: 40.81 kB / 0.9656 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=23): time 1.573e-06/0.8634, allocations: 0 / 0.9656 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of matching and sorting (n=23): time 0.000934/0.8644, allocations: 385.6 kB / 0.966 GB, free: 15.66 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.863e-05/0.8644, allocations: 54.91 kB / 0.966 GB, free: 15.6 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004879/0.8649, allocations: 413.3 kB / 0.9664 GB, free: 15.34 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.61e-05/0.865, allocations: 34.89 kB / 0.9665 GB, free: 15.3 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002077/0.8652, allocations: 259 kB / 0.9667 GB, free: 15.07 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 5.992e-05/0.8653, allocations: 68.36 kB / 0.9668 GB, free: 15.01 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.07e-05/0.8653, allocations: 37.42 kB / 0.9668 GB, free: 14.98 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001691/0.8655, allocations: 357.5 kB / 0.9671 GB, free: 14.63 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002729/0.8658, allocations: 98.05 kB / 0.9672 GB, free: 14.58 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003122/0.8661, allocations: 168.2 kB / 0.9674 GB, free: 14.45 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005947/0.8667, allocations: 281.2 kB / 0.9677 GB, free: 14.27 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.8667, allocations: 1 kB / 0.9677 GB, free: 14.27 MB / 0.7325 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0007473/0.8675, allocations: 350.8 kB / 0.968 GB, free: 14.09 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.398e-05/0.8675, allocations: 10.08 kB / 0.968 GB, free: 14.09 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.516e-06/0.8675, allocations: 2.344 kB / 0.968 GB, free: 14.09 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.741e-05/0.8675, allocations: 3.031 kB / 0.968 GB, free: 14.09 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002971/0.8678, allocations: 73.7 kB / 0.9681 GB, free: 14.06 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.732e-05/0.8679, allocations: 10.92 kB / 0.9681 GB, free: 14.05 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000212/0.8681, allocations: 41.52 kB / 0.9681 GB, free: 14.03 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.5e-05/0.8681, allocations: 12.77 kB / 0.9682 GB, free: 14.02 MB / 0.7325 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.0002103/0.8683, allocations: 174.6 kB / 0.9683 GB, free: 13.87 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.683e-05/0.8684, allocations: 47.62 kB / 0.9684 GB, free: 13.84 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001084/0.8685, allocations: 47.88 kB / 0.9684 GB, free: 13.81 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.74e-06/0.8685, allocations: 2.719 kB / 0.9684 GB, free: 13.81 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.186e-06/0.8686, allocations: 3.938 kB / 0.9684 GB, free: 13.8 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.482e-06/0.8686, allocations: 4.906 kB / 0.9684 GB, free: 13.8 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005176/0.8691, allocations: 436.3 kB / 0.9688 GB, free: 13.42 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.599e-06/0.8691, allocations: 4.969 kB / 0.9688 GB, free: 13.42 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002701/0.8694, allocations: 49.58 kB / 0.9689 GB, free: 13.41 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.008e-06/0.8694, allocations: 5 kB / 0.9689 GB, free: 13.4 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.389e-05/0.8694, allocations: 6.094 kB / 0.9689 GB, free: 13.4 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.8694, allocations: 4.844 kB / 0.9689 GB, free: 13.39 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.8694, allocations: 0 / 0.9689 GB, free: 13.39 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001007/0.8704, allocations: 0.5157 MB / 0.9694 GB, free: 13.07 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001589/0.8706, allocations: 137.9 kB / 0.9695 GB, free: 12.93 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.659e-05/0.8707, allocations: 6.062 kB / 0.9695 GB, free: 12.92 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001938/0.8709, allocations: 21.27 kB / 0.9696 GB, free: 12.91 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.927e-05/0.8709, allocations: 10.39 kB / 0.9696 GB, free: 12.91 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.255e-05/0.871, allocations: 16.89 kB / 0.9696 GB, free: 12.89 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0003474/0.8713, allocations: 291.5 kB / 0.9699 GB, free: 12.71 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8713, allocations: 0 / 0.9699 GB, free: 12.71 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003522/0.8717, allocations: 68.84 kB / 0.9699 GB, free: 12.7 MB / 0.7325 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.0001304/0.8718, allocations: 109.1 kB / 0.97 GB, free: 12.6 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0006685/0.8725, allocations: 258 kB / 0.9703 GB, free: 12.49 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.8725, allocations: 0 / 0.9703 GB, free: 12.49 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002894/0.8728, allocations: 120 kB / 0.9704 GB, free: 12.44 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007742/0.8736, allocations: 114.7 kB / 0.9705 GB, free: 12.38 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001522/0.8751, allocations: 0.9395 MB / 0.9714 GB, free: 11.69 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004255/0.8756, allocations: 0.8227 MB / 0.9722 GB, free: 10.93 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001084/0.8757, allocations: 39.05 kB / 0.9723 GB, free: 10.91 MB / 0.7325 GB Notification: Performance of SimCode: time 3.3e-07/0.8757, allocations: 0 / 0.9723 GB, free: 10.91 MB / 0.7325 GB Notification: Performance of Templates: time 0.009158/0.8848, allocations: 5.243 MB / 0.9774 GB, free: 8.215 MB / 0.7325 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