Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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: "" <> buildModelFMU(Buildings.Utilities.Comfort.Validation.FangerCBE,fileNamePrefix="Buildings_11_Buildings_Utilities_Comfort_Validation_FangerCBE",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Comfort.Validation.FangerCBE,fileNamePrefix="Buildings_11_Buildings_Utilities_Comfort_Validation_FangerCBE",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001499/0.0015, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00147/0.00147, allocations: 194.4 kB / 16.53 MB, free: 6.391 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.358/1.358, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.7/2.7, allocations: 469.8 MB / 0.7424 GB, free: 7.375 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002073/0.002073, allocations: 62.42 kB / 0.9086 GB, free: 34.31 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2581/0.2601, allocations: 159.2 MB / 1.064 GB, free: 14.18 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Validation.FangerCBE): time 0.00344/0.2636, allocations: 2.205 MB / 1.066 GB, free: 11.96 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1538/0.4174, allocations: 150.5 MB / 1.213 GB, free: 4.816 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001882/0.4177, allocations: 4 kB / 1.213 GB, free: 4.812 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0009242/0.4186, allocations: 0.7873 MB / 1.214 GB, free: 4.023 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0007125/0.4194, allocations: 494.6 kB / 1.214 GB, free: 3.539 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009464/0.4203, allocations: 401.7 kB / 1.215 GB, free: 3.148 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0006212/0.421, allocations: 0.5655 MB / 1.215 GB, free: 2.582 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001686/0.4211, allocations: 80.97 kB / 1.215 GB, free: 2.508 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001101/0.4222, allocations: 353.5 kB / 1.216 GB, free: 2.176 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005153/0.4228, allocations: 479.7 kB / 1.216 GB, free: 1.707 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 5.994e-05/0.4228, allocations: 24 kB / 1.216 GB, free: 1.684 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005798/0.4234, allocations: 303.6 kB / 1.217 GB, free: 1.387 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.000174/0.4236, allocations: 191.6 kB / 1.217 GB, free: 1.199 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0002307/0.4238, allocations: 254 kB / 1.217 GB, free: 0.9492 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0008526/0.4247, allocations: 0.7318 MB / 1.218 GB, free: 220 kB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.4247, allocations: 0 / 1.218 GB, free: 220 kB / 0.9669 GB Notification: Performance of FrontEnd: time 1.192e-06/0.4247, allocations: 0 / 1.218 GB, free: 220 kB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.319e-05/0.4247, allocations: 0 / 1.218 GB, free: 220 kB / 0.9669 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.001558/0.4263, allocations: 1.073 MB / 1.219 GB, free: 15.09 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.308e-05/0.4263, allocations: 8.031 kB / 1.219 GB, free: 15.08 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.421e-05/0.4264, allocations: 58.55 kB / 1.219 GB, free: 15.02 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001439/0.4279, allocations: 198.7 kB / 1.219 GB, free: 14.82 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005494/0.4284, allocations: 482.8 kB / 1.22 GB, free: 14.31 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.942e-05/0.4285, allocations: 16.38 kB / 1.22 GB, free: 14.29 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.443e-05/0.4285, allocations: 23.94 kB / 1.22 GB, free: 14.27 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008826/0.4294, allocations: 338.9 kB / 1.22 GB, free: 13.92 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.658e-06/0.4294, allocations: 0 / 1.22 GB, free: 13.92 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.099e-05/0.4294, allocations: 8 kB / 1.22 GB, free: 13.91 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.574e-06/0.4295, allocations: 4 kB / 1.22 GB, free: 13.91 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001233/0.4307, allocations: 340.6 kB / 1.22 GB, free: 13.58 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001984/0.4327, allocations: 1.12 MB / 1.221 GB, free: 12.4 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001096/0.4338, allocations: 401.3 kB / 1.222 GB, free: 11.99 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006462/0.4345, allocations: 209.6 kB / 1.222 GB, free: 11.78 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.923e-05/0.4345, allocations: 15.8 kB / 1.222 GB, free: 11.77 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007775/0.4353, allocations: 302 kB / 1.222 GB, free: 11.45 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=30): time 1.743e-06/0.4353, allocations: 0 / 1.222 GB, free: 11.45 MB / 0.9825 GB Notification: Performance of matching and sorting (n=30): time 0.008342/0.4436, allocations: 1.213 MB / 1.223 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.023e-05/0.4437, allocations: 89.05 kB / 1.223 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00132/0.445, allocations: 1.341 MB / 1.225 GB, free: 8.75 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.976e-05/0.4451, allocations: 29.7 kB / 1.225 GB, free: 8.715 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002957/0.4454, allocations: 364.5 kB / 1.225 GB, free: 8.355 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 9.435e-05/0.4455, allocations: 102.6 kB / 1.225 GB, free: 8.254 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001194/0.4456, allocations: 65.67 kB / 1.225 GB, free: 8.184 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001225/0.4457, allocations: 325.9 kB / 1.226 GB, free: 7.859 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000626/0.4464, allocations: 175.7 kB / 1.226 GB, free: 7.688 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006566/0.447, allocations: 226.8 kB / 1.226 GB, free: 7.445 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001253/0.4483, allocations: 394 kB / 1.226 GB, free: 7.047 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.4483, allocations: 0 / 1.226 GB, free: 7.047 MB / 0.9825 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.003774/0.4521, allocations: 0.7171 MB / 1.227 GB, free: 6.32 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.57e-05/0.4521, allocations: 9.719 kB / 1.227 GB, free: 6.312 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.4521, allocations: 320 / 1.227 GB, free: 6.312 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009954/0.4531, allocations: 180.7 kB / 1.227 GB, free: 6.133 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003157/0.4535, allocations: 67.83 kB / 1.227 GB, free: 6.066 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00741/0.4609, allocations: 2.291 MB / 1.23 GB, free: 3.633 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004285/0.4613, allocations: 47.78 kB / 1.23 GB, free: 3.586 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.688e-05/0.4614, allocations: 15.98 kB / 1.23 GB, free: 3.57 MB / 0.9825 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.0003155/0.4617, allocations: 306.1 kB / 1.23 GB, free: 3.262 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001052/0.4618, allocations: 82.91 kB / 1.23 GB, free: 3.18 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003895/0.4657, allocations: 0.7517 MB / 1.231 GB, free: 2.414 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.422e-06/0.4657, allocations: 8 kB / 1.231 GB, free: 2.406 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.623e-06/0.4657, allocations: 0 / 1.231 GB, free: 2.406 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.004e-06/0.4657, allocations: 3.984 kB / 1.231 GB, free: 2.402 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005854/0.4663, allocations: 0.5703 MB / 1.231 GB, free: 1.781 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.4663, allocations: 4 kB / 1.231 GB, free: 1.777 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002641/0.4666, allocations: 47.91 kB / 1.231 GB, free: 1.73 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009088/0.4675, allocations: 172.6 kB / 1.232 GB, free: 1.559 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.537e-05/0.4676, allocations: 15.98 kB / 1.232 GB, free: 1.543 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007284/0.4749, allocations: 2.3 MB / 1.234 GB, free: 15.11 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.4749, allocations: 4.031 kB / 1.234 GB, free: 15.1 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003817/0.4787, allocations: 0.7589 MB / 1.235 GB, free: 14.32 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000112/0.4788, allocations: 148 kB / 1.235 GB, free: 14.15 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.158e-05/0.4789, allocations: 11.94 kB / 1.235 GB, free: 14.14 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003969/0.4793, allocations: 31.97 kB / 1.235 GB, free: 14.11 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.078e-05/0.4794, allocations: 23.97 kB / 1.235 GB, free: 14.09 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.878e-05/0.4794, allocations: 19.97 kB / 1.235 GB, free: 14.07 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0009681/0.4804, allocations: 0.9988 MB / 1.236 GB, free: 13.07 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4804, allocations: 0 / 1.236 GB, free: 13.07 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004173/0.4808, allocations: 111.9 kB / 1.236 GB, free: 12.96 MB / 0.9981 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.005353/0.4862, allocations: 1.628 MB / 1.237 GB, free: 11.46 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001688/0.4879, allocations: 0.5888 MB / 1.238 GB, free: 10.86 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.4879, allocations: 0 / 1.238 GB, free: 10.86 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0009254/0.4888, allocations: 355.2 kB / 1.238 GB, free: 10.5 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006156/0.4894, allocations: 115.5 kB / 1.238 GB, free: 10.39 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01355/0.503, allocations: 6.566 MB / 1.245 GB, free: 3.613 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005688/0.5036, allocations: 0.9765 MB / 1.246 GB, free: 2.609 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0003199/0.5039, allocations: 86.91 kB / 1.246 GB, free: 2.523 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003241/0.5042, allocations: 267.3 kB / 1.246 GB, free: 2.262 MB / 0.9981 GB Notification: Performance of SimCode: time 2.81e-07/0.5043, allocations: 0 / 1.246 GB, free: 2.262 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.698/5.202, allocations: 17.74 MB / 1.263 GB, free: 186.1 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.82/21.03, allocations: 3.25 kB / 1.263 GB, free: 186.1 MB / 0.9981 GB (rm -f Buildings_11_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe ; mkfifo Buildings_11_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe >> ../files/Buildings_11_Buildings.Utilities.Comfort.Validation.FangerCBE.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Comfort.Validation.FangerCBE_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Comfort_Validation_FangerCBE_fmu --startTime=0 --stopTime=2300 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Comfort_Validation_FangerCBE.fmu > Buildings_11_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Utilities.Comfort.Validation.FangerCBE_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Comfort_Validation_FangerCBE.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Comfort.Validation.FangerCBE.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches