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.006071/0.006071, allocations: 101.6 kB / 15.73 MB, free: 6.031 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.001334/0.001334, allocations: 187.4 kB / 16.67 MB, free: 5.969 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.325/1.325, allocations: 222.9 MB / 240.4 MB, free: 4.34 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.327/2.327, allocations: 390.2 MB / 0.6648 GB, free: 192 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001369/0.001369, allocations: 70.48 kB / 0.9508 GB, free: 5.656 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3316/0.333, allocations: 140.4 MB / 1.088 GB, free: 1.691 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Validation.FangerCBE): time 0.004152/0.3372, allocations: 2.199 MB / 1.09 GB, free: 15.48 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.1869/0.5242, allocations: 150.6 MB / 1.237 GB, free: 8.324 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003284/0.5246, allocations: 4 kB / 1.237 GB, free: 8.32 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001085/0.5257, allocations: 0.7757 MB / 1.238 GB, free: 7.543 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.000787/0.5265, allocations: 494.6 kB / 1.238 GB, free: 7.059 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001227/0.5278, allocations: 410.3 kB / 1.239 GB, free: 6.66 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0006818/0.5285, allocations: 0.5655 MB / 1.239 GB, free: 6.09 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001986/0.5287, allocations: 84.64 kB / 1.239 GB, free: 6.012 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00115/0.5298, allocations: 367.8 kB / 1.24 GB, free: 5.664 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004814/0.5303, allocations: 479.7 kB / 1.24 GB, free: 5.195 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 4.992e-05/0.5304, allocations: 24 kB / 1.24 GB, free: 5.172 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005911/0.531, allocations: 303.5 kB / 1.24 GB, free: 4.875 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.000158/0.5311, allocations: 183.7 kB / 1.241 GB, free: 4.695 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002039/0.5314, allocations: 261.9 kB / 1.241 GB, free: 4.438 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0008228/0.5322, allocations: 0.7435 MB / 1.242 GB, free: 3.691 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.5322, allocations: 3.938 kB / 1.242 GB, free: 3.688 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.412e-06/0.5322, allocations: 0 / 1.242 GB, free: 3.688 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 8.917e-06/0.5322, allocations: 0 / 1.242 GB, free: 3.688 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.0016/0.5338, allocations: 1.069 MB / 1.243 GB, free: 2.566 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.682e-05/0.5339, allocations: 12.03 kB / 1.243 GB, free: 2.555 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001415/0.5353, allocations: 190.8 kB / 1.243 GB, free: 2.367 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006308/0.5359, allocations: 498.7 kB / 1.243 GB, free: 1.84 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.749e-05/0.536, allocations: 16.38 kB / 1.243 GB, free: 1.824 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.031e-05/0.536, allocations: 19.98 kB / 1.243 GB, free: 1.805 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008919/0.5369, allocations: 338.9 kB / 1.244 GB, free: 1.457 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.358e-05/0.5369, allocations: 0 / 1.244 GB, free: 1.457 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.352e-05/0.537, allocations: 4 kB / 1.244 GB, free: 1.453 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.257e-05/0.537, allocations: 8 kB / 1.244 GB, free: 1.445 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00124/0.5382, allocations: 340.6 kB / 1.244 GB, free: 1.113 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002126/0.5404, allocations: 1.105 MB / 1.245 GB, free: 15.95 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001063/0.5415, allocations: 408.8 kB / 1.245 GB, free: 15.54 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006375/0.5421, allocations: 217.4 kB / 1.246 GB, free: 15.32 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 5.168e-05/0.5422, allocations: 11.97 kB / 1.246 GB, free: 15.31 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008043/0.543, allocations: 313.8 kB / 1.246 GB, free: 14.98 MB / 1.014 GB Notification: Performance of pre-optimization done (n=30): time 2.064e-06/0.543, allocations: 0 / 1.246 GB, free: 14.98 MB / 1.014 GB Notification: Performance of matching and sorting (n=30): time 0.008452/0.5515, allocations: 1.217 MB / 1.247 GB, free: 13.74 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001134/0.5516, allocations: 81.11 kB / 1.247 GB, free: 13.64 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001767/0.5534, allocations: 1.345 MB / 1.249 GB, free: 12.28 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 4.832e-05/0.5534, allocations: 29.7 kB / 1.249 GB, free: 12.25 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003985/0.5538, allocations: 368.4 kB / 1.249 GB, free: 11.88 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001193/0.554, allocations: 98.66 kB / 1.249 GB, free: 11.79 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001365/0.5541, allocations: 61.67 kB / 1.249 GB, free: 11.72 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001347/0.5543, allocations: 322 kB / 1.249 GB, free: 11.4 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005879/0.5548, allocations: 171.9 kB / 1.25 GB, free: 11.23 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006201/0.5555, allocations: 225.9 kB / 1.25 GB, free: 10.99 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00121/0.5567, allocations: 400.3 kB / 1.25 GB, free: 10.59 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/0.5567, allocations: 0 / 1.25 GB, free: 10.59 MB / 1.014 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.003734/0.5605, allocations: 0.7157 MB / 1.251 GB, free: 9.859 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 3.054e-05/0.5605, allocations: 8 kB / 1.251 GB, free: 9.852 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.054e-05/0.5605, allocations: 0 / 1.251 GB, free: 9.852 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001014/0.5615, allocations: 176.7 kB / 1.251 GB, free: 9.676 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003451/0.5619, allocations: 63.89 kB / 1.251 GB, free: 9.613 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007572/0.5695, allocations: 2.295 MB / 1.253 GB, free: 7.176 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006318/0.5701, allocations: 43.81 kB / 1.253 GB, free: 7.133 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.579e-05/0.5702, allocations: 19.92 kB / 1.253 GB, free: 7.113 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.0005627/0.5708, allocations: 293.7 kB / 1.254 GB, free: 6.816 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001207/0.5709, allocations: 82.91 kB / 1.254 GB, free: 6.734 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003931/0.5748, allocations: 0.7583 MB / 1.255 GB, free: 5.965 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.071e-06/0.5748, allocations: 4 kB / 1.255 GB, free: 5.961 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.5749, allocations: 4.312 kB / 1.255 GB, free: 5.957 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/0.5749, allocations: 0 / 1.255 GB, free: 5.957 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007617/0.5756, allocations: 0.578 MB / 1.255 GB, free: 5.324 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/0.5756, allocations: 0 / 1.255 GB, free: 5.324 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002723/0.5759, allocations: 47.91 kB / 1.255 GB, free: 5.277 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009368/0.5769, allocations: 172.6 kB / 1.255 GB, free: 5.105 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.174e-05/0.5769, allocations: 19.97 kB / 1.255 GB, free: 5.086 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00706/0.584, allocations: 2.291 MB / 1.258 GB, free: 2.656 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.658e-06/0.584, allocations: 11.95 kB / 1.258 GB, free: 2.645 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003813/0.5878, allocations: 0.7503 MB / 1.258 GB, free: 1.871 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001834/0.588, allocations: 144 kB / 1.258 GB, free: 1.711 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.7e-05/0.5881, allocations: 11.94 kB / 1.258 GB, free: 1.699 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004263/0.5886, allocations: 31.97 kB / 1.258 GB, free: 1.668 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.119e-05/0.5887, allocations: 27.91 kB / 1.258 GB, free: 1.641 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.697e-05/0.5887, allocations: 15.98 kB / 1.259 GB, free: 1.625 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001134/0.5899, allocations: 1.003 MB / 1.259 GB, free: 0.6289 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.41e-07/0.5899, allocations: 0 / 1.259 GB, free: 0.6289 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0005659/0.5904, allocations: 107.9 kB / 1.26 GB, free: 0.5234 MB / 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.001121/0.5916, allocations: 447.9 kB / 1.26 GB, free: 244 kB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.6225/1.214, allocations: 0.5328 MB / 1.261 GB, free: 175.1 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 4.469e-06/1.214, allocations: 0.7188 kB / 1.261 GB, free: 175.1 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.000969/1.215, allocations: 368.4 kB / 1.261 GB, free: 175 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006836/1.216, allocations: 117.5 kB / 1.261 GB, free: 174.9 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002538/1.218, allocations: 1.566 MB / 1.263 GB, free: 174.5 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005174/1.219, allocations: 0.9688 MB / 1.263 GB, free: 173.8 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.000317/1.219, allocations: 94.08 kB / 1.264 GB, free: 173.8 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00013/1.219, allocations: 42.92 kB / 1.264 GB, free: 173.8 MB / 1.014 GB Notification: Performance of SimCode: time 5.71e-07/1.219, allocations: 0 / 1.264 GB, free: 173.8 MB / 1.014 GB Notification: Performance of Templates: time 0.02199/1.241, allocations: 10.25 MB / 1.274 GB, free: 173.4 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