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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.007818/0.007818, allocations: 102.8 kB / 15.73 MB, free: 6.035 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.001757/0.001756, allocations: 193.6 kB / 16.67 MB, free: 5.973 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.44/1.44, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.867/2.867, allocations: 461.9 MB / 0.7348 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001438/0.001438, allocations: 59.89 kB / 1.054 GB, free: 7.777 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3695/0.3709, allocations: 157.4 MB / 1.207 GB, free: 10.27 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom): time 0.003351/0.3743, allocations: 1.507 MB / 1.209 GB, free: 8.75 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001651/0.376, allocations: 0.8299 MB / 1.21 GB, free: 7.914 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.093e-05/0.3761, allocations: 0 / 1.21 GB, free: 7.914 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.815e-05/0.3762, allocations: 3.938 kB / 1.21 GB, free: 7.91 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 7.842e-05/0.3763, allocations: 15.88 kB / 1.21 GB, free: 7.895 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007947/0.3771, allocations: 155.5 kB / 1.21 GB, free: 7.742 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.000158/0.3773, allocations: 91.7 kB / 1.21 GB, free: 7.652 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001068/0.3774, allocations: 11.98 kB / 1.21 GB, free: 7.641 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001245/0.3775, allocations: 43.89 kB / 1.21 GB, free: 7.598 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001029/0.3776, allocations: 47.83 kB / 1.21 GB, free: 7.551 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.432e-05/0.3776, allocations: 12 kB / 1.21 GB, free: 7.539 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002996/0.3779, allocations: 123.8 kB / 1.21 GB, free: 7.418 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.578e-05/0.378, allocations: 23.91 kB / 1.21 GB, free: 7.395 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 5.917e-05/0.3781, allocations: 39.78 kB / 1.21 GB, free: 7.355 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0003333/0.3784, allocations: 183.8 kB / 1.21 GB, free: 7.176 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.626e-06/0.3784, allocations: 0 / 1.21 GB, free: 7.176 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.723e-06/0.3784, allocations: 0 / 1.21 GB, free: 7.176 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 7.294e-06/0.3784, allocations: 0 / 1.21 GB, free: 7.176 MB / 0.9669 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.0008224/0.3793, allocations: 486.5 kB / 1.211 GB, free: 6.641 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 5.082e-05/0.3793, allocations: 12.61 kB / 1.211 GB, free: 6.629 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.358e-05/0.3794, allocations: 34.75 kB / 1.211 GB, free: 6.586 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.672e-05/0.3794, allocations: 8.844 kB / 1.211 GB, free: 6.578 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000132/0.3796, allocations: 176.2 kB / 1.211 GB, free: 6.367 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.35e-05/0.3796, allocations: 4.359 kB / 1.211 GB, free: 6.363 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.04e-05/0.3796, allocations: 12.31 kB / 1.211 GB, free: 6.352 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002388/0.3799, allocations: 89.7 kB / 1.211 GB, free: 6.258 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.968e-06/0.3799, allocations: 4 kB / 1.211 GB, free: 6.254 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.319e-05/0.3799, allocations: 0 / 1.211 GB, free: 6.254 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.3799, allocations: 4 kB / 1.211 GB, free: 6.25 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000159/0.3801, allocations: 47.95 kB / 1.211 GB, free: 6.203 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005894/0.3807, allocations: 324.7 kB / 1.211 GB, free: 5.836 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002232/0.3809, allocations: 90.56 kB / 1.211 GB, free: 5.738 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001095/0.3811, allocations: 40.84 kB / 1.212 GB, free: 5.695 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.25e-05/0.3811, allocations: 3.984 kB / 1.212 GB, free: 5.691 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002681/0.3814, allocations: 91.36 kB / 1.212 GB, free: 5.59 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=8): time 1.654e-06/0.3814, allocations: 4 kB / 1.212 GB, free: 5.586 MB / 0.9669 GB Notification: Performance of matching and sorting (n=8): time 0.0005235/0.3819, allocations: 181.5 kB / 1.212 GB, free: 5.402 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.815e-05/0.382, allocations: 63.55 kB / 1.212 GB, free: 5.328 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001184/0.3821, allocations: 131.2 kB / 1.212 GB, free: 5.188 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.091e-05/0.3821, allocations: 29.7 kB / 1.212 GB, free: 5.152 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.334e-05/0.3822, allocations: 100 kB / 1.212 GB, free: 5.051 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.242e-05/0.3822, allocations: 15.75 kB / 1.212 GB, free: 5.035 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.432e-05/0.3823, allocations: 37.7 kB / 1.212 GB, free: 4.992 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001243/0.3824, allocations: 322.8 kB / 1.212 GB, free: 4.668 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.747e-05/0.3825, allocations: 23.98 kB / 1.212 GB, free: 4.645 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.819e-05/0.3826, allocations: 73.92 kB / 1.213 GB, free: 4.551 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001793/0.3828, allocations: 101.9 kB / 1.213 GB, free: 4.43 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/0.3828, allocations: 4 kB / 1.213 GB, free: 4.426 MB / 0.9669 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002456/0.383, allocations: 125.4 kB / 1.213 GB, free: 4.297 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.719e-05/0.3831, allocations: 5.562 kB / 1.213 GB, free: 4.293 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.3831, allocations: 4 kB / 1.213 GB, free: 4.289 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.49e-05/0.3831, allocations: 0 / 1.213 GB, free: 4.289 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.576e-05/0.3832, allocations: 23.92 kB / 1.213 GB, free: 4.266 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.205e-05/0.3832, allocations: 4 kB / 1.213 GB, free: 4.262 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.292e-05/0.3833, allocations: 8.188 kB / 1.213 GB, free: 4.254 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.4e-05/0.3833, allocations: 4 kB / 1.213 GB, free: 4.25 MB / 0.9669 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.0001017/0.3834, allocations: 128.5 kB / 1.213 GB, free: 4.117 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.193e-05/0.3835, allocations: 11.83 kB / 1.213 GB, free: 4.105 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.765e-05/0.3835, allocations: 8.719 kB / 1.213 GB, free: 4.094 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.3835, allocations: 0 / 1.213 GB, free: 4.094 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.948e-06/0.3835, allocations: 3.938 kB / 1.213 GB, free: 4.09 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.938e-06/0.3835, allocations: 0 / 1.213 GB, free: 4.09 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005646/0.3841, allocations: 438.3 kB / 1.213 GB, free: 3.605 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.3841, allocations: 0 / 1.213 GB, free: 3.605 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.356e-05/0.3842, allocations: 11.98 kB / 1.213 GB, free: 3.594 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.7e-06/0.3842, allocations: 4 kB / 1.213 GB, free: 3.59 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.681e-05/0.3842, allocations: 4 kB / 1.213 GB, free: 3.586 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.3842, allocations: 3.938 kB / 1.213 GB, free: 3.582 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.285e-06/0.3842, allocations: 3.938 kB / 1.213 GB, free: 3.578 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003636/0.3846, allocations: 243.8 kB / 1.214 GB, free: 3.324 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.488e-05/0.3846, allocations: 81.02 kB / 1.214 GB, free: 3.227 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.86e-05/0.3847, allocations: 11.98 kB / 1.214 GB, free: 3.215 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001072/0.3848, allocations: 4 kB / 1.214 GB, free: 3.211 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.559e-05/0.3848, allocations: 11.92 kB / 1.214 GB, free: 3.199 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.022e-05/0.3848, allocations: 0 / 1.214 GB, free: 3.199 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 6.484e-05/0.3849, allocations: 103.3 kB / 1.214 GB, free: 3.098 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.41e-07/0.3849, allocations: 4 kB / 1.214 GB, free: 3.094 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003393/0.3853, allocations: 47.98 kB / 1.214 GB, free: 3.047 MB / 0.9669 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.0009625/0.3862, allocations: 0.8614 MB / 1.215 GB, free: 2.172 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002732/0.3865, allocations: 87.89 kB / 1.215 GB, free: 2.086 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.3865, allocations: 0 / 1.215 GB, free: 2.086 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001261/0.3867, allocations: 52.28 kB / 1.215 GB, free: 2.035 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002779/0.387, allocations: 13.34 kB / 1.215 GB, free: 2.023 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001742/0.3887, allocations: 1.588 MB / 1.216 GB, free: 328 kB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002857/0.389, allocations: 0.6924 MB / 1.217 GB, free: 15.6 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.779e-05/0.389, allocations: 7.984 kB / 1.217 GB, free: 15.59 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.702e-05/0.3891, allocations: 19.44 kB / 1.217 GB, free: 15.57 MB / 0.9825 GB Notification: Performance of SimCode: time 4.3e-07/0.3891, allocations: 0 / 1.217 GB, free: 15.57 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02293/0.412, allocations: 3.267 MB / 1.22 GB, free: 12.46 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.519/7.931, allocations: 9.297 kB / 1.22 GB, free: 12.46 MB / 0.9825 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom_res.mat --tempDir=temp_Buildings_latest_Buildings_Occupants_Residential_AirConditioning_Validation_Ren2014ACLivingroom_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 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.mat","/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) "" 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