Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.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.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom,fileNamePrefix="Buildings_11_Buildings_Occupants_Residential_AirConditioning_Validation_Ren2014ACBedroom",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom,fileNamePrefix="Buildings_11_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.001619/0.001619, 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.001601/0.001602, allocations: 195.8 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.425/1.425, 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.865/2.865, allocations: 469.8 MB / 0.7424 GB, free: 7.398 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002003/0.002003, allocations: 64.33 kB / 0.9087 GB, free: 34.37 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2494/0.2514, allocations: 159.2 MB / 1.064 GB, free: 14.21 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom): time 0.002891/0.2544, allocations: 1.499 MB / 1.066 GB, free: 12.7 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001455/0.2558, allocations: 0.8275 MB / 1.066 GB, free: 11.86 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.128e-05/0.2559, allocations: 0 / 1.066 GB, free: 11.86 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.916e-05/0.2559, allocations: 7.875 kB / 1.066 GB, free: 11.86 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.775e-05/0.256, allocations: 15.86 kB / 1.066 GB, free: 11.84 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005743/0.2566, allocations: 155.5 kB / 1.067 GB, free: 11.69 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001206/0.2567, allocations: 91.72 kB / 1.067 GB, free: 11.6 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 8.047e-05/0.2568, allocations: 11.97 kB / 1.067 GB, free: 11.59 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 8.569e-05/0.2569, allocations: 39.86 kB / 1.067 GB, free: 11.55 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 8.739e-05/0.257, allocations: 47.83 kB / 1.067 GB, free: 11.5 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.098e-05/0.257, allocations: 8 kB / 1.067 GB, free: 11.49 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002587/0.2573, allocations: 127.8 kB / 1.067 GB, free: 11.37 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.228e-05/0.2573, allocations: 23.92 kB / 1.067 GB, free: 11.34 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 6.448e-05/0.2574, allocations: 39.8 kB / 1.067 GB, free: 11.3 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.000275/0.2577, allocations: 187.8 kB / 1.067 GB, free: 11.12 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 2.875e-06/0.2577, allocations: 0 / 1.067 GB, free: 11.12 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.222e-06/0.2577, allocations: 0 / 1.067 GB, free: 11.12 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 9.527e-06/0.2577, allocations: 0 / 1.067 GB, free: 11.12 MB / 0.8262 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.0007593/0.2585, allocations: 478.5 kB / 1.068 GB, free: 10.59 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.328e-05/0.2585, allocations: 16.03 kB / 1.068 GB, free: 10.58 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.158e-05/0.2586, allocations: 38.73 kB / 1.068 GB, free: 10.53 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.626e-05/0.2586, allocations: 8.844 kB / 1.068 GB, free: 10.52 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001471/0.2588, allocations: 181.4 kB / 1.068 GB, free: 10.31 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.427e-05/0.2588, allocations: 4.375 kB / 1.068 GB, free: 10.3 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.154e-05/0.2588, allocations: 4.375 kB / 1.068 GB, free: 10.3 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00023/0.2591, allocations: 89.75 kB / 1.068 GB, free: 10.21 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.288e-06/0.2591, allocations: 0 / 1.068 GB, free: 10.21 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.164e-05/0.2591, allocations: 0 / 1.068 GB, free: 10.21 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.557e-06/0.2591, allocations: 4 kB / 1.068 GB, free: 10.2 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001813/0.2593, allocations: 51.91 kB / 1.068 GB, free: 10.15 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005605/0.2599, allocations: 328.6 kB / 1.068 GB, free: 9.781 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002408/0.2601, allocations: 86.55 kB / 1.068 GB, free: 9.688 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001317/0.2603, allocations: 44.83 kB / 1.068 GB, free: 9.641 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.9e-05/0.2603, allocations: 0 / 1.068 GB, free: 9.641 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002257/0.2605, allocations: 91.39 kB / 1.068 GB, free: 9.539 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=8): time 1.403e-06/0.2605, allocations: 4 kB / 1.068 GB, free: 9.535 MB / 0.8262 GB Notification: Performance of matching and sorting (n=8): time 0.0005431/0.2611, allocations: 189.7 kB / 1.069 GB, free: 9.344 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.424e-05/0.2611, allocations: 55.41 kB / 1.069 GB, free: 9.277 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001264/0.2613, allocations: 130.8 kB / 1.069 GB, free: 9.137 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.924e-05/0.2613, allocations: 25.7 kB / 1.069 GB, free: 9.105 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.541e-05/0.2614, allocations: 96.12 kB / 1.069 GB, free: 9.008 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.188e-05/0.2614, allocations: 15.75 kB / 1.069 GB, free: 8.992 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.292e-05/0.2615, allocations: 37.7 kB / 1.069 GB, free: 8.949 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001436/0.2616, allocations: 322.8 kB / 1.069 GB, free: 8.625 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.383e-05/0.2617, allocations: 27.92 kB / 1.069 GB, free: 8.598 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001154/0.2618, allocations: 78.42 kB / 1.069 GB, free: 8.5 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000196/0.262, allocations: 97.92 kB / 1.069 GB, free: 8.383 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.69e-06/0.2621, allocations: 4 kB / 1.069 GB, free: 8.379 MB / 0.8262 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000274/0.2623, allocations: 133.3 kB / 1.07 GB, free: 8.242 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.412e-05/0.2624, allocations: 7.984 kB / 1.07 GB, free: 8.234 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.633e-06/0.2624, allocations: 4 kB / 1.07 GB, free: 8.23 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.203e-05/0.2624, allocations: 0 / 1.07 GB, free: 8.23 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.409e-05/0.2625, allocations: 12 kB / 1.07 GB, free: 8.219 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.177e-05/0.2625, allocations: 7.984 kB / 1.07 GB, free: 8.211 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.551e-05/0.2626, allocations: 7.938 kB / 1.07 GB, free: 8.203 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.542e-05/0.2626, allocations: 12.19 kB / 1.07 GB, free: 8.191 MB / 0.8262 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.0001019/0.2627, allocations: 122.8 kB / 1.07 GB, free: 8.062 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.037e-05/0.2627, allocations: 7.906 kB / 1.07 GB, free: 8.055 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.737e-05/0.2628, allocations: 16.7 kB / 1.07 GB, free: 8.039 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.2628, allocations: 0 / 1.07 GB, free: 8.039 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.2628, allocations: 0 / 1.07 GB, free: 8.039 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.2628, allocations: 0 / 1.07 GB, free: 8.039 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006368/0.2634, allocations: 442.6 kB / 1.07 GB, free: 7.551 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.2634, allocations: 0 / 1.07 GB, free: 7.551 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.535e-05/0.2635, allocations: 7.984 kB / 1.07 GB, free: 7.543 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.2635, allocations: 0 / 1.07 GB, free: 7.543 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.115e-05/0.2635, allocations: 4 kB / 1.07 GB, free: 7.539 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.366e-06/0.2635, allocations: 4 kB / 1.07 GB, free: 7.535 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.2635, allocations: 3.938 kB / 1.07 GB, free: 7.531 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004085/0.2639, allocations: 247.4 kB / 1.07 GB, free: 7.273 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.012e-05/0.264, allocations: 81.02 kB / 1.071 GB, free: 7.176 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.412e-05/0.264, allocations: 7.938 kB / 1.071 GB, free: 7.168 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001166/0.2641, allocations: 11.97 kB / 1.071 GB, free: 7.156 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.096e-05/0.2642, allocations: 15.92 kB / 1.071 GB, free: 7.141 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.688e-06/0.2642, allocations: 0 / 1.071 GB, free: 7.141 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 7.583e-05/0.2643, allocations: 96.67 kB / 1.071 GB, free: 7.047 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.51e-07/0.2643, allocations: 8 kB / 1.071 GB, free: 7.039 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003255/0.2646, allocations: 47.98 kB / 1.071 GB, free: 6.992 MB / 0.8262 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.0009982/0.2656, allocations: 0.8488 MB / 1.072 GB, free: 6.133 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.00029/0.2659, allocations: 95.8 kB / 1.072 GB, free: 6.039 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.2659, allocations: 3.938 kB / 1.072 GB, free: 6.035 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.000142/0.2661, allocations: 43.98 kB / 1.072 GB, free: 5.992 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002704/0.2664, allocations: 20.3 kB / 1.072 GB, free: 5.973 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001837/0.2682, allocations: 1.576 MB / 1.073 GB, free: 4.281 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003296/0.2686, allocations: 0.6961 MB / 1.074 GB, free: 3.559 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.57e-05/0.2686, allocations: 7.984 kB / 1.074 GB, free: 3.551 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.265e-05/0.2686, allocations: 19.44 kB / 1.074 GB, free: 3.531 MB / 0.8262 GB Notification: Performance of SimCode: time 3.01e-07/0.2687, allocations: 4 kB / 1.074 GB, free: 3.527 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02478/0.2934, allocations: 3.171 MB / 1.077 GB, free: 0.4922 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.655/7.949, allocations: 10.42 kB / 1.077 GB, free: 496 kB / 0.8262 GB (rm -f Buildings_11_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.pipe ; mkfifo Buildings_11_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.pipe >> ../files/Buildings_11_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom_res.csv --start-time 0 --stop-time 3600 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 Buildings_11_Buildings_Occupants_Residential_AirConditioning_Validation_Ren2014ACBedroom.fmu > Buildings_11_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Residential_AirConditioning_Validation_Ren2014ACBedroom.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches