Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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: "" <> buildModelFMU(Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom,fileNamePrefix="Buildings_latest_Buildings_Occupants_Residential_AirConditioning_Validation_Ren2014ACBedroom",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom,fileNamePrefix="Buildings_latest_Buildings_Occupants_Residential_AirConditioning_Validation_Ren2014ACBedroom",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.001337/0.001337, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001413/0.001413, allocations: 191.8 kB / 16.13 MB, free: 6.699 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.27/1.27, allocations: 222.9 MB / 239.8 MB, free: 4.641 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.483/2.483, allocations: 461.8 MB / 0.7342 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001086/0.001086, allocations: 64.8 kB / 0.8985 GB, free: 37.02 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2281/0.2292, allocations: 157.4 MB / 1.052 GB, free: 8.188 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom): time 0.002557/0.2318, allocations: 1.562 MB / 1.054 GB, free: 6.613 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001323/0.2332, allocations: 0.8412 MB / 1.055 GB, free: 5.766 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.136e-05/0.2332, allocations: 0 / 1.055 GB, free: 5.766 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.203e-05/0.2333, allocations: 3.938 kB / 1.055 GB, free: 5.762 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 5.142e-05/0.2333, allocations: 11.86 kB / 1.055 GB, free: 5.75 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005135/0.2339, allocations: 123.7 kB / 1.055 GB, free: 5.629 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001132/0.234, allocations: 95.7 kB / 1.055 GB, free: 5.535 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 7.839e-05/0.2341, allocations: 11.98 kB / 1.055 GB, free: 5.523 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 8.462e-05/0.2342, allocations: 35.91 kB / 1.055 GB, free: 5.488 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 7.077e-05/0.2342, allocations: 43.81 kB / 1.055 GB, free: 5.445 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.096e-05/0.2343, allocations: 8 kB / 1.055 GB, free: 5.438 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002245/0.2345, allocations: 115.8 kB / 1.055 GB, free: 5.324 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.01e-05/0.2345, allocations: 19.91 kB / 1.055 GB, free: 5.305 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.888e-05/0.2346, allocations: 43.78 kB / 1.055 GB, free: 5.262 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.000251/0.2349, allocations: 167.9 kB / 1.055 GB, free: 5.098 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.2349, allocations: 3.984 kB / 1.055 GB, free: 5.094 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.033e-06/0.2349, allocations: 0 / 1.055 GB, free: 5.094 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.258e-06/0.2349, allocations: 3.938 kB / 1.055 GB, free: 5.09 MB / 0.8106 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006888/0.2356, allocations: 482.5 kB / 1.056 GB, free: 4.559 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.785e-05/0.2356, allocations: 15.91 kB / 1.056 GB, free: 4.543 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.528e-05/0.2357, allocations: 38.75 kB / 1.056 GB, free: 4.496 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.789e-05/0.2357, allocations: 8.844 kB / 1.056 GB, free: 4.488 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001069/0.2358, allocations: 180.2 kB / 1.056 GB, free: 4.273 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.506e-05/0.2358, allocations: 8.375 kB / 1.056 GB, free: 4.266 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.981e-05/0.2359, allocations: 4.375 kB / 1.056 GB, free: 4.262 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002284/0.2361, allocations: 89.7 kB / 1.056 GB, free: 4.168 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.542e-06/0.2361, allocations: 0 / 1.056 GB, free: 4.168 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.307e-05/0.2361, allocations: 4 kB / 1.056 GB, free: 4.164 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/0.2361, allocations: 3.984 kB / 1.056 GB, free: 4.16 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001664/0.2363, allocations: 55.95 kB / 1.056 GB, free: 4.105 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005065/0.2368, allocations: 312.8 kB / 1.056 GB, free: 3.75 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002269/0.2371, allocations: 90.56 kB / 1.056 GB, free: 3.652 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000111/0.2372, allocations: 36.84 kB / 1.056 GB, free: 3.613 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.954e-05/0.2372, allocations: 7.984 kB / 1.056 GB, free: 3.605 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002263/0.2375, allocations: 103.3 kB / 1.057 GB, free: 3.492 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=8): time 1.453e-06/0.2375, allocations: 0 / 1.057 GB, free: 3.492 MB / 0.8106 GB Notification: Performance of matching and sorting (n=8): time 0.0004966/0.238, allocations: 185.5 kB / 1.057 GB, free: 3.305 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.868e-05/0.238, allocations: 55.41 kB / 1.057 GB, free: 3.238 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.951e-05/0.2381, allocations: 130.1 kB / 1.057 GB, free: 3.102 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.661e-05/0.2381, allocations: 29.7 kB / 1.057 GB, free: 3.066 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.314e-05/0.2382, allocations: 92.14 kB / 1.057 GB, free: 2.973 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.075e-05/0.2382, allocations: 19.73 kB / 1.057 GB, free: 2.953 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.553e-05/0.2383, allocations: 29.7 kB / 1.057 GB, free: 2.918 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001008/0.2384, allocations: 326.8 kB / 1.057 GB, free: 2.59 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.451e-05/0.2385, allocations: 23.98 kB / 1.057 GB, free: 2.566 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001036/0.2386, allocations: 73.97 kB / 1.058 GB, free: 2.473 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001682/0.2387, allocations: 105.9 kB / 1.058 GB, free: 2.348 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.2388, allocations: 0 / 1.058 GB, free: 2.348 MB / 0.8106 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002408/0.239, allocations: 125.4 kB / 1.058 GB, free: 2.219 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.351e-05/0.239, allocations: 8.781 kB / 1.058 GB, free: 2.211 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.239, allocations: 4 kB / 1.058 GB, free: 2.207 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.328e-05/0.2391, allocations: 4 kB / 1.058 GB, free: 2.203 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.425e-05/0.2391, allocations: 15.92 kB / 1.058 GB, free: 2.188 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.711e-06/0.2392, allocations: 4.312 kB / 1.058 GB, free: 2.184 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.99e-05/0.2392, allocations: 11.91 kB / 1.058 GB, free: 2.172 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.179e-05/0.2393, allocations: 7.938 kB / 1.058 GB, free: 2.164 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 11 (ac.curSeed,$PRE.ac.curSeed,ac.pOff,$PRE.ac.pOff,ac.pOn,$PRE.ac.pOn,ac.on,$PRE.ac.on,occ.y,ac.sampleTrigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000102/0.2394, allocations: 131.9 kB / 1.058 GB, free: 2.027 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.046e-05/0.2394, allocations: 7.906 kB / 1.058 GB, free: 2.02 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.337e-05/0.2394, allocations: 8.719 kB / 1.058 GB, free: 2.012 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/0.2394, allocations: 4 kB / 1.058 GB, free: 2.008 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.2394, allocations: 3.938 kB / 1.058 GB, free: 2.004 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.185e-06/0.2394, allocations: 0 / 1.058 GB, free: 2.004 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005459/0.24, allocations: 438.3 kB / 1.058 GB, free: 1.52 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.24, allocations: 0 / 1.058 GB, free: 1.52 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.051e-05/0.24, allocations: 4 kB / 1.058 GB, free: 1.516 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.2401, allocations: 0 / 1.058 GB, free: 1.516 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.43e-05/0.2401, allocations: 3.984 kB / 1.058 GB, free: 1.512 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.976e-06/0.2401, allocations: 4 kB / 1.058 GB, free: 1.508 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.2401, allocations: 3.938 kB / 1.058 GB, free: 1.504 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003661/0.2405, allocations: 255.3 kB / 1.059 GB, free: 1.238 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.195e-05/0.2405, allocations: 85.02 kB / 1.059 GB, free: 1.137 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.186e-05/0.2405, allocations: 0 / 1.059 GB, free: 1.137 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000111/0.2406, allocations: 11.98 kB / 1.059 GB, free: 1.125 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.208e-05/0.2407, allocations: 7.938 kB / 1.059 GB, free: 1.117 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.356e-05/0.2407, allocations: 7.984 kB / 1.059 GB, free: 1.109 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 5.405e-05/0.2408, allocations: 99.27 kB / 1.059 GB, free: 1.012 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.51e-07/0.2408, allocations: 3.938 kB / 1.059 GB, free: 1.008 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0003113/0.2411, allocations: 48 kB / 1.059 GB, free: 0.9609 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (ac.sampleTrigger,$whenCondition1,occ.y,ac.on,ac.pOn,ac.pOff,ac.curSeed) * Number of discrete states: 1 (ac.on) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008413/0.2419, allocations: 0.8446 MB / 1.06 GB, free: 108 kB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.000248/0.2422, allocations: 83.89 kB / 1.06 GB, free: 24 kB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.145e-06/0.2422, allocations: 0 / 1.06 GB, free: 24 kB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001508/0.2424, allocations: 55.84 kB / 1.06 GB, free: 15.97 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002635/0.2426, allocations: 20.23 kB / 1.06 GB, free: 15.95 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001578/0.2442, allocations: 1.594 MB / 1.061 GB, free: 14.24 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000232/0.2445, allocations: 0.6926 MB / 1.062 GB, free: 13.52 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.546e-05/0.2445, allocations: 4 kB / 1.062 GB, free: 13.52 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.978e-05/0.2446, allocations: 19.42 kB / 1.062 GB, free: 13.5 MB / 0.8262 GB Notification: Performance of SimCode: time 1.493e-06/0.2446, allocations: 3.938 kB / 1.062 GB, free: 13.5 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0189/0.2635, allocations: 2.988 MB / 1.065 GB, free: 10.66 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001985/0.2637, allocations: 278 kB / 1.065 GB, free: 10.29 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.707/1.971, allocations: 0 / 1.065 GB, free: 10.29 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.pipe >> ../files/Buildings_latest_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom_res.mat --tempDir=temp_Buildings_latest_Buildings_Occupants_Residential_AirConditioning_Validation_Ren2014ACBedroom_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Occupants_Residential_AirConditioning_Validation_Ren2014ACBedroom.fmu > Buildings_latest_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Residential_AirConditioning_Validation_Ren2014ACBedroom.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches