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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.001252/0.001252, allocations: 101.6 kB / 16.37 MB, free: 6.441 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.001281/0.001281, allocations: 195.3 kB / 17.31 MB, free: 5.812 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.387/1.387, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.448/2.448, allocations: 442.6 MB / 0.7165 GB, free: 14.69 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001283/0.001283, allocations: 64.31 kB / 0.8774 GB, free: 10.95 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3392/0.3405, allocations: 153 MB / 1.027 GB, free: 2.035 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan): time 0.004732/0.3453, allocations: 3.129 MB / 1.03 GB, free: 14.89 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002015/0.3474, allocations: 1.103 MB / 1.031 GB, free: 13.78 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002579/0.3476, allocations: 19.88 kB / 1.031 GB, free: 13.76 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0002738/0.3479, allocations: 83.12 kB / 1.031 GB, free: 13.68 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0002429/0.3482, allocations: 111 kB / 1.031 GB, free: 13.57 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007008/0.3489, allocations: 342.3 kB / 1.031 GB, free: 13.24 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0006482/0.3496, allocations: 0.6325 MB / 1.032 GB, free: 12.61 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003814/0.3499, allocations: 241.9 kB / 1.032 GB, free: 12.37 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002575/0.3502, allocations: 230.9 kB / 1.032 GB, free: 12.14 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002387/0.3505, allocations: 206.9 kB / 1.033 GB, free: 11.94 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 7.025e-05/0.3505, allocations: 52 kB / 1.033 GB, free: 11.89 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 6.519e-05/0.3506, allocations: 52 kB / 1.033 GB, free: 11.84 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 9.862e-05/0.3507, allocations: 119.5 kB / 1.033 GB, free: 11.72 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001854/0.3509, allocations: 234.7 kB / 1.033 GB, free: 11.49 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0005926/0.3515, allocations: 0.6811 MB / 1.034 GB, free: 10.81 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.3515, allocations: 0 / 1.034 GB, free: 10.81 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.583e-06/0.3515, allocations: 0 / 1.034 GB, free: 10.81 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.222e-05/0.3515, allocations: 0 / 1.034 GB, free: 10.81 MB / 0.8106 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.001271/0.3528, allocations: 0.8214 MB / 1.035 GB, free: 9.938 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.062e-05/0.3529, allocations: 12.03 kB / 1.035 GB, free: 9.926 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.95e-05/0.353, allocations: 60.28 kB / 1.035 GB, free: 9.867 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008923/0.3539, allocations: 0.5138 MB / 1.035 GB, free: 9.309 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.531e-05/0.3539, allocations: 25.03 kB / 1.035 GB, free: 9.285 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.326e-05/0.354, allocations: 32.38 kB / 1.035 GB, free: 9.254 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006149/0.3546, allocations: 367.1 kB / 1.036 GB, free: 8.859 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.357e-05/0.3546, allocations: 4 kB / 1.036 GB, free: 8.855 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.891e-05/0.3546, allocations: 8 kB / 1.036 GB, free: 8.848 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.119e-05/0.3547, allocations: 8 kB / 1.036 GB, free: 8.84 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005588/0.3552, allocations: 262 kB / 1.036 GB, free: 8.586 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00156/0.3568, allocations: 1.421 MB / 1.037 GB, free: 7.09 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006411/0.3575, allocations: 270.8 kB / 1.037 GB, free: 6.816 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002652/0.3577, allocations: 136.8 kB / 1.038 GB, free: 6.68 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 3.159e-05/0.3578, allocations: 4 kB / 1.038 GB, free: 6.676 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.451e-05/0.3578, allocations: 38.5 kB / 1.038 GB, free: 6.629 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=23): time 1.463e-06/0.3578, allocations: 0 / 1.038 GB, free: 6.629 MB / 0.8106 GB Notification: Performance of matching and sorting (n=23): time 0.0008209/0.3586, allocations: 354 kB / 1.038 GB, free: 6.277 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.721e-05/0.3587, allocations: 55.41 kB / 1.038 GB, free: 6.211 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004306/0.3591, allocations: 417.9 kB / 1.038 GB, free: 5.797 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.74e-05/0.3592, allocations: 33.7 kB / 1.038 GB, free: 5.758 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001809/0.3593, allocations: 260.1 kB / 1.039 GB, free: 5.496 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 6.232e-05/0.3594, allocations: 82.83 kB / 1.039 GB, free: 5.414 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.243e-05/0.3595, allocations: 57.89 kB / 1.039 GB, free: 5.348 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001389/0.3596, allocations: 358.7 kB / 1.039 GB, free: 4.988 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002274/0.3599, allocations: 92.52 kB / 1.039 GB, free: 4.898 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000271/0.3602, allocations: 169.2 kB / 1.039 GB, free: 4.707 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004764/0.3606, allocations: 269.5 kB / 1.04 GB, free: 4.418 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.756e-06/0.3607, allocations: 0 / 1.04 GB, free: 4.418 MB / 0.8106 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006035/0.3613, allocations: 339.8 kB / 1.04 GB, free: 4.082 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.998e-05/0.3613, allocations: 8 kB / 1.04 GB, free: 4.074 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/0.3613, allocations: 4 kB / 1.04 GB, free: 4.07 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.093e-05/0.3613, allocations: 12.23 kB / 1.04 GB, free: 4.059 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002696/0.3616, allocations: 59.91 kB / 1.04 GB, free: 4 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.566e-06/0.3616, allocations: 0 / 1.04 GB, free: 4 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001802/0.3618, allocations: 31.77 kB / 1.04 GB, free: 3.969 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.634e-05/0.3619, allocations: 15.98 kB / 1.04 GB, free: 3.953 MB / 0.8106 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.0001816/0.362, allocations: 181.7 kB / 1.04 GB, free: 3.766 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.431e-05/0.3621, allocations: 43.44 kB / 1.04 GB, free: 3.723 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.51e-05/0.3622, allocations: 47.98 kB / 1.04 GB, free: 3.68 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.041e-06/0.3622, allocations: 3.984 kB / 1.04 GB, free: 3.676 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.134e-06/0.3622, allocations: 0 / 1.04 GB, free: 3.676 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.613e-06/0.3622, allocations: 7.938 kB / 1.04 GB, free: 3.668 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004476/0.3627, allocations: 425.2 kB / 1.041 GB, free: 3.203 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-06/0.3627, allocations: 0 / 1.041 GB, free: 3.203 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002578/0.363, allocations: 55.89 kB / 1.041 GB, free: 3.148 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.388e-06/0.363, allocations: 3.938 kB / 1.041 GB, free: 3.145 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.768e-05/0.363, allocations: 7.938 kB / 1.041 GB, free: 3.137 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.363, allocations: 4 kB / 1.041 GB, free: 3.133 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.363, allocations: 0 / 1.041 GB, free: 3.133 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008671/0.3639, allocations: 0.5053 MB / 1.041 GB, free: 2.613 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001504/0.3641, allocations: 148.5 kB / 1.042 GB, free: 2.449 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.11e-05/0.3641, allocations: 0 / 1.042 GB, free: 2.449 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001957/0.3643, allocations: 15.98 kB / 1.042 GB, free: 2.434 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.235e-05/0.3644, allocations: 11.98 kB / 1.042 GB, free: 2.422 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.787e-05/0.3644, allocations: 11.92 kB / 1.042 GB, free: 2.41 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0003062/0.3647, allocations: 295.1 kB / 1.042 GB, free: 2.121 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3647, allocations: 0 / 1.042 GB, free: 2.121 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0003165/0.365, allocations: 59.84 kB / 1.042 GB, free: 2.062 MB / 0.8106 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.0001159/0.3652, allocations: 103.2 kB / 1.042 GB, free: 1.949 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0005614/0.3657, allocations: 235.8 kB / 1.042 GB, free: 1.719 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/0.3657, allocations: 0.5 kB / 1.042 GB, free: 1.719 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0002404/0.366, allocations: 123.8 kB / 1.042 GB, free: 1.598 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006222/0.3666, allocations: 127.9 kB / 1.042 GB, free: 1.48 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00127/0.3679, allocations: 0.7261 MB / 1.043 GB, free: 0.7227 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003735/0.3683, allocations: 0.8155 MB / 1.044 GB, free: 15.88 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001803/0.3685, allocations: 51.25 kB / 1.044 GB, free: 15.83 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.132e-05/0.3686, allocations: 31.42 kB / 1.044 GB, free: 15.8 MB / 0.8262 GB Notification: Performance of SimCode: time 2e-07/0.3686, allocations: 0 / 1.044 GB, free: 15.8 MB / 0.8262 GB Notification: Performance of Templates: time 0.007762/0.3763, allocations: 3.82 MB / 1.048 GB, free: 12.07 MB / 0.8262 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 -s cvode -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