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 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.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.005366/0.005366, allocations: 102 kB / 15.73 MB, free: 6.051 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.001495/0.001495, allocations: 195 kB / 16.68 MB, free: 5.969 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.359/1.359, allocations: 222.9 MB / 240.4 MB, free: 4.148 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.779/2.779, allocations: 461.9 MB / 0.7348 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001487/0.001487, allocations: 59.89 kB / 1.054 GB, free: 7.688 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.379/0.3805, allocations: 157.4 MB / 1.207 GB, free: 10.17 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom): time 0.003453/0.384, allocations: 1.493 MB / 1.209 GB, free: 8.664 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001624/0.3857, allocations: 0.826 MB / 1.21 GB, free: 7.832 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.199e-05/0.3858, allocations: 0 / 1.21 GB, free: 7.832 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 4.297e-05/0.3859, allocations: 3.938 kB / 1.21 GB, free: 7.828 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 8.856e-05/0.386, allocations: 23.78 kB / 1.21 GB, free: 7.805 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.000832/0.3868, allocations: 155.5 kB / 1.21 GB, free: 7.652 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001786/0.387, allocations: 95.69 kB / 1.21 GB, free: 7.559 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001106/0.3872, allocations: 8 kB / 1.21 GB, free: 7.551 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001203/0.3873, allocations: 43.84 kB / 1.21 GB, free: 7.508 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 9.678e-05/0.3874, allocations: 47.81 kB / 1.21 GB, free: 7.461 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.584e-05/0.3874, allocations: 8 kB / 1.21 GB, free: 7.453 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000275/0.3877, allocations: 123.9 kB / 1.21 GB, free: 7.332 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.397e-05/0.3877, allocations: 27.91 kB / 1.21 GB, free: 7.305 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 5.425e-05/0.3878, allocations: 39.78 kB / 1.21 GB, free: 7.266 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0003161/0.3881, allocations: 179.8 kB / 1.21 GB, free: 7.09 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 7.123e-06/0.3881, allocations: 3.984 kB / 1.21 GB, free: 7.086 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.693e-06/0.3882, allocations: 0 / 1.21 GB, free: 7.086 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.272e-06/0.3882, allocations: 0 / 1.21 GB, free: 7.086 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.0008364/0.389, allocations: 486.4 kB / 1.211 GB, free: 6.551 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.501e-05/0.3891, allocations: 12.62 kB / 1.211 GB, free: 6.539 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.118e-05/0.3891, allocations: 34.75 kB / 1.211 GB, free: 6.496 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.229e-05/0.3892, allocations: 16.78 kB / 1.211 GB, free: 6.48 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001344/0.3893, allocations: 182.6 kB / 1.211 GB, free: 6.266 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.614e-05/0.3893, allocations: 384 / 1.211 GB, free: 6.266 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.205e-05/0.3894, allocations: 8.375 kB / 1.211 GB, free: 6.258 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002438/0.3896, allocations: 89.7 kB / 1.211 GB, free: 6.164 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.606e-06/0.3896, allocations: 0 / 1.211 GB, free: 6.164 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.231e-05/0.3897, allocations: 0 / 1.211 GB, free: 6.164 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.032e-06/0.3897, allocations: 8 kB / 1.211 GB, free: 6.156 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000168/0.3898, allocations: 47.95 kB / 1.211 GB, free: 6.109 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006046/0.3905, allocations: 320.6 kB / 1.211 GB, free: 5.746 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002354/0.3907, allocations: 90.53 kB / 1.211 GB, free: 5.648 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000118/0.3908, allocations: 40.84 kB / 1.212 GB, free: 5.605 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.369e-05/0.3909, allocations: 3.984 kB / 1.212 GB, free: 5.602 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002456/0.3911, allocations: 95.5 kB / 1.212 GB, free: 5.496 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=8): time 3.327e-06/0.3911, allocations: 96 / 1.212 GB, free: 5.496 MB / 0.9669 GB Notification: Performance of matching and sorting (n=8): time 0.0005352/0.3917, allocations: 189.7 kB / 1.212 GB, free: 5.305 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.625e-05/0.3917, allocations: 59.41 kB / 1.212 GB, free: 5.234 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001118/0.3918, allocations: 130.1 kB / 1.212 GB, free: 5.094 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.022e-05/0.3919, allocations: 29.7 kB / 1.212 GB, free: 5.059 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.466e-05/0.3919, allocations: 96.05 kB / 1.212 GB, free: 4.961 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.689e-05/0.392, allocations: 27.72 kB / 1.212 GB, free: 4.934 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.539e-05/0.392, allocations: 29.7 kB / 1.212 GB, free: 4.898 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001421/0.3922, allocations: 322.8 kB / 1.212 GB, free: 4.574 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001029/0.3923, allocations: 23.98 kB / 1.212 GB, free: 4.551 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001499/0.3924, allocations: 75.67 kB / 1.213 GB, free: 4.457 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000255/0.3927, allocations: 101.9 kB / 1.213 GB, free: 4.336 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.092e-06/0.3927, allocations: 4 kB / 1.213 GB, free: 4.332 MB / 0.9669 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000348/0.3931, allocations: 125.4 kB / 1.213 GB, free: 4.203 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/0.3931, allocations: 4 kB / 1.213 GB, free: 4.199 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.942e-05/0.3931, allocations: 4 kB / 1.213 GB, free: 4.195 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.887e-05/0.3932, allocations: 11.88 kB / 1.213 GB, free: 4.184 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.794e-05/0.3933, allocations: 11.98 kB / 1.213 GB, free: 4.172 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.378e-06/0.3933, allocations: 4 kB / 1.213 GB, free: 4.168 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.668e-05/0.3933, allocations: 8 kB / 1.213 GB, free: 4.16 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.413e-05/0.3934, allocations: 4 kB / 1.213 GB, free: 4.156 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.0001018/0.3935, allocations: 136.8 kB / 1.213 GB, free: 4.016 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.28e-05/0.3935, allocations: 15.84 kB / 1.213 GB, free: 4 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.988e-05/0.3935, allocations: 4.719 kB / 1.213 GB, free: 3.992 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.3935, allocations: 0 / 1.213 GB, free: 3.992 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.3936, allocations: 0 / 1.213 GB, free: 3.992 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.052e-06/0.3936, allocations: 4 kB / 1.213 GB, free: 3.988 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007508/0.3943, allocations: 438.2 kB / 1.213 GB, free: 3.504 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.3943, allocations: 0 / 1.213 GB, free: 3.504 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.591e-05/0.3944, allocations: 4 kB / 1.213 GB, free: 3.5 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.422e-06/0.3944, allocations: 4 kB / 1.213 GB, free: 3.496 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.118e-05/0.3944, allocations: 7.984 kB / 1.213 GB, free: 3.488 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.445e-06/0.3945, allocations: 0 / 1.213 GB, free: 3.488 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.441e-05/0.3945, allocations: 7.938 kB / 1.213 GB, free: 3.48 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004297/0.3949, allocations: 247.4 kB / 1.214 GB, free: 3.223 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.35e-05/0.395, allocations: 81.02 kB / 1.214 GB, free: 3.125 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.495e-05/0.395, allocations: 8 kB / 1.214 GB, free: 3.117 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001086/0.3951, allocations: 7.984 kB / 1.214 GB, free: 3.109 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.644e-05/0.3952, allocations: 7.938 kB / 1.214 GB, free: 3.102 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.315e-05/0.3952, allocations: 3.984 kB / 1.214 GB, free: 3.098 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 7.12e-05/0.3953, allocations: 103.3 kB / 1.214 GB, free: 2.996 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.593e-06/0.3953, allocations: 0 / 1.214 GB, free: 2.996 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003364/0.3956, allocations: 51.94 kB / 1.214 GB, free: 2.945 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.0009439/0.3966, allocations: 0.8503 MB / 1.215 GB, free: 2.082 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002784/0.3969, allocations: 87.89 kB / 1.215 GB, free: 1.996 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.3969, allocations: 3.938 kB / 1.215 GB, free: 1.992 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001336/0.397, allocations: 43.97 kB / 1.215 GB, free: 1.949 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002809/0.3973, allocations: 18.64 kB / 1.215 GB, free: 1.934 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001869/0.3992, allocations: 1.594 MB / 1.216 GB, free: 228 kB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003303/0.3995, allocations: 0.6885 MB / 1.217 GB, free: 15.51 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.303e-05/0.3996, allocations: 8 kB / 1.217 GB, free: 15.5 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.126e-05/0.3996, allocations: 23.42 kB / 1.217 GB, free: 15.48 MB / 0.9825 GB Notification: Performance of SimCode: time 8.82e-07/0.3996, allocations: 0 / 1.217 GB, free: 15.48 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02298/0.4226, allocations: 3.259 MB / 1.22 GB, free: 12.37 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.825/8.248, allocations: 7.938 kB / 1.22 GB, free: 12.36 MB / 0.9825 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom_res.mat --tempDir=temp_Buildings_latest_Buildings_Occupants_Residential_AirConditioning_Validation_Ren2014ACBedroom_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 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.mat","/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) "" 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