Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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.Utilities.Comfort.Validation.FangerCBE,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|PMVRef.y.1.|com.PMV",fileNamePrefix="Buildings_10_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_10_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.001147/0.001147, allocations: 115.3 kB / 16.37 MB, free: 6 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.001351/0.001351, allocations: 193.3 kB / 17.31 MB, free: 5.613 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.312/1.312, 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 10.1.0-maint.10.0.x/package.mo): time 2.384/2.384, allocations: 437.1 MB / 0.7112 GB, free: 4.379 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001234/0.001234, allocations: 59.94 kB / 0.8707 GB, free: 1.488 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.277/0.2783, allocations: 151.6 MB / 1.019 GB, free: 9.887 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Validation.FangerCBE): time 0.00343/0.2817, allocations: 2.203 MB / 1.021 GB, free: 7.668 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.6767/0.9585, allocations: 150.6 MB / 1.168 GB, free: 2.488 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002754/0.9588, allocations: 6.844 kB / 1.168 GB, free: 2.484 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.000955/0.9598, allocations: 0.7748 MB / 1.169 GB, free: 2.41 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.0007903/0.9606, allocations: 492.1 kB / 1.169 GB, free: 2.312 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.001245/0.9619, allocations: 409.7 kB / 1.17 GB, free: 2.109 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.0008076/0.9627, allocations: 0.571 MB / 1.17 GB, free: 1.906 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002049/0.9629, allocations: 80.28 kB / 1.17 GB, free: 1.871 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00127/0.9642, allocations: 363.4 kB / 1.171 GB, free: 1.777 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006657/0.9649, allocations: 476.9 kB / 1.171 GB, free: 1.691 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 7.766e-05/0.965, allocations: 23.72 kB / 1.171 GB, free: 1.691 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006841/0.9656, allocations: 303.8 kB / 1.171 GB, free: 1.605 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0002141/0.9659, allocations: 184.4 kB / 1.171 GB, free: 1.531 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.000306/0.9662, allocations: 263.2 kB / 1.172 GB, free: 1.34 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.001072/0.9673, allocations: 0.7426 MB / 1.172 GB, free: 0.8828 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.9673, allocations: 0 / 1.172 GB, free: 0.8828 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.303e-06/0.9673, allocations: 0 / 1.172 GB, free: 0.8828 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 2.057e-05/0.9673, allocations: 1.281 kB / 1.172 GB, free: 0.8828 MB / 0.8731 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.001928/0.9693, allocations: 1.07 MB / 1.174 GB, free: 15.99 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.681e-05/0.9693, allocations: 9.609 kB / 1.174 GB, free: 15.99 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001708/0.971, allocations: 196.2 kB / 1.174 GB, free: 15.91 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007327/0.9718, allocations: 497.4 kB / 1.174 GB, free: 15.48 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.57e-05/0.9718, allocations: 16.38 kB / 1.174 GB, free: 15.47 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.428e-05/0.9719, allocations: 17.38 kB / 1.174 GB, free: 15.46 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000975/0.9728, allocations: 331.6 kB / 1.175 GB, free: 15.24 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.148e-05/0.9729, allocations: 3.938 kB / 1.175 GB, free: 15.24 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.281e-05/0.9729, allocations: 6.312 kB / 1.175 GB, free: 15.23 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.115e-06/0.9729, allocations: 5 kB / 1.175 GB, free: 15.23 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001366/0.9743, allocations: 341.8 kB / 1.175 GB, free: 15.07 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002401/0.9767, allocations: 1.105 MB / 1.176 GB, free: 14.2 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001192/0.9779, allocations: 406.7 kB / 1.176 GB, free: 13.97 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007122/0.9786, allocations: 208.9 kB / 1.177 GB, free: 13.86 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 4.516e-05/0.9787, allocations: 5.5 kB / 1.177 GB, free: 13.86 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008407/0.9795, allocations: 316 kB / 1.177 GB, free: 13.64 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=30): time 2.104e-06/0.9796, allocations: 0 / 1.177 GB, free: 13.64 MB / 0.8887 GB Notification: Performance of matching and sorting (n=30): time 0.009265/0.9888, allocations: 1.215 MB / 1.178 GB, free: 12.99 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.543e-05/0.9889, allocations: 88.86 kB / 1.178 GB, free: 12.89 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001849/0.9908, allocations: 1.343 MB / 1.179 GB, free: 12.28 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 8.071e-05/0.9909, allocations: 33.02 kB / 1.179 GB, free: 12.25 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.000313/0.9912, allocations: 364.9 kB / 1.18 GB, free: 11.93 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001317/0.9913, allocations: 103.3 kB / 1.18 GB, free: 11.84 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001441/0.9915, allocations: 64.02 kB / 1.18 GB, free: 11.8 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001023/0.9916, allocations: 320.3 kB / 1.18 GB, free: 11.48 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006476/0.9923, allocations: 173 kB / 1.18 GB, free: 11.4 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006981/0.993, allocations: 229.8 kB / 1.181 GB, free: 11.25 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001355/0.9943, allocations: 400.2 kB / 1.181 GB, free: 11.03 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.071e-06/0.9943, allocations: 3.938 kB / 1.181 GB, free: 11.02 MB / 0.8887 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.004241/0.9986, allocations: 0.7065 MB / 1.182 GB, free: 10.66 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 3.165e-05/0.9987, allocations: 5.938 kB / 1.182 GB, free: 10.66 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.243e-05/0.9987, allocations: 2.5 kB / 1.182 GB, free: 10.66 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001155/0.9999, allocations: 180.3 kB / 1.182 GB, free: 10.57 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004656/1, allocations: 66.92 kB / 1.182 GB, free: 10.55 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008106/1.008, allocations: 2.304 MB / 1.184 GB, free: 8.637 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007228/1.009, allocations: 36.95 kB / 1.184 GB, free: 8.617 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.607e-05/1.009, allocations: 17.83 kB / 1.184 GB, free: 8.609 MB / 0.8887 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.000641/1.01, allocations: 295.5 kB / 1.185 GB, free: 8.422 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002498/1.01, allocations: 82.94 kB / 1.185 GB, free: 8.375 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004258/1.015, allocations: 0.7566 MB / 1.185 GB, free: 7.965 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.543e-06/1.015, allocations: 6.656 kB / 1.185 GB, free: 7.961 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/1.015, allocations: 1.125 kB / 1.185 GB, free: 7.961 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.354e-06/1.015, allocations: 5.047 kB / 1.185 GB, free: 7.957 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008669/1.015, allocations: 0.5867 MB / 1.186 GB, free: 7.496 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.007e-06/1.015, allocations: 0 / 1.186 GB, free: 7.496 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002975/1.016, allocations: 49.84 kB / 1.186 GB, free: 7.484 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009665/1.017, allocations: 175.1 kB / 1.186 GB, free: 7.398 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.421e-05/1.017, allocations: 10.67 kB / 1.186 GB, free: 7.391 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007323/1.024, allocations: 2.294 MB / 1.188 GB, free: 5.488 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.639e-06/1.024, allocations: 6.5 kB / 1.188 GB, free: 5.484 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003948/1.028, allocations: 0.7541 MB / 1.189 GB, free: 5.07 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002323/1.028, allocations: 150.7 kB / 1.189 GB, free: 4.922 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001106/1.028, allocations: 11.97 kB / 1.189 GB, free: 4.914 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004596/1.029, allocations: 29.31 kB / 1.189 GB, free: 4.898 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.659e-05/1.029, allocations: 22.62 kB / 1.189 GB, free: 4.887 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.022e-05/1.029, allocations: 22.62 kB / 1.189 GB, free: 4.875 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.001158/1.03, allocations: 0.9984 MB / 1.19 GB, free: 4.418 MB / 0.8887 GB Notification: Performance of sort global known variables: time 2.91e-07/1.03, allocations: 0 / 1.19 GB, free: 4.418 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0005742/1.031, allocations: 114 kB / 1.19 GB, free: 4.398 MB / 0.8887 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.001076/1.032, allocations: 436.9 kB / 1.191 GB, free: 4.184 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.001767/1.034, allocations: 0.5441 MB / 1.191 GB, free: 3.867 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/1.034, allocations: 4 kB / 1.191 GB, free: 3.863 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0009708/1.035, allocations: 366.9 kB / 1.192 GB, free: 3.625 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006592/1.035, allocations: 131 kB / 1.192 GB, free: 3.547 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002497/1.038, allocations: 1.577 MB / 1.193 GB, free: 2.754 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005419/1.038, allocations: 0.963 MB / 1.194 GB, free: 1.93 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0003042/1.039, allocations: 92.22 kB / 1.194 GB, free: 1.887 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001363/1.039, allocations: 47.12 kB / 1.195 GB, free: 1.867 MB / 0.8887 GB Notification: Performance of SimCode: time 4.11e-07/1.039, allocations: 0 / 1.195 GB, free: 1.867 MB / 0.8887 GB Notification: Performance of Templates: time 0.01737/1.056, allocations: 10.19 MB / 1.204 GB, free: 10.35 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Utilities.Comfort.Validation.FangerCBE.makefile (rm -f Buildings_10_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe ; mkfifo Buildings_10_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe >> ../files/Buildings_10_Buildings.Utilities.Comfort.Validation.FangerCBE.sim & ./Buildings_10_Buildings.Utilities.Comfort.Validation.FangerCBE -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Comfort.Validation.FangerCBE_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Comfort_Validation_FangerCBE.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Comfort.Validation.FangerCBE.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches