Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Occupants_Residential_AirConditioning_Validation_Ren2014ACBedroom",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom,fileNamePrefix="Buildings_10_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.001242/0.001242, 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.001186/0.001186, allocations: 195.1 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.378/1.378, allocations: 222.9 MB / 240.2 MB, free: 4.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.55/2.55, allocations: 437.1 MB / 0.7104 GB, free: 5.137 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001355/0.001355, allocations: 59.91 kB / 0.8694 GB, free: 4.578 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6688/0.6702, allocations: 151.6 MB / 1.017 GB, free: 2.492 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom): time 0.003334/0.6736, allocations: 1.505 MB / 1.019 GB, free: 0.9766 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001551/0.6752, allocations: 0.8255 MB / 1.02 GB, free: 148 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.395e-05/0.6753, allocations: 0 / 1.02 GB, free: 148 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 4.026e-05/0.6753, allocations: 3.938 kB / 1.02 GB, free: 144 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 8.165e-05/0.6754, allocations: 19.84 kB / 1.02 GB, free: 124 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008031/0.6762, allocations: 159.5 kB / 1.02 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001538/0.6764, allocations: 95.69 kB / 1.02 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001192/0.6765, allocations: 8 kB / 1.02 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001154/0.6767, allocations: 39.91 kB / 1.02 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 9.617e-05/0.6768, allocations: 47.81 kB / 1.02 GB, free: 15.78 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.983e-05/0.6768, allocations: 8 kB / 1.02 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003062/0.6771, allocations: 127.8 kB / 1.02 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 3.82e-05/0.6772, allocations: 15.92 kB / 1.02 GB, free: 15.63 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 7.318e-05/0.6772, allocations: 51.77 kB / 1.02 GB, free: 15.58 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0004065/0.6777, allocations: 169.9 kB / 1.02 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 6.141e-06/0.6777, allocations: 0 / 1.02 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.234e-06/0.6777, allocations: 0 / 1.02 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 8.876e-06/0.6777, allocations: 0 / 1.02 GB, free: 15.41 MB / 0.7794 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.0009627/0.6787, allocations: 482.5 kB / 1.021 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.811e-05/0.6787, allocations: 15.97 kB / 1.021 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.948e-05/0.6788, allocations: 34.69 kB / 1.021 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.506e-05/0.6789, allocations: 12.78 kB / 1.021 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000133/0.679, allocations: 180.2 kB / 1.021 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.164e-05/0.679, allocations: 8.359 kB / 1.021 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.047e-05/0.6791, allocations: 8.375 kB / 1.021 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002279/0.6793, allocations: 81.77 kB / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/0.6793, allocations: 3.938 kB / 1.021 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.416e-05/0.6793, allocations: 0 / 1.021 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.572e-06/0.6793, allocations: 8 kB / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00016/0.6795, allocations: 47.95 kB / 1.021 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005189/0.68, allocations: 320.8 kB / 1.022 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002189/0.6803, allocations: 86.56 kB / 1.022 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001113/0.6804, allocations: 40.84 kB / 1.022 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.192e-05/0.6804, allocations: 0 / 1.022 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002415/0.6807, allocations: 95.5 kB / 1.022 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=8): time 1.282e-06/0.6807, allocations: 0 / 1.022 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of matching and sorting (n=8): time 0.0005231/0.6812, allocations: 189.5 kB / 1.022 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.671e-05/0.6813, allocations: 59.39 kB / 1.022 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001073/0.6814, allocations: 139.9 kB / 1.022 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.9e-05/0.6814, allocations: 25.7 kB / 1.022 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.104e-05/0.6815, allocations: 92.14 kB / 1.022 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.421e-05/0.6815, allocations: 19.8 kB / 1.022 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.044e-05/0.6816, allocations: 29.72 kB / 1.022 GB, free: 13.24 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001139/0.6817, allocations: 326.8 kB / 1.023 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.442e-05/0.6818, allocations: 23.98 kB / 1.023 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001012/0.6819, allocations: 75.23 kB / 1.023 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001972/0.6821, allocations: 105.9 kB / 1.023 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.6821, allocations: 4 kB / 1.023 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002409/0.6823, allocations: 129.4 kB / 1.023 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.864e-05/0.6824, allocations: 8 kB / 1.023 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.6824, allocations: 0 / 1.023 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.727e-05/0.6824, allocations: 4 kB / 1.023 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.298e-05/0.6825, allocations: 15.92 kB / 1.023 GB, free: 12.51 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.328e-06/0.6825, allocations: 4 kB / 1.023 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.838e-05/0.6826, allocations: 11.84 kB / 1.023 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.476e-05/0.6826, allocations: 12.19 kB / 1.023 GB, free: 12.48 MB / 0.7794 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 9.474e-05/0.6827, allocations: 125.7 kB / 1.023 GB, free: 12.35 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.17e-05/0.6827, allocations: 15.83 kB / 1.023 GB, free: 12.33 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.818e-05/0.6828, allocations: 8.719 kB / 1.023 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-06/0.6828, allocations: 0 / 1.023 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.047e-06/0.6828, allocations: 0 / 1.023 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.6828, allocations: 4 kB / 1.023 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005075/0.6833, allocations: 430.4 kB / 1.024 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.6833, allocations: 4 kB / 1.024 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.803e-05/0.6834, allocations: 3.984 kB / 1.024 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.851e-06/0.6834, allocations: 4 kB / 1.024 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.097e-05/0.6834, allocations: 0 / 1.024 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.6834, allocations: 0 / 1.024 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/0.6834, allocations: 3.938 kB / 1.024 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003548/0.6838, allocations: 255.3 kB / 1.024 GB, free: 11.56 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.816e-05/0.6838, allocations: 81.02 kB / 1.024 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.664e-05/0.6838, allocations: 7.984 kB / 1.024 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001029/0.6839, allocations: 4 kB / 1.024 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.593e-05/0.684, allocations: 15.92 kB / 1.024 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.289e-05/0.684, allocations: 4 kB / 1.024 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.754e-05/0.6841, allocations: 100.9 kB / 1.024 GB, free: 11.33 MB / 0.7794 GB Notification: Performance of sort global known variables: time 3.2e-07/0.6841, allocations: 4 kB / 1.024 GB, free: 11.33 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003239/0.6844, allocations: 47.98 kB / 1.024 GB, free: 11.28 MB / 0.7794 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.000902/0.6853, allocations: 0.8571 MB / 1.025 GB, free: 10.41 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002651/0.6856, allocations: 87.88 kB / 1.025 GB, free: 10.33 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.6856, allocations: 0 / 1.025 GB, free: 10.33 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001293/0.6857, allocations: 52.28 kB / 1.025 GB, free: 10.28 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002851/0.686, allocations: 17.97 kB / 1.025 GB, free: 10.26 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0016/0.6876, allocations: 1.593 MB / 1.027 GB, free: 8.555 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002165/0.6879, allocations: 0.6924 MB / 1.027 GB, free: 7.836 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.707e-05/0.6879, allocations: 4 kB / 1.027 GB, free: 7.832 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.881e-05/0.688, allocations: 27.42 kB / 1.027 GB, free: 7.805 MB / 0.7794 GB Notification: Performance of SimCode: time 2.11e-07/0.688, allocations: 0 / 1.027 GB, free: 7.805 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01998/0.708, allocations: 3.159 MB / 1.03 GB, free: 4.777 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.118/7.826, allocations: 18.39 kB / 1.03 GB, free: 4.77 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.pipe ; mkfifo Buildings_10_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.pipe >> ../files/Buildings_10_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Occupants_Residential_AirConditioning_Validation_Ren2014ACBedroom.fmu > Buildings_10_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Residential_AirConditioning_Validation_Ren2014ACBedroom.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches