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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.001708/0.001708, allocations: 104 kB / 16.27 MB, free: 5.934 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.001806/0.001806, allocations: 188.3 kB / 17.19 MB, free: 5.574 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.486/1.486, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.903/2.903, allocations: 482.4 MB / 0.7553 GB, free: 7 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001988/0.001988, allocations: 64.75 kB / 0.9245 GB, free: 0 / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9891/0.9911, allocations: 162.2 MB / 1.083 GB, free: 1.652 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Validation.FangerCBE): time 0.004545/0.9957, allocations: 2.191 MB / 1.085 GB, free: 112 kB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.2136/1.209, allocations: 150.6 MB / 1.232 GB, free: 5.723 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000266/1.21, allocations: 3.938 kB / 1.232 GB, free: 5.719 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.001053/1.211, allocations: 0.7757 MB / 1.233 GB, free: 4.941 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0008021/1.212, allocations: 490.6 kB / 1.233 GB, free: 4.461 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.001155/1.213, allocations: 417.5 kB / 1.234 GB, free: 4.055 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0006492/1.213, allocations: 0.5655 MB / 1.234 GB, free: 3.488 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002145/1.214, allocations: 76.7 kB / 1.234 GB, free: 3.414 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001205/1.215, allocations: 355 kB / 1.235 GB, free: 3.078 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005612/1.215, allocations: 483.7 kB / 1.235 GB, free: 2.605 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 6.195e-05/1.216, allocations: 20 kB / 1.235 GB, free: 2.586 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006981/1.216, allocations: 299.5 kB / 1.235 GB, free: 2.293 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0001911/1.216, allocations: 187.7 kB / 1.236 GB, free: 2.109 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.000262/1.217, allocations: 261.9 kB / 1.236 GB, free: 1.852 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.00102/1.218, allocations: 0.7221 MB / 1.237 GB, free: 1.129 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/1.218, allocations: 4 kB / 1.237 GB, free: 1.125 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.192e-06/1.218, allocations: 4 kB / 1.237 GB, free: 1.121 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.1e-05/1.218, allocations: 0 / 1.237 GB, free: 1.121 MB / 0.9512 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.001751/1.22, allocations: 1.08 MB / 1.238 GB, free: 15.98 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.358e-05/1.22, allocations: 12.03 kB / 1.238 GB, free: 15.97 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001536/1.221, allocations: 194.7 kB / 1.238 GB, free: 15.78 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006452/1.222, allocations: 490.7 kB / 1.238 GB, free: 15.27 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.786e-05/1.222, allocations: 12.38 kB / 1.238 GB, free: 15.25 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.016e-05/1.222, allocations: 20 kB / 1.238 GB, free: 15.23 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009389/1.223, allocations: 330.9 kB / 1.239 GB, free: 14.89 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.227e-05/1.223, allocations: 4 kB / 1.239 GB, free: 14.89 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.883e-05/1.223, allocations: 19.92 kB / 1.239 GB, free: 14.87 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.403e-05/1.223, allocations: 4 kB / 1.239 GB, free: 14.87 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001293/1.224, allocations: 340.6 kB / 1.239 GB, free: 14.54 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002241/1.226, allocations: 1.105 MB / 1.24 GB, free: 13.38 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001159/1.228, allocations: 401.4 kB / 1.24 GB, free: 12.96 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006755/1.228, allocations: 209.4 kB / 1.241 GB, free: 12.75 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 4.462e-05/1.228, allocations: 8 kB / 1.241 GB, free: 12.75 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008385/1.229, allocations: 304.7 kB / 1.241 GB, free: 12.43 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=30): time 2.424e-06/1.229, allocations: 0 / 1.241 GB, free: 12.43 MB / 0.9669 GB Notification: Performance of matching and sorting (n=30): time 0.009135/1.238, allocations: 1.218 MB / 1.242 GB, free: 11.18 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.17e-05/1.239, allocations: 85.09 kB / 1.242 GB, free: 11.08 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00177/1.24, allocations: 1.337 MB / 1.244 GB, free: 9.73 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 6.139e-05/1.24, allocations: 37.7 kB / 1.244 GB, free: 9.688 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005132/1.241, allocations: 364.4 kB / 1.244 GB, free: 9.324 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001346/1.241, allocations: 106.6 kB / 1.244 GB, free: 9.219 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000135/1.241, allocations: 61.67 kB / 1.244 GB, free: 9.152 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0002664/1.241, allocations: 318 kB / 1.244 GB, free: 8.836 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006613/1.242, allocations: 175.7 kB / 1.245 GB, free: 8.664 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006857/1.243, allocations: 231 kB / 1.245 GB, free: 8.418 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001322/1.244, allocations: 398.4 kB / 1.245 GB, free: 8.016 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.536e-06/1.244, allocations: 0 / 1.245 GB, free: 8.016 MB / 0.9669 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.004245/1.248, allocations: 0.7156 MB / 1.246 GB, free: 7.293 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.428e-05/1.248, allocations: 4 kB / 1.246 GB, free: 7.289 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.649e-05/1.248, allocations: 7.984 kB / 1.246 GB, free: 7.281 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001083/1.25, allocations: 184.7 kB / 1.246 GB, free: 7.098 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003562/1.25, allocations: 59.89 kB / 1.246 GB, free: 7.039 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008207/1.258, allocations: 2.307 MB / 1.248 GB, free: 4.59 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005779/1.259, allocations: 43.83 kB / 1.248 GB, free: 4.547 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.256e-05/1.259, allocations: 15.97 kB / 1.248 GB, free: 4.531 MB / 0.9669 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.0004601/1.259, allocations: 294.2 kB / 1.249 GB, free: 4.234 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001305/1.259, allocations: 82.91 kB / 1.249 GB, free: 4.152 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004197/1.264, allocations: 0.752 MB / 1.249 GB, free: 3.387 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.348e-06/1.264, allocations: 7.984 kB / 1.249 GB, free: 3.379 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.735e-06/1.264, allocations: 0 / 1.249 GB, free: 3.379 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.412e-06/1.264, allocations: 4 kB / 1.25 GB, free: 3.375 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007175/1.264, allocations: 0.5703 MB / 1.25 GB, free: 2.758 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.189e-06/1.264, allocations: 3.984 kB / 1.25 GB, free: 2.754 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003536/1.265, allocations: 55.91 kB / 1.25 GB, free: 2.699 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009635/1.266, allocations: 168.7 kB / 1.25 GB, free: 2.531 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.95e-05/1.266, allocations: 19.97 kB / 1.25 GB, free: 2.512 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007603/1.273, allocations: 2.295 MB / 1.253 GB, free: 76 kB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.532e-06/1.273, allocations: 7.922 kB / 1.253 GB, free: 68 kB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004066/1.277, allocations: 0.7599 MB / 1.253 GB, free: 15.28 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002101/1.278, allocations: 144 kB / 1.253 GB, free: 15.12 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.885e-05/1.278, allocations: 15.92 kB / 1.253 GB, free: 15.11 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004182/1.278, allocations: 23.98 kB / 1.253 GB, free: 15.08 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.196e-05/1.278, allocations: 23.97 kB / 1.253 GB, free: 15.06 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.299e-05/1.278, allocations: 23.97 kB / 1.254 GB, free: 15.04 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.001204/1.28, allocations: 0.9949 MB / 1.254 GB, free: 14.05 MB / 0.9825 GB Notification: Performance of sort global known variables: time 2.2e-07/1.28, allocations: 0 / 1.254 GB, free: 14.05 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0005615/1.28, allocations: 112 kB / 1.255 GB, free: 13.94 MB / 0.9825 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.001638/1.282, allocations: 439.3 kB / 1.255 GB, free: 13.66 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001961/1.284, allocations: 0.5647 MB / 1.256 GB, free: 13.08 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/1.284, allocations: 3.938 kB / 1.256 GB, free: 13.08 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.001085/1.285, allocations: 367.6 kB / 1.256 GB, free: 12.71 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007009/1.286, allocations: 122.9 kB / 1.256 GB, free: 12.59 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002948/1.289, allocations: 1.642 MB / 1.258 GB, free: 10.91 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007962/1.289, allocations: 0.9725 MB / 1.259 GB, free: 9.91 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001523/1.29, allocations: 43.42 kB / 1.259 GB, free: 9.871 MB / 0.9825 GB Notification: Performance of SimCode: time 1.363e-06/1.29, allocations: 0 / 1.259 GB, free: 9.871 MB / 0.9825 GB Notification: Performance of Templates: time 0.01939/1.309, allocations: 11.1 MB / 1.269 GB, free: 14.78 MB / 0.9981 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=400 -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