Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.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.Ren2014ACLivingroom,fileNamePrefix="Buildings_latest_Buildings_Occupants_Residential_AirConditioning_Validation_Ren2014ACLivingroom",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom,fileNamePrefix="Buildings_latest_Buildings_Occupants_Residential_AirConditioning_Validation_Ren2014ACLivingroom",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.005054/0.005054, allocations: 101.6 kB / 15.73 MB, free: 5.996 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.001486/0.001486, allocations: 190.3 kB / 16.67 MB, free: 5.93 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.402/1.402, 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.915/2.915, allocations: 482.4 MB / 0.7548 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001917/0.001917, allocations: 71.88 kB / 1.083 GB, free: 12.64 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2768/0.2788, allocations: 162.2 MB / 1.241 GB, free: 10.31 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom): time 0.002614/0.2814, allocations: 1.508 MB / 1.243 GB, free: 8.789 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001366/0.2828, allocations: 0.8217 MB / 1.244 GB, free: 7.961 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.746e-05/0.2828, allocations: 4 kB / 1.244 GB, free: 7.957 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.176e-05/0.2829, allocations: 7.922 kB / 1.244 GB, free: 7.949 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 4.856e-05/0.2829, allocations: 11.88 kB / 1.244 GB, free: 7.938 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005489/0.2835, allocations: 159.5 kB / 1.244 GB, free: 7.781 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001393/0.2836, allocations: 91.7 kB / 1.244 GB, free: 7.691 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 7.744e-05/0.2837, allocations: 15.97 kB / 1.244 GB, free: 7.676 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 8.697e-05/0.2838, allocations: 39.91 kB / 1.244 GB, free: 7.637 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 8.016e-05/0.2839, allocations: 51.77 kB / 1.244 GB, free: 7.586 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.222e-05/0.2839, allocations: 8 kB / 1.244 GB, free: 7.578 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000245/0.2842, allocations: 127.8 kB / 1.244 GB, free: 7.453 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 3.349e-05/0.2842, allocations: 23.91 kB / 1.244 GB, free: 7.43 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 4.887e-05/0.2843, allocations: 39.8 kB / 1.244 GB, free: 7.391 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002817/0.2846, allocations: 183.4 kB / 1.244 GB, free: 7.211 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 2.986e-06/0.2846, allocations: 0 / 1.244 GB, free: 7.211 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.132e-06/0.2846, allocations: 0 / 1.244 GB, free: 7.211 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 9.828e-06/0.2846, allocations: 0 / 1.244 GB, free: 7.211 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.0007413/0.2854, allocations: 494 kB / 1.245 GB, free: 6.668 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.351e-05/0.2854, allocations: 8.031 kB / 1.245 GB, free: 6.66 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.5e-05/0.2854, allocations: 42.73 kB / 1.245 GB, free: 6.609 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.418e-05/0.2855, allocations: 8.891 kB / 1.245 GB, free: 6.602 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001337/0.2856, allocations: 172.3 kB / 1.245 GB, free: 6.395 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.633e-05/0.2857, allocations: 8.375 kB / 1.245 GB, free: 6.387 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.511e-05/0.2857, allocations: 4.375 kB / 1.245 GB, free: 6.383 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002396/0.2859, allocations: 93.69 kB / 1.245 GB, free: 6.285 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.684e-06/0.2859, allocations: 4 kB / 1.245 GB, free: 6.281 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.129e-05/0.286, allocations: 0 / 1.245 GB, free: 6.281 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.426e-06/0.286, allocations: 0 / 1.245 GB, free: 6.281 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001777/0.2861, allocations: 47.97 kB / 1.245 GB, free: 6.234 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000535/0.2867, allocations: 328.7 kB / 1.246 GB, free: 5.863 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002397/0.2869, allocations: 82.58 kB / 1.246 GB, free: 5.773 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001274/0.2871, allocations: 44.83 kB / 1.246 GB, free: 5.727 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.741e-05/0.2871, allocations: 4 kB / 1.246 GB, free: 5.723 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002226/0.2873, allocations: 87.36 kB / 1.246 GB, free: 5.625 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=8): time 1.582e-06/0.2873, allocations: 4 kB / 1.246 GB, free: 5.621 MB / 0.9981 GB Notification: Performance of matching and sorting (n=8): time 0.0005402/0.2879, allocations: 189.5 kB / 1.246 GB, free: 5.43 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.273e-05/0.288, allocations: 55.55 kB / 1.246 GB, free: 5.363 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000111/0.2881, allocations: 130.1 kB / 1.246 GB, free: 5.223 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.98e-05/0.2881, allocations: 25.7 kB / 1.246 GB, free: 5.191 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 6.684e-05/0.2882, allocations: 96.12 kB / 1.246 GB, free: 5.094 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.475e-05/0.2882, allocations: 23.8 kB / 1.246 GB, free: 5.07 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.317e-05/0.2883, allocations: 33.7 kB / 1.246 GB, free: 5.031 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001448/0.2884, allocations: 326.8 kB / 1.247 GB, free: 4.703 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.795e-05/0.2885, allocations: 23.92 kB / 1.247 GB, free: 4.68 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001216/0.2886, allocations: 66 kB / 1.247 GB, free: 4.594 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001981/0.2888, allocations: 109.9 kB / 1.247 GB, free: 4.465 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.2889, allocations: 4 kB / 1.247 GB, free: 4.461 MB / 0.9981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002734/0.2891, allocations: 129.5 kB / 1.247 GB, free: 4.328 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.153e-05/0.2891, allocations: 4 kB / 1.247 GB, free: 4.324 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.047e-06/0.2892, allocations: 0 / 1.247 GB, free: 4.324 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.641e-05/0.2892, allocations: 7.984 kB / 1.247 GB, free: 4.316 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.86e-05/0.2893, allocations: 19.88 kB / 1.247 GB, free: 4.297 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/0.2893, allocations: 0 / 1.247 GB, free: 4.297 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.923e-05/0.2894, allocations: 16.12 kB / 1.247 GB, free: 4.281 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.214e-05/0.2894, allocations: 4 kB / 1.247 GB, free: 4.277 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.0001064/0.2895, allocations: 132.8 kB / 1.247 GB, free: 4.141 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.066e-05/0.2895, allocations: 7.953 kB / 1.247 GB, free: 4.133 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.472e-05/0.2896, allocations: 8.719 kB / 1.247 GB, free: 4.121 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-06/0.2896, allocations: 7.984 kB / 1.247 GB, free: 4.113 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.885e-06/0.2896, allocations: 0 / 1.247 GB, free: 4.113 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.2896, allocations: 0 / 1.247 GB, free: 4.113 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006178/0.2902, allocations: 434.4 kB / 1.248 GB, free: 3.633 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.626e-06/0.2902, allocations: 4 kB / 1.248 GB, free: 3.629 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.3e-05/0.2903, allocations: 7.984 kB / 1.248 GB, free: 3.621 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.2903, allocations: 0 / 1.248 GB, free: 3.621 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.094e-05/0.2903, allocations: 0 / 1.248 GB, free: 3.621 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.637e-06/0.2903, allocations: 4 kB / 1.248 GB, free: 3.617 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.2903, allocations: 3.938 kB / 1.248 GB, free: 3.613 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004112/0.2907, allocations: 247.4 kB / 1.248 GB, free: 3.355 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.672e-05/0.2908, allocations: 85.06 kB / 1.248 GB, free: 3.254 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.131e-05/0.2908, allocations: 0 / 1.248 GB, free: 3.254 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001187/0.2909, allocations: 11.98 kB / 1.248 GB, free: 3.242 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.346e-05/0.291, allocations: 11.92 kB / 1.248 GB, free: 3.23 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.204e-05/0.291, allocations: 4 kB / 1.248 GB, free: 3.227 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 6.572e-05/0.2911, allocations: 99.27 kB / 1.248 GB, free: 3.129 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2911, allocations: 0 / 1.248 GB, free: 3.129 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003177/0.2914, allocations: 51.86 kB / 1.248 GB, free: 3.078 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.0009898/0.2924, allocations: 0.863 MB / 1.249 GB, free: 2.203 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002792/0.2927, allocations: 79.89 kB / 1.249 GB, free: 2.125 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.2927, allocations: 0 / 1.249 GB, free: 2.125 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001543/0.2929, allocations: 52.28 kB / 1.249 GB, free: 2.074 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002674/0.2931, allocations: 19.92 kB / 1.249 GB, free: 2.055 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001807/0.2949, allocations: 1.581 MB / 1.251 GB, free: 368 kB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.4553/0.7502, allocations: 0.6889 MB / 1.251 GB, free: 14.55 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 6.111e-05/0.7503, allocations: 8.406 kB / 1.251 GB, free: 14.55 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.639e-05/0.7504, allocations: 21.48 kB / 1.251 GB, free: 14.55 MB / 0.9981 GB Notification: Performance of SimCode: time 7.42e-07/0.7504, allocations: 0.9062 kB / 1.251 GB, free: 14.55 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02394/0.7743, allocations: 3.223 MB / 1.254 GB, free: 14.18 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.731/8.506, allocations: 5.359 kB / 1.254 GB, free: 14.18 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.pipe >> ../files/Buildings_latest_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom_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_Ren2014ACLivingroom.fmu > Buildings_latest_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Residential_AirConditioning_Validation_Ren2014ACLivingroom.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches