Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001917/0.001917, allocations: 87.69 kB / 20.24 MB, free: 4.188 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002044/0.002044, allocations: 161.3 kB / 23.55 MB, free: 0.875 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.58/1.58, allocations: 177.1 MB / 203.9 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 3.033/3.033, allocations: 377.8 MB / 0.6232 GB, free: 8.527 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|conHeaFan.yHea|conHeaFan.yFan|conHeaFan.TSetRooCoo|conHeaFan.TRoo|conHeaFan.TSetRooHea",fileNamePrefix="Buildings_12_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan") translateModel(Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|conHeaFan.yHea|conHeaFan.yFan|conHeaFan.TSetRooCoo|conHeaFan.TRoo|conHeaFan.TSetRooHea",fileNamePrefix="Buildings_12_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.244e-06/2.244e-06, allocations: 0 / 0.8108 GB, free: 0.9961 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.94e-05/3.164e-05, allocations: 5.562 kB / 0.8108 GB, free: 0.9922 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan): time 0.005172/0.005204, allocations: 3.009 MB / 0.8137 GB, free: 13.99 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.002558/0.007761, allocations: 1.152 MB / 0.8149 GB, free: 12.84 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003012/0.008063, allocations: 27.81 kB / 0.8149 GB, free: 12.81 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0003048/0.008368, allocations: 95.97 kB / 0.815 GB, free: 12.71 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0002721/0.00864, allocations: 115.7 kB / 0.8151 GB, free: 12.61 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008366/0.009476, allocations: 367.3 kB / 0.8154 GB, free: 12.25 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0008308/0.01031, allocations: 0.6518 MB / 0.8161 GB, free: 11.59 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003251/0.01063, allocations: 146.5 kB / 0.8162 GB, free: 11.45 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007742/0.01141, allocations: 331.1 kB / 0.8165 GB, free: 11.12 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002431/0.01165, allocations: 148.2 kB / 0.8167 GB, free: 10.98 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 8.956e-05/0.01174, allocations: 57.16 kB / 0.8167 GB, free: 10.92 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001207/0.01186, allocations: 52 kB / 0.8168 GB, free: 10.87 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.0001217/0.01198, allocations: 115.5 kB / 0.8169 GB, free: 10.76 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.000172/0.01215, allocations: 144.1 kB / 0.817 GB, free: 10.62 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0009059/0.01306, allocations: 0.7124 MB / 0.8177 GB, free: 9.902 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.01306, allocations: 0.5312 kB / 0.8177 GB, free: 9.902 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.273e-06/0.01306, allocations: 0.875 kB / 0.8177 GB, free: 9.902 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 8.106e-06/0.01307, allocations: 0 / 0.8177 GB, free: 9.902 MB / 0.7292 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.001577/0.01465, allocations: 0.9194 MB / 0.8186 GB, free: 8.945 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.874e-05/0.01469, allocations: 8.031 kB / 0.8186 GB, free: 8.938 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003999/0.01509, allocations: 105.2 kB / 0.8187 GB, free: 8.836 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009579/0.01605, allocations: 0.4978 MB / 0.8192 GB, free: 8.32 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.462e-05/0.01608, allocations: 25.03 kB / 0.8192 GB, free: 8.293 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.043e-05/0.01614, allocations: 28.38 kB / 0.8193 GB, free: 8.266 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007941/0.01694, allocations: 457.3 kB / 0.8197 GB, free: 7.766 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.256e-05/0.01695, allocations: 192 / 0.8197 GB, free: 7.766 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.143e-05/0.01698, allocations: 12.38 kB / 0.8197 GB, free: 7.754 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.367e-05/0.01699, allocations: 15.41 kB / 0.8197 GB, free: 7.742 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005851/0.01758, allocations: 234.4 kB / 0.8199 GB, free: 7.512 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002322/0.0199, allocations: 1.804 MB / 0.8217 GB, free: 5.637 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006879/0.02059, allocations: 265.7 kB / 0.822 GB, free: 5.367 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002948/0.02088, allocations: 123.6 kB / 0.8221 GB, free: 5.242 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 3.583e-05/0.02092, allocations: 8 kB / 0.8221 GB, free: 5.234 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.503e-05/0.02095, allocations: 38.61 kB / 0.8221 GB, free: 5.188 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=23): time 1.432e-06/0.02096, allocations: 0 / 0.8221 GB, free: 5.188 MB / 0.7292 GB Notification: Performance of matching and sorting (n=23): time 0.000912/0.02187, allocations: 348.2 kB / 0.8225 GB, free: 4.844 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.259e-05/0.02192, allocations: 59.34 kB / 0.8225 GB, free: 4.773 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007772/0.0227, allocations: 0.6046 MB / 0.8231 GB, free: 4.156 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 3.376e-05/0.02273, allocations: 29.7 kB / 0.8231 GB, free: 4.121 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005564/0.02329, allocations: 348 kB / 0.8235 GB, free: 3.773 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 9.388e-05/0.02338, allocations: 83.33 kB / 0.8235 GB, free: 3.691 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001365/0.02352, allocations: 80.47 kB / 0.8236 GB, free: 3.602 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0003837/0.0239, allocations: 0.5665 MB / 0.8242 GB, free: 3.023 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002314/0.02413, allocations: 81.8 kB / 0.8243 GB, free: 2.945 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003265/0.02446, allocations: 187.4 kB / 0.8244 GB, free: 2.727 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005763/0.02504, allocations: 293.2 kB / 0.8247 GB, free: 2.41 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.941e-06/0.02504, allocations: 4 kB / 0.8247 GB, free: 2.406 MB / 0.7292 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0007356/0.02578, allocations: 335.4 kB / 0.825 GB, free: 2.074 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.979e-05/0.0258, allocations: 6.844 kB / 0.825 GB, free: 2.07 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.178e-06/0.02581, allocations: 4 kB / 0.825 GB, free: 2.066 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.052e-05/0.02583, allocations: 4.875 kB / 0.825 GB, free: 2.062 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002878/0.02611, allocations: 57 kB / 0.8251 GB, free: 2.008 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2e-05/0.02613, allocations: 11.92 kB / 0.8251 GB, free: 1.996 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001972/0.02633, allocations: 31.78 kB / 0.8251 GB, free: 1.965 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.66e-05/0.02636, allocations: 13.09 kB / 0.8252 GB, free: 1.953 MB / 0.7292 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.0002805/0.02664, allocations: 220.5 kB / 0.8254 GB, free: 1.727 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.519e-05/0.02673, allocations: 56.81 kB / 0.8254 GB, free: 1.672 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001223/0.02686, allocations: 48.09 kB / 0.8255 GB, free: 1.629 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.327e-06/0.02686, allocations: 0.6562 kB / 0.8255 GB, free: 1.629 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.02686, allocations: 0 / 0.8255 GB, free: 1.629 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.317e-06/0.02687, allocations: 10.11 kB / 0.8255 GB, free: 1.621 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006478/0.02752, allocations: 440.3 kB / 0.8259 GB, free: 1.156 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.639e-06/0.02753, allocations: 3.984 kB / 0.8259 GB, free: 1.152 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002472/0.02777, allocations: 35.98 kB / 0.8259 GB, free: 1.117 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.581e-06/0.02778, allocations: 7.938 kB / 0.8259 GB, free: 1.109 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.363e-05/0.0278, allocations: 11.2 kB / 0.826 GB, free: 1.102 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.0278, allocations: 0 / 0.826 GB, free: 1.102 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.438e-06/0.02781, allocations: 7.984 kB / 0.826 GB, free: 1.094 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009701/0.02878, allocations: 0.5324 MB / 0.8265 GB, free: 0.543 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001443/0.02892, allocations: 63.62 kB / 0.8265 GB, free: 492 kB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.583e-05/0.02897, allocations: 4 kB / 0.8265 GB, free: 488 kB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000169/0.02914, allocations: 12.92 kB / 0.8266 GB, free: 476 kB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.991e-05/0.02922, allocations: 27.89 kB / 0.8266 GB, free: 448 kB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.781e-05/0.02924, allocations: 5.062 kB / 0.8266 GB, free: 444 kB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0004595/0.0297, allocations: 371 kB / 0.8269 GB, free: 72 kB / 0.7292 GB Notification: Performance of sort global known variables: time 6e-08/0.0297, allocations: 0 / 0.8269 GB, free: 72 kB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003455/0.03004, allocations: 64.69 kB / 0.827 GB, free: 8 kB / 0.7292 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.0001674/0.03021, allocations: 114.6 kB / 0.8271 GB, free: 15.89 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0006105/0.03082, allocations: 253.3 kB / 0.8274 GB, free: 15.64 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.03082, allocations: 0 / 0.8274 GB, free: 15.64 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0002695/0.03109, allocations: 120.3 kB / 0.8275 GB, free: 15.52 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007295/0.03182, allocations: 129 kB / 0.8276 GB, free: 15.41 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001469/0.03329, allocations: 0.7531 MB / 0.8283 GB, free: 14.62 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002654/0.03355, allocations: 216 kB / 0.8285 GB, free: 14.39 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0002036/0.03376, allocations: 55.23 kB / 0.8286 GB, free: 14.33 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.799e-05/0.03386, allocations: 32.5 kB / 0.8286 GB, free: 14.3 MB / 0.7448 GB Notification: Performance of SimCode: time 1.011e-06/0.03386, allocations: 0 / 0.8286 GB, free: 14.3 MB / 0.7448 GB Notification: Performance of Templates: time 0.01042/0.04427, allocations: 4.072 MB / 0.8326 GB, free: 10.36 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe ; mkfifo Buildings_12_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe ; head -c 1048576 < Buildings_12_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe >> ../files/Buildings_12_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.sim & ./Buildings_12_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Air_Systems_SingleZone_VAV_BaseClasses_Validation_ControllerHeatingFan.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.068166848970577]