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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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: "" <> buildModelFMU(Buildings.Utilities.Comfort.Validation.FangerCBE,fileNamePrefix="Buildings_latest_Buildings_Utilities_Comfort_Validation_FangerCBE",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Comfort.Validation.FangerCBE,fileNamePrefix="Buildings_latest_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.001598/0.001598, allocations: 108 kB / 15.61 MB, free: 152 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.001398/0.001398, allocations: 194.3 kB / 16.53 MB, free: 6.664 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.38/1.38, allocations: 222.9 MB / 240.2 MB, free: 4.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.621/2.621, allocations: 461.9 MB / 0.7346 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001416/0.001416, allocations: 65.05 kB / 0.8992 GB, free: 36.99 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.243/0.2444, allocations: 157.4 MB / 1.053 GB, free: 8.324 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Validation.FangerCBE): time 0.003192/0.2477, allocations: 2.205 MB / 1.055 GB, free: 6.105 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.1417/0.3893, allocations: 150.5 MB / 1.202 GB, free: 14.97 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002313/0.3896, allocations: 11.94 kB / 1.202 GB, free: 14.96 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0008595/0.3905, allocations: 0.7834 MB / 1.203 GB, free: 14.18 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0007626/0.3913, allocations: 490.6 kB / 1.203 GB, free: 13.7 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001006/0.3923, allocations: 397.8 kB / 1.204 GB, free: 13.31 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0006059/0.3929, allocations: 0.5694 MB / 1.204 GB, free: 12.74 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001669/0.3931, allocations: 77 kB / 1.204 GB, free: 12.67 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009438/0.3941, allocations: 362.9 kB / 1.205 GB, free: 12.32 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005054/0.3946, allocations: 479.7 kB / 1.205 GB, free: 11.86 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 7.763e-05/0.3947, allocations: 24 kB / 1.205 GB, free: 11.83 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005811/0.3953, allocations: 299.6 kB / 1.205 GB, free: 11.54 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001615/0.3954, allocations: 183.6 kB / 1.206 GB, free: 11.36 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0002102/0.3956, allocations: 261.9 kB / 1.206 GB, free: 11.1 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0007862/0.3964, allocations: 0.7279 MB / 1.207 GB, free: 10.37 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.3965, allocations: 8 kB / 1.207 GB, free: 10.36 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.152e-06/0.3965, allocations: 0 / 1.207 GB, free: 10.36 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.02e-05/0.3965, allocations: 0 / 1.207 GB, free: 10.36 MB / 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.001519/0.398, allocations: 1.069 MB / 1.208 GB, free: 9.242 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.398, allocations: 8.625 kB / 1.208 GB, free: 9.234 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.873e-05/0.3981, allocations: 54.55 kB / 1.208 GB, free: 9.172 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001488/0.3996, allocations: 190.8 kB / 1.208 GB, free: 8.984 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005085/0.4001, allocations: 494.6 kB / 1.208 GB, free: 8.461 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.96e-05/0.4002, allocations: 20.36 kB / 1.208 GB, free: 8.441 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.484e-05/0.4002, allocations: 20 kB / 1.208 GB, free: 8.422 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008662/0.4011, allocations: 331.1 kB / 1.209 GB, free: 8.082 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.421e-05/0.4011, allocations: 7.984 kB / 1.209 GB, free: 8.074 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.656e-05/0.4011, allocations: 8 kB / 1.209 GB, free: 8.066 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.137e-06/0.4012, allocations: 4 kB / 1.209 GB, free: 8.062 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001252/0.4024, allocations: 340.6 kB / 1.209 GB, free: 7.73 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001974/0.4044, allocations: 1.116 MB / 1.21 GB, free: 6.555 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001101/0.4055, allocations: 399.4 kB / 1.211 GB, free: 6.148 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000656/0.4062, allocations: 205.5 kB / 1.211 GB, free: 5.941 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 4.474e-05/0.4063, allocations: 19.91 kB / 1.211 GB, free: 5.922 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009882/0.4073, allocations: 301.3 kB / 1.211 GB, free: 5.609 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=30): time 2.434e-06/0.4073, allocations: 0 / 1.211 GB, free: 5.609 MB / 0.9669 GB Notification: Performance of matching and sorting (n=30): time 0.008487/0.4158, allocations: 1.221 MB / 1.212 GB, free: 4.359 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.605e-05/0.4158, allocations: 77.11 kB / 1.212 GB, free: 4.266 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001219/0.4171, allocations: 1.345 MB / 1.214 GB, free: 2.91 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 4.171e-05/0.4171, allocations: 33.7 kB / 1.214 GB, free: 2.871 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002818/0.4174, allocations: 368.4 kB / 1.214 GB, free: 2.508 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 9.279e-05/0.4175, allocations: 102.6 kB / 1.214 GB, free: 2.406 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001207/0.4176, allocations: 61.67 kB / 1.214 GB, free: 2.34 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 9.499e-05/0.4177, allocations: 321.9 kB / 1.214 GB, free: 2.02 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006331/0.4184, allocations: 183.9 kB / 1.215 GB, free: 1.84 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006628/0.419, allocations: 230.3 kB / 1.215 GB, free: 1.594 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001288/0.4203, allocations: 403.7 kB / 1.215 GB, free: 1.188 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.866e-06/0.4203, allocations: 0 / 1.215 GB, free: 1.188 MB / 0.9669 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.003955/0.4243, allocations: 0.7079 MB / 1.216 GB, free: 480 kB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.175e-05/0.4243, allocations: 8 kB / 1.216 GB, free: 472 kB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.4244, allocations: 4.062 kB / 1.216 GB, free: 468 kB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001058/0.4254, allocations: 180.6 kB / 1.216 GB, free: 284 kB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003422/0.4258, allocations: 55.91 kB / 1.216 GB, free: 228 kB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007535/0.4333, allocations: 2.303 MB / 1.218 GB, free: 13.78 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005283/0.4339, allocations: 43.91 kB / 1.218 GB, free: 13.73 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.332e-05/0.4339, allocations: 11.98 kB / 1.218 GB, free: 13.72 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.0003413/0.4343, allocations: 298.9 kB / 1.219 GB, free: 13.42 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001179/0.4344, allocations: 86.91 kB / 1.219 GB, free: 13.34 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00391/0.4383, allocations: 0.7551 MB / 1.22 GB, free: 12.57 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.4383, allocations: 4 kB / 1.22 GB, free: 12.57 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.084e-06/0.4383, allocations: 4 kB / 1.22 GB, free: 12.56 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.4384, allocations: 0 / 1.22 GB, free: 12.56 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006179/0.439, allocations: 0.5625 MB / 1.22 GB, free: 11.95 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.591e-06/0.439, allocations: 4 kB / 1.22 GB, free: 11.95 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002816/0.4393, allocations: 55.97 kB / 1.22 GB, free: 11.89 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009477/0.4402, allocations: 176.6 kB / 1.22 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.059e-05/0.4403, allocations: 11.98 kB / 1.22 GB, free: 11.7 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007268/0.4476, allocations: 2.291 MB / 1.223 GB, free: 9.273 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.4476, allocations: 0 / 1.223 GB, free: 9.273 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003946/0.4515, allocations: 0.7592 MB / 1.223 GB, free: 8.488 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001493/0.4517, allocations: 140.1 kB / 1.223 GB, free: 8.332 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.565e-05/0.4518, allocations: 15.94 kB / 1.223 GB, free: 8.316 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004401/0.4523, allocations: 27.97 kB / 1.223 GB, free: 8.289 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.761e-05/0.4524, allocations: 27.89 kB / 1.224 GB, free: 8.262 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.476e-05/0.4524, allocations: 23.92 kB / 1.224 GB, free: 8.238 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0009624/0.4534, allocations: 0.9988 MB / 1.225 GB, free: 7.246 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4534, allocations: 4 kB / 1.225 GB, free: 7.242 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0004897/0.4539, allocations: 119.8 kB / 1.225 GB, free: 7.125 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.005008/0.4589, allocations: 1.623 MB / 1.226 GB, free: 5.625 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001749/0.4607, allocations: 0.5848 MB / 1.227 GB, free: 5.027 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.4607, allocations: 64 / 1.227 GB, free: 5.027 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0009116/0.4616, allocations: 358.4 kB / 1.227 GB, free: 4.664 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006324/0.4623, allocations: 116.5 kB / 1.227 GB, free: 4.555 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01365/0.4759, allocations: 6.582 MB / 1.234 GB, free: 13.76 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004962/0.4765, allocations: 0.9684 MB / 1.235 GB, free: 12.77 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0003723/0.4768, allocations: 86.89 kB / 1.235 GB, free: 12.68 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003257/0.4772, allocations: 267.3 kB / 1.235 GB, free: 12.42 MB / 0.9981 GB Notification: Performance of SimCode: time 8.22e-07/0.4772, allocations: 4 kB / 1.235 GB, free: 12.42 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.288/3.765, allocations: 17.73 MB / 1.252 GB, free: 192.6 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.79/19.56, allocations: 10.61 kB / 1.252 GB, free: 192.6 MB / 0.9981 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Comfort.Validation.FangerCBE_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Comfort_Validation_FangerCBE_fmu --startTime=0 --stopTime=2300 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Comfort_Validation_FangerCBE.fmu > 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