Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Comfort.Validation.FangerCBE.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.Utilities.Comfort.Validation.FangerCBE,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|PMVRef.y.1.|com.PMV",fileNamePrefix="Buildings_latest_Buildings.Utilities.Comfort.Validation.FangerCBE") translateModel(Buildings.Utilities.Comfort.Validation.FangerCBE,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|PMVRef.y.1.|com.PMV",fileNamePrefix="Buildings_latest_Buildings.Utilities.Comfort.Validation.FangerCBE") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00117/0.00117, allocations: 103.4 kB / 16.35 MB, free: 6.289 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.001126/0.001126, allocations: 193.4 kB / 17.29 MB, free: 5.863 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.321/1.321, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.427/2.427, allocations: 442.6 MB / 0.7165 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001203/0.001204, allocations: 59.12 kB / 0.8773 GB, free: 10.98 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2623/0.2636, allocations: 153 MB / 1.027 GB, free: 2.047 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Validation.FangerCBE): time 0.003397/0.267, allocations: 2.213 MB / 1.029 GB, free: 15.82 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.6077/0.8747, allocations: 150.5 MB / 1.176 GB, free: 8.984 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001851/0.8749, allocations: 6.5 kB / 1.176 GB, free: 8.98 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.000826/0.8758, allocations: 0.7835 MB / 1.177 GB, free: 8.898 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0006209/0.8765, allocations: 494.5 kB / 1.177 GB, free: 8.73 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009175/0.8774, allocations: 405.7 kB / 1.178 GB, free: 8.441 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0005559/0.8779, allocations: 0.563 MB / 1.178 GB, free: 8.145 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001787/0.8781, allocations: 77.89 kB / 1.178 GB, free: 8.102 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008964/0.879, allocations: 362.1 kB / 1.178 GB, free: 7.934 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004809/0.8795, allocations: 487.8 kB / 1.179 GB, free: 7.734 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 4.944e-05/0.8796, allocations: 23.31 kB / 1.179 GB, free: 7.734 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005356/0.8801, allocations: 296.4 kB / 1.179 GB, free: 7.598 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0001545/0.8803, allocations: 191.2 kB / 1.179 GB, free: 7.48 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0002078/0.8805, allocations: 265.7 kB / 1.18 GB, free: 7.273 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0007533/0.8813, allocations: 0.7324 MB / 1.18 GB, free: 6.816 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.8813, allocations: 1.281 kB / 1.18 GB, free: 6.816 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.122e-06/0.8813, allocations: 0 / 1.18 GB, free: 6.816 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 9.027e-06/0.8813, allocations: 0 / 1.18 GB, free: 6.816 MB / 0.8887 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.001529/0.8828, allocations: 1.078 MB / 1.181 GB, free: 5.922 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.45e-05/0.8829, allocations: 9.125 kB / 1.181 GB, free: 5.922 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001513/0.8844, allocations: 193 kB / 1.182 GB, free: 5.836 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005887/0.885, allocations: 497.6 kB / 1.182 GB, free: 5.406 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.115e-05/0.885, allocations: 13 kB / 1.182 GB, free: 5.402 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.4e-05/0.8851, allocations: 21.34 kB / 1.182 GB, free: 5.395 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008632/0.886, allocations: 326.5 kB / 1.182 GB, free: 5.176 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.125e-05/0.886, allocations: 9.094 kB / 1.182 GB, free: 5.168 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.381e-05/0.886, allocations: 13.17 kB / 1.182 GB, free: 5.156 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.134e-06/0.886, allocations: 4.562 kB / 1.182 GB, free: 5.156 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001241/0.8873, allocations: 338.9 kB / 1.183 GB, free: 4.996 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002005/0.8893, allocations: 1.12 MB / 1.184 GB, free: 4.105 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001055/0.8904, allocations: 399.2 kB / 1.184 GB, free: 3.887 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006352/0.891, allocations: 205.2 kB / 1.184 GB, free: 3.777 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 4.046e-05/0.8911, allocations: 4.656 kB / 1.184 GB, free: 3.777 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007963/0.8919, allocations: 322.3 kB / 1.185 GB, free: 3.555 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=30): time 1.543e-06/0.8919, allocations: 0 / 1.185 GB, free: 3.555 MB / 0.8887 GB Notification: Performance of matching and sorting (n=30): time 0.008648/0.9005, allocations: 1.221 MB / 1.186 GB, free: 2.902 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.44e-05/0.9006, allocations: 83.53 kB / 1.186 GB, free: 2.805 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001368/0.902, allocations: 1.338 MB / 1.187 GB, free: 2.195 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 4.382e-05/0.9021, allocations: 32.45 kB / 1.187 GB, free: 2.16 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002896/0.9023, allocations: 369.9 kB / 1.188 GB, free: 1.844 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 8.028e-05/0.9024, allocations: 96.39 kB / 1.188 GB, free: 1.762 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001174/0.9026, allocations: 66.42 kB / 1.188 GB, free: 1.715 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001061/0.9027, allocations: 318.1 kB / 1.188 GB, free: 1.402 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006233/0.9033, allocations: 170.1 kB / 1.188 GB, free: 1.32 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006581/0.904, allocations: 235.4 kB / 1.189 GB, free: 1.164 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001247/0.9052, allocations: 400.2 kB / 1.189 GB, free: 0.9414 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.99e-06/0.9052, allocations: 5.656 kB / 1.189 GB, free: 0.9375 MB / 0.8887 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.003883/0.9091, allocations: 0.7109 MB / 1.19 GB, free: 0.5664 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.647e-05/0.9092, allocations: 6.656 kB / 1.19 GB, free: 0.5664 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/0.9092, allocations: 8.047 kB / 1.19 GB, free: 0.5586 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009985/0.9102, allocations: 178.2 kB / 1.19 GB, free: 484 kB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003198/0.9105, allocations: 65.05 kB / 1.19 GB, free: 464 kB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007274/0.9178, allocations: 2.298 MB / 1.192 GB, free: 14.55 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005061/0.9183, allocations: 35.52 kB / 1.192 GB, free: 14.53 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.727e-05/0.9184, allocations: 18.25 kB / 1.192 GB, free: 14.52 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.inp.nextTimeEvent,$whenCondition2,inp.nextTimeEventScaled,$PRE.inp.nextTimeEventScaled,inp.nextTimeEvent,$PRE.PMVRef.nextTimeEvent,$whenCondition1,PMVRef.nextTimeEventScaled,$PRE.PMVRef.nextTimeEventScaled,PMVRef.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0003518/0.9187, allocations: 295 kB / 1.193 GB, free: 14.33 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001005/0.9188, allocations: 83.12 kB / 1.193 GB, free: 14.29 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003791/0.9226, allocations: 0.7535 MB / 1.193 GB, free: 13.88 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.562e-06/0.9226, allocations: 10.86 kB / 1.193 GB, free: 13.88 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.805e-06/0.9226, allocations: 0 / 1.193 GB, free: 13.88 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.019e-06/0.9227, allocations: 2.156 kB / 1.193 GB, free: 13.88 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005996/0.9233, allocations: 0.5722 MB / 1.194 GB, free: 13.43 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.536e-06/0.9233, allocations: 3.984 kB / 1.194 GB, free: 13.43 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002638/0.9235, allocations: 53.09 kB / 1.194 GB, free: 13.41 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000902/0.9245, allocations: 175.7 kB / 1.194 GB, free: 13.33 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.948e-05/0.9245, allocations: 16.94 kB / 1.194 GB, free: 13.32 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007035/0.9316, allocations: 2.289 MB / 1.196 GB, free: 11.41 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.927e-06/0.9316, allocations: 6.562 kB / 1.196 GB, free: 11.41 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003763/0.9353, allocations: 0.7664 MB / 1.197 GB, free: 10.98 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001563/0.9355, allocations: 147.7 kB / 1.197 GB, free: 10.84 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.909e-05/0.9356, allocations: 14.58 kB / 1.197 GB, free: 10.82 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004096/0.936, allocations: 23.36 kB / 1.197 GB, free: 10.82 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.741e-05/0.9361, allocations: 21.69 kB / 1.197 GB, free: 10.8 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.548e-05/0.9361, allocations: 22.09 kB / 1.197 GB, free: 10.79 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0009037/0.937, allocations: 0.9984 MB / 1.198 GB, free: 10.34 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.31e-07/0.9371, allocations: 0 / 1.198 GB, free: 10.34 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0004711/0.9375, allocations: 116.9 kB / 1.198 GB, free: 10.31 MB / 0.9044 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,inp.nextTimeEvent,inp.nextTimeEventScaled,$whenCondition1,PMVRef.nextTimeEvent,PMVRef.nextTimeEventScaled) * Number of discrete states: 4 (PMVRef.nextTimeEventScaled,PMVRef.nextTimeEvent,inp.nextTimeEventScaled,inp.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009608/0.9385, allocations: 435.7 kB / 1.199 GB, free: 10.1 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.001687/0.9402, allocations: 0.5535 MB / 1.199 GB, free: 9.773 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.9402, allocations: 0 / 1.199 GB, free: 9.773 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0008873/0.9411, allocations: 358.4 kB / 1.2 GB, free: 9.543 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006/0.9417, allocations: 119.5 kB / 1.2 GB, free: 9.473 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002185/0.9439, allocations: 1.576 MB / 1.201 GB, free: 8.676 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005266/0.9445, allocations: 0.9717 MB / 1.202 GB, free: 7.844 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0002673/0.9447, allocations: 84.64 kB / 1.202 GB, free: 7.809 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001155/0.9449, allocations: 47.03 kB / 1.202 GB, free: 7.789 MB / 0.9044 GB Notification: Performance of SimCode: time 3.71e-07/0.9449, allocations: 0 / 1.202 GB, free: 7.789 MB / 0.9044 GB Notification: Performance of Templates: time 0.01537/0.9602, allocations: 10.2 MB / 1.212 GB, free: 14.77 MB / 0.92 GB make -j1 -f Buildings_latest_Buildings.Utilities.Comfort.Validation.FangerCBE.makefile (rm -f Buildings_latest_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe >> ../files/Buildings_latest_Buildings.Utilities.Comfort.Validation.FangerCBE.sim & ./Buildings_latest_Buildings.Utilities.Comfort.Validation.FangerCBE -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Comfort.Validation.FangerCBE_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Comfort_Validation_FangerCBE.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Comfort.Validation.FangerCBE.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches