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.001205/0.001205, allocations: 108 kB / 15.6 MB, free: 132 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.001268/0.001268, allocations: 192.8 kB / 16.53 MB, free: 6.391 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.203/1.203, allocations: 222.9 MB / 240.2 MB, free: 4.398 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.223/2.223, allocations: 437 MB / 0.7104 GB, free: 5.066 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001151/0.001151, allocations: 63.89 kB / 0.8693 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4375/0.4386, allocations: 151.6 MB / 1.017 GB, free: 2.469 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom): time 0.0022/0.4409, allocations: 1.495 MB / 1.019 GB, free: 0.9648 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001128/0.442, allocations: 0.8294 MB / 1.02 GB, free: 132 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.565e-05/0.442, allocations: 0 / 1.02 GB, free: 132 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.672e-05/0.4421, allocations: 7.922 kB / 1.02 GB, free: 124 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 4.25e-05/0.4421, allocations: 11.88 kB / 1.02 GB, free: 112 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.000486/0.4426, allocations: 159.5 kB / 1.02 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001079/0.4427, allocations: 91.7 kB / 1.02 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 7.378e-05/0.4428, allocations: 16 kB / 1.02 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 7.184e-05/0.4429, allocations: 39.89 kB / 1.02 GB, free: 15.81 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 6.329e-05/0.443, allocations: 43.83 kB / 1.02 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.785e-05/0.443, allocations: 8 kB / 1.02 GB, free: 15.76 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002/0.4432, allocations: 123.8 kB / 1.02 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.851e-05/0.4432, allocations: 31.89 kB / 1.02 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.835e-05/0.4433, allocations: 35.8 kB / 1.02 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002155/0.4435, allocations: 173.9 kB / 1.02 GB, free: 15.4 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.655e-06/0.4435, allocations: 4 kB / 1.02 GB, free: 15.4 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.032e-06/0.4435, allocations: 0 / 1.02 GB, free: 15.4 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.757e-06/0.4435, allocations: 0 / 1.02 GB, free: 15.4 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.0005733/0.4441, allocations: 486.4 kB / 1.021 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 2.86e-05/0.4441, allocations: 8.031 kB / 1.021 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.378e-05/0.4442, allocations: 42.69 kB / 1.021 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.025e-05/0.4442, allocations: 8.844 kB / 1.021 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.493e-05/0.4443, allocations: 176.2 kB / 1.021 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.051e-05/0.4443, allocations: 12.38 kB / 1.021 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.352e-05/0.4444, allocations: 4.375 kB / 1.021 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00019/0.4446, allocations: 89.69 kB / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.753e-06/0.4446, allocations: 3.938 kB / 1.021 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.144e-05/0.4446, allocations: 4 kB / 1.021 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.336e-06/0.4446, allocations: 4 kB / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001401/0.4447, allocations: 43.95 kB / 1.021 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004262/0.4452, allocations: 328.8 kB / 1.022 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001871/0.4454, allocations: 86.56 kB / 1.022 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.844e-05/0.4455, allocations: 36.84 kB / 1.022 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.497e-05/0.4455, allocations: 8 kB / 1.022 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001862/0.4457, allocations: 91.36 kB / 1.022 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=8): time 1.273e-06/0.4457, allocations: 0 / 1.022 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of matching and sorting (n=8): time 0.0004267/0.4461, allocations: 181.5 kB / 1.022 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.794e-05/0.4462, allocations: 67.48 kB / 1.022 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.026e-05/0.4463, allocations: 138 kB / 1.022 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.493e-05/0.4463, allocations: 29.7 kB / 1.022 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.495e-05/0.4463, allocations: 88.14 kB / 1.022 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.726e-05/0.4464, allocations: 19.8 kB / 1.022 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.905e-05/0.4464, allocations: 25.72 kB / 1.022 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.636e-05/0.4465, allocations: 326.8 kB / 1.023 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.321e-05/0.4466, allocations: 27.98 kB / 1.023 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.222e-05/0.4467, allocations: 73.98 kB / 1.023 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000159/0.4468, allocations: 105.9 kB / 1.023 GB, free: 12.65 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.4468, allocations: 0 / 1.023 GB, free: 12.65 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002054/0.447, allocations: 121.6 kB / 1.023 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.114e-05/0.4471, allocations: 15.94 kB / 1.023 GB, free: 12.51 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.4471, allocations: 0 / 1.023 GB, free: 12.51 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.033e-05/0.4471, allocations: 4 kB / 1.023 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.346e-05/0.4472, allocations: 15.92 kB / 1.023 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.152e-06/0.4472, allocations: 4 kB / 1.023 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.803e-05/0.4472, allocations: 15.84 kB / 1.023 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.618e-06/0.4472, allocations: 4 kB / 1.023 GB, free: 12.46 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 8.062e-05/0.4473, allocations: 131.3 kB / 1.023 GB, free: 12.33 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.8e-05/0.4474, allocations: 7.906 kB / 1.023 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.041e-05/0.4474, allocations: 8.719 kB / 1.023 GB, free: 12.31 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.946e-06/0.4474, allocations: 4 kB / 1.023 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.4474, allocations: 0 / 1.023 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.434e-06/0.4474, allocations: 0 / 1.023 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004689/0.4479, allocations: 438.3 kB / 1.024 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.664e-06/0.4479, allocations: 0 / 1.024 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.482e-05/0.4479, allocations: 8 kB / 1.024 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.4479, allocations: 0 / 1.024 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.277e-06/0.4479, allocations: 0 / 1.024 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.789e-06/0.448, allocations: 7.984 kB / 1.024 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.448, allocations: 3.938 kB / 1.024 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003111/0.4483, allocations: 243.3 kB / 1.024 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.68e-05/0.4483, allocations: 93 kB / 1.024 GB, free: 11.44 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.95e-05/0.4483, allocations: 0 / 1.024 GB, free: 11.44 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.493e-05/0.4484, allocations: 8 kB / 1.024 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.105e-05/0.4485, allocations: 15.95 kB / 1.024 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.778e-06/0.4485, allocations: 4 kB / 1.024 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.744e-05/0.4485, allocations: 104.2 kB / 1.024 GB, free: 11.31 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1e-07/0.4486, allocations: 0 / 1.024 GB, free: 11.31 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002671/0.4488, allocations: 48 kB / 1.024 GB, free: 11.26 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.0007143/0.4495, allocations: 0.8555 MB / 1.025 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.000222/0.4498, allocations: 91.89 kB / 1.025 GB, free: 10.3 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.192e-06/0.4498, allocations: 0 / 1.025 GB, free: 10.3 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001193/0.4499, allocations: 47.91 kB / 1.025 GB, free: 10.26 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002234/0.4501, allocations: 12.5 kB / 1.025 GB, free: 10.25 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001361/0.4515, allocations: 1.592 MB / 1.027 GB, free: 8.539 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002036/0.4517, allocations: 0.6971 MB / 1.027 GB, free: 7.816 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.073e-05/0.4518, allocations: 4 kB / 1.027 GB, free: 7.812 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.652e-05/0.4518, allocations: 27.42 kB / 1.027 GB, free: 7.785 MB / 0.7794 GB Notification: Performance of SimCode: time 2.4e-07/0.4518, allocations: 0 / 1.027 GB, free: 7.785 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.284/1.736, allocations: 3.161 MB / 1.03 GB, free: 4.766 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.423/8.159, allocations: 15.86 kB / 1.03 GB, free: 4.75 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom_res.mat --tempDir=temp_Buildings_10_Buildings_Occupants_Residential_AirConditioning_Validation_Ren2014ACBedroom_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 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.mat","/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