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.001514/0.001514, allocations: 104 kB / 15.78 MB, free: 5.98 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.001647/0.001647, allocations: 198.2 kB / 16.72 MB, free: 5.836 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.429/1.429, allocations: 225.6 MB / 243.1 MB, free: 3.691 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.844/2.844, allocations: 489.4 MB / 0.767 GB, free: 3.734 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001897/0.001897, allocations: 55.91 kB / 1.114 GB, free: 7.332 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.002/1.004, allocations: 172 MB / 1.282 GB, free: 5.047 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom): time 0.003402/1.008, allocations: 1.512 MB / 1.284 GB, free: 3.984 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001536/1.009, allocations: 0.8334 MB / 1.284 GB, free: 3.418 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.918e-05/1.009, allocations: 3.938 kB / 1.284 GB, free: 3.414 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.414e-05/1.009, allocations: 4.734 kB / 1.285 GB, free: 3.41 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 5.673e-05/1.009, allocations: 15.09 kB / 1.285 GB, free: 3.398 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006347/1.01, allocations: 152 kB / 1.285 GB, free: 3.324 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001486/1.01, allocations: 96.72 kB / 1.285 GB, free: 3.277 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.613e-05/1.01, allocations: 13.95 kB / 1.285 GB, free: 3.27 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 9.341e-05/1.01, allocations: 38.41 kB / 1.285 GB, free: 3.254 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 8.272e-05/1.01, allocations: 45.58 kB / 1.285 GB, free: 3.234 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.918e-05/1.01, allocations: 7.969 kB / 1.285 GB, free: 3.234 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002736/1.011, allocations: 133.9 kB / 1.285 GB, free: 3.195 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 3.54e-05/1.011, allocations: 21.64 kB / 1.285 GB, free: 3.184 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 5.481e-05/1.011, allocations: 40.56 kB / 1.285 GB, free: 3.156 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003052/1.011, allocations: 178.7 kB / 1.285 GB, free: 3.098 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/1.011, allocations: 1.281 kB / 1.285 GB, free: 3.098 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.683e-06/1.011, allocations: 0 / 1.285 GB, free: 3.098 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.57e-06/1.011, allocations: 0 / 1.285 GB, free: 3.098 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.0007869/1.012, allocations: 498 kB / 1.286 GB, free: 2.617 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.889e-05/1.012, allocations: 12.78 kB / 1.286 GB, free: 2.613 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.044e-05/1.012, allocations: 38.33 kB / 1.286 GB, free: 2.57 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.81e-05/1.012, allocations: 9.734 kB / 1.286 GB, free: 2.566 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001499/1.012, allocations: 175.5 kB / 1.286 GB, free: 2.363 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.636e-05/1.012, allocations: 3.094 kB / 1.286 GB, free: 2.363 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.081e-05/1.012, allocations: 9.109 kB / 1.286 GB, free: 2.359 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002399/1.012, allocations: 89.67 kB / 1.286 GB, free: 2.309 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.165e-06/1.012, allocations: 3.938 kB / 1.286 GB, free: 2.305 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.486e-05/1.012, allocations: 0.6094 kB / 1.286 GB, free: 2.305 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/1.012, allocations: 1.594 kB / 1.286 GB, free: 2.305 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001669/1.013, allocations: 52.17 kB / 1.286 GB, free: 2.289 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005743/1.013, allocations: 327.5 kB / 1.286 GB, free: 1.988 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002515/1.013, allocations: 79.02 kB / 1.286 GB, free: 1.945 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001202/1.014, allocations: 38.09 kB / 1.286 GB, free: 1.93 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.52e-05/1.014, allocations: 9.25 kB / 1.286 GB, free: 1.922 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002711/1.014, allocations: 97.42 kB / 1.287 GB, free: 1.855 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=8): time 1.482e-06/1.014, allocations: 0 / 1.287 GB, free: 1.855 MB / 0.9981 GB Notification: Performance of matching and sorting (n=8): time 0.0005273/1.014, allocations: 187.5 kB / 1.287 GB, free: 1.777 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.74e-05/1.014, allocations: 54.72 kB / 1.287 GB, free: 1.715 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001208/1.015, allocations: 129.6 kB / 1.287 GB, free: 1.602 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.126e-05/1.015, allocations: 27.02 kB / 1.287 GB, free: 1.57 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 7.089e-05/1.015, allocations: 101.9 kB / 1.287 GB, free: 1.473 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.803e-05/1.015, allocations: 24.02 kB / 1.287 GB, free: 1.453 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.179e-05/1.015, allocations: 29.67 kB / 1.287 GB, free: 1.43 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001513/1.015, allocations: 324.8 kB / 1.287 GB, free: 1.109 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.563e-05/1.015, allocations: 23.19 kB / 1.287 GB, free: 1.105 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001143/1.015, allocations: 77.94 kB / 1.288 GB, free: 1.035 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001957/1.015, allocations: 103.7 kB / 1.288 GB, free: 0.9531 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/1.015, allocations: 0 / 1.288 GB, free: 0.9531 MB / 0.9981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002511/1.016, allocations: 124.6 kB / 1.288 GB, free: 0.8906 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.628e-05/1.016, allocations: 8.219 kB / 1.288 GB, free: 0.8906 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/1.016, allocations: 1.094 kB / 1.288 GB, free: 0.8906 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.432e-05/1.016, allocations: 2.812 kB / 1.288 GB, free: 0.8906 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.944e-05/1.016, allocations: 21.25 kB / 1.288 GB, free: 0.8828 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.518e-06/1.016, allocations: 11.45 kB / 1.288 GB, free: 0.875 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.869e-05/1.016, allocations: 9.703 kB / 1.288 GB, free: 0.8711 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.532e-05/1.016, allocations: 9.234 kB / 1.288 GB, free: 0.8672 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.0001156/1.016, allocations: 126.7 kB / 1.288 GB, free: 0.7422 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.195e-05/1.016, allocations: 8.219 kB / 1.288 GB, free: 0.7383 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.128e-05/1.016, allocations: 12.08 kB / 1.288 GB, free: 0.7266 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.075e-06/1.016, allocations: 5.844 kB / 1.288 GB, free: 0.7227 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/1.016, allocations: 1.312 kB / 1.288 GB, free: 0.7227 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.095e-06/1.016, allocations: 0.5625 kB / 1.288 GB, free: 0.7227 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006129/1.017, allocations: 430.4 kB / 1.288 GB, free: 380 kB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/1.017, allocations: 1.438 kB / 1.288 GB, free: 380 kB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.938e-05/1.017, allocations: 4.797 kB / 1.288 GB, free: 380 kB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.365e-06/1.017, allocations: 1.469 kB / 1.288 GB, free: 380 kB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.231e-05/1.017, allocations: 2.688 kB / 1.288 GB, free: 380 kB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.953e-06/1.017, allocations: 4.656 kB / 1.288 GB, free: 376 kB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/1.017, allocations: 5.594 kB / 1.288 GB, free: 372 kB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003933/1.017, allocations: 244.4 kB / 1.289 GB, free: 200 kB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.121e-05/1.017, allocations: 84.09 kB / 1.289 GB, free: 100 kB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.502e-05/1.017, allocations: 6.125 kB / 1.289 GB, free: 96 kB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001201/1.017, allocations: 7.641 kB / 1.289 GB, free: 96 kB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.007e-05/1.017, allocations: 17.41 kB / 1.289 GB, free: 84 kB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.179e-05/1.017, allocations: 4.547 kB / 1.289 GB, free: 84 kB / 0.9981 GB Notification: Performance of sorting global known variables: time 7.182e-05/1.017, allocations: 95.45 kB / 1.289 GB, free: 4 kB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/1.017, allocations: 0 / 1.289 GB, free: 4 kB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003788/1.018, allocations: 51.42 kB / 1.289 GB, free: 15.99 MB / 1.014 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.001015/1.019, allocations: 0.8569 MB / 1.29 GB, free: 15.26 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0002719/1.019, allocations: 85.8 kB / 1.29 GB, free: 15.23 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/1.019, allocations: 4.062 kB / 1.29 GB, free: 15.23 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0001344/1.019, allocations: 44.61 kB / 1.29 GB, free: 15.22 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002808/1.019, allocations: 16.78 kB / 1.29 GB, free: 15.21 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001907/1.021, allocations: 1.605 MB / 1.291 GB, free: 13.79 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003368/1.022, allocations: 0.6912 MB / 1.292 GB, free: 13.09 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 3.762e-05/1.022, allocations: 5.828 kB / 1.292 GB, free: 13.09 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.932e-05/1.022, allocations: 20.91 kB / 1.292 GB, free: 13.08 MB / 1.014 GB Notification: Performance of SimCode: time 6.01e-07/1.022, allocations: 1.438 kB / 1.292 GB, free: 13.08 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02746/1.049, allocations: 3.212 MB / 1.295 GB, free: 12.58 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.813/8.862, allocations: 16.81 kB / 1.295 GB, free: 12.56 MB / 1.014 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 50 --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