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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001395/0.001395, allocations: 102.3 kB / 16.4 MB, free: 6.461 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.001422/0.001422, allocations: 192.2 kB / 17.34 MB, free: 5.719 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.331/1.331, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.619/2.619, allocations: 461.9 MB / 0.7355 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001383/0.001383, allocations: 63.89 kB / 1.055 GB, free: 7.707 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7619/0.7633, allocations: 157.4 MB / 1.208 GB, free: 13.6 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Validation.FangerCBE): time 0.003527/0.7668, allocations: 2.21 MB / 1.211 GB, free: 11.38 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.1551/0.922, allocations: 150.5 MB / 1.358 GB, free: 4.254 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002363/0.9222, allocations: 7.938 kB / 1.358 GB, free: 4.246 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0009457/0.9232, allocations: 0.7834 MB / 1.358 GB, free: 3.461 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0007343/0.924, allocations: 490.6 kB / 1.359 GB, free: 2.98 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.001058/0.9251, allocations: 398 kB / 1.359 GB, free: 2.594 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0006985/0.9258, allocations: 0.5694 MB / 1.36 GB, free: 2.023 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002095/0.926, allocations: 80.7 kB / 1.36 GB, free: 1.941 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001189/0.9272, allocations: 371.1 kB / 1.36 GB, free: 1.59 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005813/0.9278, allocations: 479.7 kB / 1.361 GB, free: 1.121 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 7.118e-05/0.9279, allocations: 24 kB / 1.361 GB, free: 1.098 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006278/0.9285, allocations: 299.6 kB / 1.361 GB, free: 0.8047 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0001625/0.9287, allocations: 195.6 kB / 1.361 GB, free: 0.6133 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0002134/0.9289, allocations: 254 kB / 1.361 GB, free: 372 kB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0009417/0.9298, allocations: 0.7412 MB / 1.362 GB, free: 15.62 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.9299, allocations: 0 / 1.362 GB, free: 15.62 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.243e-06/0.9299, allocations: 0 / 1.362 GB, free: 15.62 MB / 1.092 GB Notification: Performance of Transformations before backend: time 1.401e-05/0.9299, allocations: 4 kB / 1.362 GB, free: 15.62 MB / 1.092 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.001654/0.9315, allocations: 1.076 MB / 1.363 GB, free: 14.49 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 3.544e-05/0.9316, allocations: 8.031 kB / 1.363 GB, free: 14.48 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001614/0.9332, allocations: 194.7 kB / 1.363 GB, free: 14.29 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006164/0.9338, allocations: 0.4909 MB / 1.364 GB, free: 13.76 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.284e-05/0.9339, allocations: 12.38 kB / 1.364 GB, free: 13.75 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.883e-05/0.9339, allocations: 20 kB / 1.364 GB, free: 13.73 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009581/0.9349, allocations: 331.1 kB / 1.364 GB, free: 13.39 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.22e-05/0.9349, allocations: 4 kB / 1.364 GB, free: 13.39 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.609e-05/0.935, allocations: 8 kB / 1.364 GB, free: 13.38 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.324e-06/0.935, allocations: 4 kB / 1.364 GB, free: 13.38 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001316/0.9363, allocations: 340.7 kB / 1.364 GB, free: 13.04 MB / 1.092 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002155/0.9385, allocations: 1.113 MB / 1.366 GB, free: 11.88 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001147/0.9396, allocations: 401.4 kB / 1.366 GB, free: 11.46 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006869/0.9403, allocations: 205.6 kB / 1.366 GB, free: 11.26 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 4.082e-05/0.9404, allocations: 8 kB / 1.366 GB, free: 11.25 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008463/0.9412, allocations: 314.3 kB / 1.366 GB, free: 10.93 MB / 1.092 GB Notification: Performance of pre-optimization done (n=30): time 1.903e-06/0.9412, allocations: 0 / 1.366 GB, free: 10.93 MB / 1.092 GB Notification: Performance of matching and sorting (n=30): time 0.00908/0.9503, allocations: 1.216 MB / 1.368 GB, free: 9.684 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.433e-05/0.9504, allocations: 81.11 kB / 1.368 GB, free: 9.586 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001347/0.9518, allocations: 1.345 MB / 1.369 GB, free: 8.23 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 5.717e-05/0.9518, allocations: 41.7 kB / 1.369 GB, free: 8.184 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002798/0.9521, allocations: 360.5 kB / 1.369 GB, free: 7.828 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001068/0.9522, allocations: 106.6 kB / 1.37 GB, free: 7.723 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001224/0.9524, allocations: 61.67 kB / 1.37 GB, free: 7.656 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001056/0.9525, allocations: 321.9 kB / 1.37 GB, free: 7.336 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006498/0.9531, allocations: 171.9 kB / 1.37 GB, free: 7.168 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006864/0.9538, allocations: 229.8 kB / 1.37 GB, free: 6.922 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001317/0.9552, allocations: 396 kB / 1.371 GB, free: 6.52 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.337e-06/0.9552, allocations: 0 / 1.371 GB, free: 6.52 MB / 1.092 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.003982/0.9592, allocations: 0.7112 MB / 1.371 GB, free: 5.801 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 1.768e-05/0.9592, allocations: 8.062 kB / 1.371 GB, free: 5.793 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.143e-05/0.9592, allocations: 7.984 kB / 1.371 GB, free: 5.785 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001031/0.9602, allocations: 176.6 kB / 1.372 GB, free: 5.609 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003468/0.9606, allocations: 63.89 kB / 1.372 GB, free: 5.547 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007663/0.9683, allocations: 2.295 MB / 1.374 GB, free: 3.109 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005071/0.9688, allocations: 43.78 kB / 1.374 GB, free: 3.066 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.562e-05/0.9689, allocations: 16.3 kB / 1.374 GB, free: 3.051 MB / 1.092 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.0003587/0.9692, allocations: 302.2 kB / 1.374 GB, free: 2.746 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001248/0.9694, allocations: 82.91 kB / 1.374 GB, free: 2.664 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00401/0.9734, allocations: 0.7545 MB / 1.375 GB, free: 1.898 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.79e-06/0.9734, allocations: 4 kB / 1.375 GB, free: 1.895 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.159e-06/0.9734, allocations: 4 kB / 1.375 GB, free: 1.891 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.028e-05/0.9734, allocations: 7.984 kB / 1.375 GB, free: 1.883 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000635/0.9741, allocations: 0.5661 MB / 1.376 GB, free: 1.27 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.9741, allocations: 0 / 1.376 GB, free: 1.27 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002863/0.9744, allocations: 47.97 kB / 1.376 GB, free: 1.223 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009649/0.9753, allocations: 180.6 kB / 1.376 GB, free: 1.043 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.817e-05/0.9754, allocations: 15.92 kB / 1.376 GB, free: 1.027 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007371/0.9828, allocations: 2.295 MB / 1.378 GB, free: 14.59 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.9828, allocations: 11.81 kB / 1.378 GB, free: 14.57 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003917/0.9867, allocations: 0.759 MB / 1.379 GB, free: 13.79 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001207/0.9869, allocations: 144 kB / 1.379 GB, free: 13.63 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.239e-05/0.9869, allocations: 11.94 kB / 1.379 GB, free: 13.62 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004269/0.9874, allocations: 27.97 kB / 1.379 GB, free: 13.59 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.867e-05/0.9875, allocations: 23.97 kB / 1.379 GB, free: 13.57 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.731e-05/0.9875, allocations: 23.97 kB / 1.379 GB, free: 13.54 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.0009603/0.9885, allocations: 0.9949 MB / 1.38 GB, free: 12.55 MB / 1.107 GB Notification: Performance of sort global known variables: time 3e-07/0.9885, allocations: 0 / 1.38 GB, free: 12.55 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.0004891/0.989, allocations: 112 kB / 1.38 GB, free: 12.45 MB / 1.107 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.001037/0.99, allocations: 433.9 kB / 1.381 GB, free: 12.18 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.001766/0.9918, allocations: 0.5452 MB / 1.381 GB, free: 11.62 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.9918, allocations: 3.938 kB / 1.381 GB, free: 11.61 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.000964/0.9928, allocations: 374.6 kB / 1.381 GB, free: 11.23 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006593/0.9935, allocations: 123.2 kB / 1.382 GB, free: 11.12 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002496/0.996, allocations: 1.629 MB / 1.383 GB, free: 9.449 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004992/0.9965, allocations: 0.9684 MB / 1.384 GB, free: 8.453 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001563/0.9967, allocations: 43.41 kB / 1.384 GB, free: 8.41 MB / 1.107 GB Notification: Performance of SimCode: time 2.7e-07/0.9967, allocations: 4 kB / 1.384 GB, free: 8.406 MB / 1.107 GB Notification: Performance of Templates: time 0.01598/1.013, allocations: 11.14 MB / 1.395 GB, free: 13.28 MB / 1.123 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 -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