Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.00511/0.00511, allocations: 99.73 kB / 15.73 MB, free: 6.055 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.00117/0.00117, allocations: 194.7 kB / 16.67 MB, free: 5.977 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.28/1.28, allocations: 222.9 MB / 240.4 MB, free: 4.297 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.252/2.252, allocations: 390.2 MB / 0.6648 GB, free: 208 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001137/0.001137, allocations: 61.75 kB / 0.9508 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3244/0.3255, allocations: 140.4 MB / 1.088 GB, free: 1.555 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Validation.FangerCBE): time 0.003719/0.3293, allocations: 2.195 MB / 1.09 GB, free: 15.34 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.1632/0.4925, allocations: 150.6 MB / 1.237 GB, free: 8.199 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002861/0.4928, allocations: 11.94 kB / 1.237 GB, free: 8.188 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001004/0.4939, allocations: 0.7835 MB / 1.238 GB, free: 7.402 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0008706/0.4948, allocations: 494.6 kB / 1.238 GB, free: 6.918 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001235/0.4961, allocations: 411.8 kB / 1.239 GB, free: 6.52 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0008309/0.4969, allocations: 0.5616 MB / 1.239 GB, free: 5.953 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002182/0.4972, allocations: 92.62 kB / 1.239 GB, free: 5.867 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001332/0.4985, allocations: 355.2 kB / 1.24 GB, free: 5.531 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006061/0.4991, allocations: 479.7 kB / 1.24 GB, free: 5.062 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 8.344e-05/0.4992, allocations: 24 kB / 1.24 GB, free: 5.039 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006528/0.4999, allocations: 299.6 kB / 1.24 GB, free: 4.746 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002017/0.5001, allocations: 187.7 kB / 1.241 GB, free: 4.562 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002545/0.5004, allocations: 261.9 kB / 1.241 GB, free: 4.305 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001311/0.5017, allocations: 0.7427 MB / 1.242 GB, free: 3.559 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 7.995e-06/0.5017, allocations: 0 / 1.242 GB, free: 3.559 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.965e-06/0.5017, allocations: 0 / 1.242 GB, free: 3.559 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 3.084e-05/0.5017, allocations: 0 / 1.242 GB, free: 3.559 MB / 0.9981 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.002685/0.5044, allocations: 1.111 MB / 1.243 GB, free: 2.395 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.597e-05/0.5045, allocations: 8.031 kB / 1.243 GB, free: 2.387 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00166/0.5062, allocations: 195.3 kB / 1.243 GB, free: 2.195 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009746/0.5072, allocations: 0.5034 MB / 1.243 GB, free: 1.652 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.344e-05/0.5072, allocations: 16.31 kB / 1.243 GB, free: 1.637 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.326e-05/0.5073, allocations: 20 kB / 1.243 GB, free: 1.617 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001089/0.5084, allocations: 334.9 kB / 1.244 GB, free: 1.273 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.527e-05/0.5084, allocations: 0 / 1.244 GB, free: 1.273 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.518e-05/0.5085, allocations: 8 kB / 1.244 GB, free: 1.266 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.214e-05/0.5085, allocations: 7.984 kB / 1.244 GB, free: 1.258 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001306/0.5098, allocations: 348.6 kB / 1.244 GB, free: 0.918 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00231/0.5121, allocations: 1.105 MB / 1.245 GB, free: 15.76 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001137/0.5133, allocations: 401.3 kB / 1.246 GB, free: 15.35 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006732/0.5139, allocations: 213.4 kB / 1.246 GB, free: 15.13 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 4.723e-05/0.514, allocations: 4 kB / 1.246 GB, free: 15.13 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008452/0.5149, allocations: 309.8 kB / 1.246 GB, free: 14.81 MB / 1.014 GB Notification: Performance of pre-optimization done (n=30): time 2.154e-06/0.5149, allocations: 0 / 1.246 GB, free: 14.81 MB / 1.014 GB Notification: Performance of matching and sorting (n=30): time 0.008736/0.5236, allocations: 1.225 MB / 1.247 GB, free: 13.55 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.868e-05/0.5237, allocations: 81.11 kB / 1.247 GB, free: 13.46 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001455/0.5252, allocations: 1.341 MB / 1.249 GB, free: 12.1 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 5.838e-05/0.5252, allocations: 33.7 kB / 1.249 GB, free: 12.06 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003005/0.5255, allocations: 364.5 kB / 1.249 GB, free: 11.7 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001108/0.5257, allocations: 99.16 kB / 1.249 GB, free: 11.61 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001241/0.5258, allocations: 77.66 kB / 1.249 GB, free: 11.52 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 9.896e-05/0.5259, allocations: 318 kB / 1.249 GB, free: 11.21 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006529/0.5266, allocations: 167.9 kB / 1.25 GB, free: 11.04 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006596/0.5272, allocations: 225.9 kB / 1.25 GB, free: 10.8 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001273/0.5285, allocations: 404.3 kB / 1.25 GB, free: 10.39 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.5285, allocations: 0 / 1.25 GB, free: 10.39 MB / 1.014 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.00394/0.5325, allocations: 0.72 MB / 1.251 GB, free: 9.664 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.768e-05/0.5325, allocations: 5.875 kB / 1.251 GB, free: 9.66 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.448e-06/0.5325, allocations: 0 / 1.251 GB, free: 9.66 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001095/0.5336, allocations: 184.7 kB / 1.251 GB, free: 9.477 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003767/0.534, allocations: 59.91 kB / 1.251 GB, free: 9.418 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008019/0.542, allocations: 2.292 MB / 1.253 GB, free: 6.984 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006206/0.5427, allocations: 51.75 kB / 1.253 GB, free: 6.934 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.974e-05/0.5428, allocations: 19.98 kB / 1.253 GB, free: 6.914 MB / 1.014 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.0004167/0.5432, allocations: 297.6 kB / 1.254 GB, free: 6.613 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001588/0.5434, allocations: 87.38 kB / 1.254 GB, free: 6.527 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004094/0.5475, allocations: 0.7545 MB / 1.255 GB, free: 5.762 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.594e-06/0.5475, allocations: 4 kB / 1.255 GB, free: 5.758 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.574e-06/0.5475, allocations: 4 kB / 1.255 GB, free: 5.754 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.586e-06/0.5475, allocations: 3.984 kB / 1.255 GB, free: 5.75 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007111/0.5482, allocations: 0.5702 MB / 1.255 GB, free: 5.125 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.671e-06/0.5482, allocations: 0 / 1.255 GB, free: 5.125 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002952/0.5485, allocations: 47.91 kB / 1.255 GB, free: 5.078 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009589/0.5495, allocations: 180.6 kB / 1.255 GB, free: 4.898 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.199e-05/0.5496, allocations: 11.98 kB / 1.255 GB, free: 4.887 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007553/0.5571, allocations: 2.295 MB / 1.258 GB, free: 2.453 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.329e-06/0.5572, allocations: 3.938 kB / 1.258 GB, free: 2.449 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004129/0.5613, allocations: 0.7625 MB / 1.258 GB, free: 1.664 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001836/0.5615, allocations: 152.5 kB / 1.259 GB, free: 1.496 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.669e-05/0.5616, allocations: 11.94 kB / 1.259 GB, free: 1.484 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004474/0.5621, allocations: 27.97 kB / 1.259 GB, free: 1.457 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.731e-05/0.5622, allocations: 27.97 kB / 1.259 GB, free: 1.43 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.748e-05/0.5622, allocations: 15.98 kB / 1.259 GB, free: 1.414 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.00107/0.5633, allocations: 1.003 MB / 1.26 GB, free: 428 kB / 1.014 GB Notification: Performance of sort global known variables: time 3e-07/0.5633, allocations: 0 / 1.26 GB, free: 428 kB / 1.014 GB Notification: Performance of remove unused functions: time 0.0005606/0.5639, allocations: 119.8 kB / 1.26 GB, free: 308 kB / 1.014 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.001105/0.565, allocations: 443.6 kB / 1.26 GB, free: 16 kB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.6101/1.175, allocations: 0.5356 MB / 1.261 GB, free: 174.9 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 4.659e-06/1.175, allocations: 0 / 1.261 GB, free: 174.9 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.001029/1.176, allocations: 364 kB / 1.261 GB, free: 174.8 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008185/1.177, allocations: 119 kB / 1.261 GB, free: 174.8 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00309/1.18, allocations: 1.588 MB / 1.263 GB, free: 174.3 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006227/1.181, allocations: 0.9697 MB / 1.264 GB, free: 173.6 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0003607/1.181, allocations: 89.08 kB / 1.264 GB, free: 173.6 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001345/1.181, allocations: 44.91 kB / 1.264 GB, free: 173.6 MB / 1.014 GB Notification: Performance of SimCode: time 9.12e-07/1.181, allocations: 0 / 1.264 GB, free: 173.6 MB / 1.014 GB Notification: Performance of Templates: time 0.02666/1.208, allocations: 10.26 MB / 1.274 GB, free: 173.2 MB / 1.014 GB make -j1 -f Buildings_9_Buildings.Utilities.Comfort.Validation.FangerCBE.makefile (rm -f Buildings_9_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe ; mkfifo Buildings_9_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe >> ../files/Buildings_9_Buildings.Utilities.Comfort.Validation.FangerCBE.sim & ./Buildings_9_Buildings.Utilities.Comfort.Validation.FangerCBE -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Comfort.Validation.FangerCBE_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Comfort_Validation_FangerCBE.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Comfort.Validation.FangerCBE.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches