Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Occupants_Residential_AirConditioning_Validation_Ren2014ACBedroom",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom,fileNamePrefix="Buildings_9_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.004499/0.004499, allocations: 102.1 kB / 15.73 MB, free: 6.492 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.001064/0.001064, allocations: 192.4 kB / 16.67 MB, free: 6.379 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.367/1.367, allocations: 222.9 MB / 240.4 MB, free: 4.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.441/2.441, allocations: 390.2 MB / 0.6648 GB, free: 192 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001225/0.001225, allocations: 65.8 kB / 0.9504 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3431/0.3443, allocations: 140.4 MB / 1.087 GB, free: 2.031 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom): time 0.003199/0.3476, allocations: 1.504 MB / 1.089 GB, free: 0.5156 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001652/0.3492, allocations: 0.827 MB / 1.09 GB, free: 15.68 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.598e-05/0.3493, allocations: 0 / 1.09 GB, free: 15.68 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 4.285e-05/0.3494, allocations: 3.938 kB / 1.09 GB, free: 15.68 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 7.569e-05/0.3495, allocations: 19.84 kB / 1.09 GB, free: 15.66 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007642/0.3503, allocations: 151.5 kB / 1.09 GB, free: 15.51 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001638/0.3504, allocations: 91.7 kB / 1.09 GB, free: 15.42 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001133/0.3506, allocations: 23.97 kB / 1.09 GB, free: 15.4 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001193/0.3507, allocations: 39.91 kB / 1.09 GB, free: 15.36 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 9.507e-05/0.3508, allocations: 39.83 kB / 1.09 GB, free: 15.32 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.573e-05/0.3508, allocations: 11.94 kB / 1.09 GB, free: 15.31 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000307/0.3511, allocations: 131.8 kB / 1.09 GB, free: 15.18 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.969e-05/0.3512, allocations: 15.97 kB / 1.09 GB, free: 15.16 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 6.612e-05/0.3513, allocations: 39.8 kB / 1.09 GB, free: 15.12 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0004032/0.3517, allocations: 186.4 kB / 1.09 GB, free: 14.95 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 7.524e-06/0.3517, allocations: 7.938 kB / 1.09 GB, free: 14.94 MB / 0.8575 GB Notification: Performance of FrontEnd: time 3.887e-06/0.3517, allocations: 0 / 1.09 GB, free: 14.94 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.627e-06/0.3517, allocations: 3.938 kB / 1.09 GB, free: 14.93 MB / 0.8575 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.0009829/0.3527, allocations: 479.4 kB / 1.091 GB, free: 14.41 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.257e-05/0.3528, allocations: 8.031 kB / 1.091 GB, free: 14.4 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.231e-05/0.3528, allocations: 38.75 kB / 1.091 GB, free: 14.35 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.024e-05/0.3529, allocations: 8.844 kB / 1.091 GB, free: 14.34 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001668/0.3531, allocations: 176.2 kB / 1.091 GB, free: 14.13 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.042e-05/0.3531, allocations: 8.375 kB / 1.091 GB, free: 14.12 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.521e-05/0.3531, allocations: 8.375 kB / 1.091 GB, free: 14.12 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002696/0.3534, allocations: 85.7 kB / 1.091 GB, free: 14.03 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.081e-05/0.3534, allocations: 0 / 1.091 GB, free: 14.03 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.876e-05/0.3534, allocations: 3.984 kB / 1.091 GB, free: 14.02 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.079e-06/0.3535, allocations: 4 kB / 1.091 GB, free: 14.02 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001628/0.3536, allocations: 43.97 kB / 1.091 GB, free: 13.98 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006628/0.3543, allocations: 332.7 kB / 1.092 GB, free: 13.6 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002359/0.3546, allocations: 82.56 kB / 1.092 GB, free: 13.51 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001171/0.3547, allocations: 44.83 kB / 1.092 GB, free: 13.46 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.396e-05/0.3547, allocations: 4 kB / 1.092 GB, free: 13.46 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000322/0.355, allocations: 91.36 kB / 1.092 GB, free: 13.36 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=8): time 1.823e-06/0.3551, allocations: 0 / 1.092 GB, free: 13.36 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8): time 0.0005577/0.3556, allocations: 189.6 kB / 1.092 GB, free: 13.17 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.937e-05/0.3557, allocations: 59.41 kB / 1.092 GB, free: 13.1 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000125/0.3558, allocations: 134 kB / 1.092 GB, free: 12.95 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.85e-05/0.3559, allocations: 29.7 kB / 1.092 GB, free: 12.92 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.737e-05/0.3559, allocations: 92.14 kB / 1.092 GB, free: 12.82 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.093e-05/0.356, allocations: 23.73 kB / 1.092 GB, free: 12.8 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.542e-05/0.356, allocations: 29.7 kB / 1.092 GB, free: 12.77 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001432/0.3562, allocations: 322.8 kB / 1.093 GB, free: 12.44 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.497e-05/0.3563, allocations: 23.97 kB / 1.093 GB, free: 12.42 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000105/0.3564, allocations: 73.75 kB / 1.093 GB, free: 12.33 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001884/0.3566, allocations: 113.8 kB / 1.093 GB, free: 12.2 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.3566, allocations: 0 / 1.093 GB, free: 12.2 MB / 0.8575 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002936/0.3569, allocations: 117.4 kB / 1.093 GB, free: 12.07 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.017e-05/0.3569, allocations: 8 kB / 1.093 GB, free: 12.07 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/0.3569, allocations: 4.188 kB / 1.093 GB, free: 12.06 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.204e-05/0.357, allocations: 7.938 kB / 1.093 GB, free: 12.05 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.634e-05/0.3571, allocations: 19.92 kB / 1.093 GB, free: 12.04 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.438e-06/0.3571, allocations: 4 kB / 1.093 GB, free: 12.03 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.956e-05/0.3572, allocations: 11.91 kB / 1.093 GB, free: 12.02 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.593e-05/0.3572, allocations: 7.984 kB / 1.093 GB, free: 12.01 MB / 0.8575 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.0001112/0.3573, allocations: 136 kB / 1.093 GB, free: 11.87 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.156e-05/0.3573, allocations: 11.91 kB / 1.093 GB, free: 11.86 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.889e-05/0.3574, allocations: 4.719 kB / 1.093 GB, free: 11.86 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.27e-06/0.3574, allocations: 4 kB / 1.093 GB, free: 11.85 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.091e-06/0.3574, allocations: 3.938 kB / 1.093 GB, free: 11.85 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.327e-06/0.3574, allocations: 0 / 1.093 GB, free: 11.85 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005366/0.3579, allocations: 430.4 kB / 1.094 GB, free: 11.37 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.3579, allocations: 0 / 1.094 GB, free: 11.37 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.934e-05/0.358, allocations: 4 kB / 1.094 GB, free: 11.37 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.358, allocations: 4 kB / 1.094 GB, free: 11.36 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.604e-05/0.358, allocations: 7.984 kB / 1.094 GB, free: 11.36 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.358, allocations: 0 / 1.094 GB, free: 11.36 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.177e-06/0.358, allocations: 3.938 kB / 1.094 GB, free: 11.35 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003485/0.3584, allocations: 243.3 kB / 1.094 GB, free: 11.1 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.765e-05/0.3584, allocations: 85.02 kB / 1.094 GB, free: 11 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.597e-05/0.3585, allocations: 4 kB / 1.094 GB, free: 10.99 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001045/0.3586, allocations: 11.98 kB / 1.094 GB, free: 10.98 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.919e-05/0.3586, allocations: 11.92 kB / 1.094 GB, free: 10.97 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.503e-05/0.3587, allocations: 11.92 kB / 1.094 GB, free: 10.96 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 6.035e-05/0.3587, allocations: 99.27 kB / 1.094 GB, free: 10.86 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3587, allocations: 0 / 1.094 GB, free: 10.86 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003607/0.3591, allocations: 51.98 kB / 1.094 GB, free: 10.81 MB / 0.8575 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.001137/0.3602, allocations: 0.8431 MB / 1.095 GB, free: 9.953 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002973/0.3606, allocations: 92.44 kB / 1.095 GB, free: 9.863 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.3606, allocations: 0 / 1.095 GB, free: 9.863 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001415/0.3607, allocations: 51.89 kB / 1.095 GB, free: 9.812 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003278/0.361, allocations: 21.19 kB / 1.095 GB, free: 9.793 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002072/0.3631, allocations: 1.584 MB / 1.097 GB, free: 8.094 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003746/0.3635, allocations: 0.6938 MB / 1.097 GB, free: 7.375 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 4.411e-05/0.3636, allocations: 4 kB / 1.097 GB, free: 7.371 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.724e-05/0.3636, allocations: 23.42 kB / 1.097 GB, free: 7.348 MB / 0.8575 GB Notification: Performance of SimCode: time 3.457e-06/0.3636, allocations: 0 / 1.097 GB, free: 7.348 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02453/0.3882, allocations: 3.25 MB / 1.1 GB, free: 4.246 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.766/8.154, allocations: 17.42 kB / 1.101 GB, free: 4.23 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.pipe ; mkfifo Buildings_9_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.pipe >> ../files/Buildings_9_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom_res.mat --tempDir=temp_Buildings_9_Buildings_Occupants_Residential_AirConditioning_Validation_Ren2014ACBedroom_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Occupants_Residential_AirConditioning_Validation_Ren2014ACBedroom.fmu > Buildings_9_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Residential_AirConditioning_Validation_Ren2014ACBedroom.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,ac.TIn,ac.occ,ac.on Variables in the result:Tin.amplitude,Tin.f,Tin.offset,Tin.phase,Tin.startTime,Tin.y,ac.L1,ac.L2,ac.TIn,ac.k1,ac.k2,ac.occ,ac.on,ac.pOff,ac.pOn,ac.samplePeriod,ac.seed,ac.u1,ac.u2,occ.startTime,occ.startValue,occ.y,time