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 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: "" <> 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.007287/0.007287, allocations: 95.31 kB / 15.73 MB, free: 6.051 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.002052/0.002052, allocations: 204.8 kB / 16.68 MB, free: 5.973 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.434/1.434, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.953/2.953, allocations: 482.4 MB / 0.7548 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001977/0.001977, allocations: 68.11 kB / 1.083 GB, free: 12.61 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2777/0.2797, allocations: 162.2 MB / 1.241 GB, free: 10.27 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom): time 0.002644/0.2824, allocations: 1.489 MB / 1.243 GB, free: 8.766 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001473/0.2839, allocations: 0.8217 MB / 1.244 GB, free: 7.938 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.116e-05/0.2839, allocations: 4 kB / 1.244 GB, free: 7.934 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 4.099e-05/0.284, allocations: 11.86 kB / 1.244 GB, free: 7.922 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 5.306e-05/0.2841, allocations: 11.86 kB / 1.244 GB, free: 7.91 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005853/0.2846, allocations: 159.5 kB / 1.244 GB, free: 7.754 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001439/0.2848, allocations: 87.75 kB / 1.244 GB, free: 7.668 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.001e-05/0.2849, allocations: 23.95 kB / 1.244 GB, free: 7.645 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 9.126e-05/0.285, allocations: 39.86 kB / 1.244 GB, free: 7.605 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 8.723e-05/0.2851, allocations: 47.81 kB / 1.244 GB, free: 7.559 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.297e-05/0.2851, allocations: 8 kB / 1.244 GB, free: 7.551 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002559/0.2854, allocations: 127.8 kB / 1.244 GB, free: 7.426 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 3.289e-05/0.2854, allocations: 27.86 kB / 1.244 GB, free: 7.398 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 5.535e-05/0.2855, allocations: 39.78 kB / 1.244 GB, free: 7.359 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002948/0.2858, allocations: 179.4 kB / 1.244 GB, free: 7.184 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 2.926e-06/0.2858, allocations: 0 / 1.244 GB, free: 7.184 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.042e-06/0.2858, allocations: 0 / 1.244 GB, free: 7.184 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 9.537e-06/0.2858, allocations: 0 / 1.244 GB, free: 7.184 MB / 0.9981 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.0007828/0.2866, allocations: 490.1 kB / 1.245 GB, free: 6.645 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.485e-05/0.2867, allocations: 12.03 kB / 1.245 GB, free: 6.633 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.016e-05/0.2867, allocations: 38.75 kB / 1.245 GB, free: 6.586 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.944e-05/0.2868, allocations: 12.88 kB / 1.245 GB, free: 6.574 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001423/0.2869, allocations: 180.2 kB / 1.245 GB, free: 6.359 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.57e-05/0.2869, allocations: 4.375 kB / 1.245 GB, free: 6.355 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.109e-05/0.287, allocations: 12.38 kB / 1.245 GB, free: 6.344 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002439/0.2872, allocations: 85.75 kB / 1.245 GB, free: 6.254 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.225e-06/0.2872, allocations: 4 kB / 1.245 GB, free: 6.25 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.19e-05/0.2872, allocations: 0 / 1.245 GB, free: 6.25 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.028e-06/0.2873, allocations: 4 kB / 1.245 GB, free: 6.246 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001797/0.2874, allocations: 47.97 kB / 1.245 GB, free: 6.199 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005684/0.288, allocations: 328.6 kB / 1.246 GB, free: 5.828 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002386/0.2883, allocations: 78.55 kB / 1.246 GB, free: 5.742 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001312/0.2884, allocations: 44.83 kB / 1.246 GB, free: 5.695 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.139e-05/0.2884, allocations: 4 kB / 1.246 GB, free: 5.691 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002421/0.2887, allocations: 95.53 kB / 1.246 GB, free: 5.586 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=8): time 1.653e-06/0.2887, allocations: 0 / 1.246 GB, free: 5.586 MB / 0.9981 GB Notification: Performance of matching and sorting (n=8): time 0.0005585/0.2893, allocations: 189.5 kB / 1.246 GB, free: 5.395 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.122e-05/0.2893, allocations: 55.41 kB / 1.246 GB, free: 5.328 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001122/0.2894, allocations: 132.8 kB / 1.246 GB, free: 5.188 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.038e-05/0.2895, allocations: 25.7 kB / 1.246 GB, free: 5.156 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 6.764e-05/0.2895, allocations: 96.12 kB / 1.246 GB, free: 5.059 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.69e-05/0.2896, allocations: 23.8 kB / 1.246 GB, free: 5.035 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.492e-05/0.2896, allocations: 29.7 kB / 1.246 GB, free: 5 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001499/0.2898, allocations: 330.8 kB / 1.247 GB, free: 4.668 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.483e-05/0.2899, allocations: 19.98 kB / 1.247 GB, free: 4.648 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001175/0.29, allocations: 77.55 kB / 1.247 GB, free: 4.555 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002087/0.2902, allocations: 109.9 kB / 1.247 GB, free: 4.426 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.2902, allocations: 0 / 1.247 GB, free: 4.426 MB / 0.9981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000267/0.2905, allocations: 125.4 kB / 1.247 GB, free: 4.297 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.455e-05/0.2905, allocations: 8 kB / 1.247 GB, free: 4.289 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.2905, allocations: 3.938 kB / 1.247 GB, free: 4.285 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.502e-05/0.2906, allocations: 4 kB / 1.247 GB, free: 4.281 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.606e-05/0.2907, allocations: 19.98 kB / 1.247 GB, free: 4.262 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/0.2907, allocations: 0 / 1.247 GB, free: 4.262 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.104e-05/0.2907, allocations: 11.94 kB / 1.247 GB, free: 4.25 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.488e-05/0.2908, allocations: 4 kB / 1.247 GB, free: 4.246 MB / 0.9981 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.000114/0.2909, allocations: 137.8 kB / 1.247 GB, free: 4.102 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.297e-05/0.2909, allocations: 7.953 kB / 1.247 GB, free: 4.094 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.559e-05/0.291, allocations: 8.719 kB / 1.247 GB, free: 4.082 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.391e-06/0.291, allocations: 4 kB / 1.247 GB, free: 4.078 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.259e-06/0.291, allocations: 3.984 kB / 1.247 GB, free: 4.074 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.866e-06/0.291, allocations: 0 / 1.247 GB, free: 4.074 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006309/0.2916, allocations: 430.4 kB / 1.248 GB, free: 3.598 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/0.2916, allocations: 0 / 1.248 GB, free: 3.598 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.233e-05/0.2917, allocations: 4 kB / 1.248 GB, free: 3.594 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.2917, allocations: 48 / 1.248 GB, free: 3.594 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.631e-05/0.2917, allocations: 7.969 kB / 1.248 GB, free: 3.586 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.436e-06/0.2917, allocations: 4 kB / 1.248 GB, free: 3.582 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.46e-06/0.2917, allocations: 3.938 kB / 1.248 GB, free: 3.578 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004186/0.2921, allocations: 247.4 kB / 1.248 GB, free: 3.32 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.84e-05/0.2922, allocations: 85.06 kB / 1.248 GB, free: 3.219 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.49e-05/0.2922, allocations: 4 kB / 1.248 GB, free: 3.215 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001154/0.2924, allocations: 7.984 kB / 1.248 GB, free: 3.207 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.821e-05/0.2924, allocations: 11.88 kB / 1.248 GB, free: 3.195 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.509e-05/0.2924, allocations: 7.984 kB / 1.248 GB, free: 3.188 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 6.916e-05/0.2925, allocations: 102.1 kB / 1.248 GB, free: 3.09 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.01e-07/0.2925, allocations: 0 / 1.248 GB, free: 3.09 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003339/0.2929, allocations: 55.86 kB / 1.248 GB, free: 3.035 MB / 0.9981 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.001/0.2939, allocations: 0.8488 MB / 1.249 GB, free: 2.176 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002805/0.2942, allocations: 87.83 kB / 1.249 GB, free: 2.09 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.2942, allocations: 0 / 1.249 GB, free: 2.09 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001533/0.2943, allocations: 51.95 kB / 1.249 GB, free: 2.039 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002791/0.2946, allocations: 14.36 kB / 1.249 GB, free: 2.027 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001833/0.2965, allocations: 1.583 MB / 1.251 GB, free: 336 kB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.4601/0.7566, allocations: 0.6921 MB / 1.251 GB, free: 14.5 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 5.946e-05/0.7567, allocations: 5.062 kB / 1.251 GB, free: 14.5 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.3e-05/0.7567, allocations: 21.72 kB / 1.251 GB, free: 14.49 MB / 0.9981 GB Notification: Performance of SimCode: time 5.01e-07/0.7567, allocations: 0 / 1.251 GB, free: 14.49 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02416/0.7809, allocations: 3.217 MB / 1.254 GB, free: 14.13 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.201/8.982, allocations: 11.17 kB / 1.254 GB, free: 14.12 MB / 0.9981 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 & python3 -m fmpy simulate --output-file Buildings_latest_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_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.csv","/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