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.005528/0.005528, allocations: 102.4 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.001326/0.001326, allocations: 199.5 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.402/1.402, allocations: 222.9 MB / 240.4 MB, free: 4.172 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.811/2.811, allocations: 461.9 MB / 0.7348 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00146/0.00146, allocations: 67.89 kB / 1.054 GB, free: 7.719 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3904/0.3918, allocations: 157.4 MB / 1.207 GB, free: 10.22 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom): time 0.002738/0.3946, allocations: 1.497 MB / 1.209 GB, free: 8.707 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001445/0.3961, allocations: 0.8337 MB / 1.21 GB, free: 7.867 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.481e-05/0.3962, allocations: 0 / 1.21 GB, free: 7.867 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.437e-05/0.3962, allocations: 7.875 kB / 1.21 GB, free: 7.859 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 7.2e-05/0.3963, allocations: 11.88 kB / 1.21 GB, free: 7.848 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007223/0.397, allocations: 163.5 kB / 1.21 GB, free: 7.688 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001379/0.3972, allocations: 87.77 kB / 1.21 GB, free: 7.602 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 9.56e-05/0.3973, allocations: 11.98 kB / 1.21 GB, free: 7.59 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001091/0.3974, allocations: 39.84 kB / 1.21 GB, free: 7.551 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 8.367e-05/0.3975, allocations: 51.81 kB / 1.21 GB, free: 7.5 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.028e-05/0.3975, allocations: 8 kB / 1.21 GB, free: 7.492 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002466/0.3978, allocations: 123.9 kB / 1.21 GB, free: 7.371 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.411e-05/0.3978, allocations: 23.86 kB / 1.21 GB, free: 7.348 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 5.413e-05/0.3979, allocations: 51.77 kB / 1.21 GB, free: 7.297 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002891/0.3982, allocations: 171.9 kB / 1.21 GB, free: 7.129 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.3982, allocations: 0 / 1.21 GB, free: 7.129 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.243e-06/0.3982, allocations: 0 / 1.21 GB, free: 7.129 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.783e-06/0.3982, allocations: 0 / 1.21 GB, free: 7.129 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.0007583/0.399, allocations: 490.4 kB / 1.211 GB, free: 6.59 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.902e-05/0.399, allocations: 8.625 kB / 1.211 GB, free: 6.582 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.016e-05/0.399, allocations: 34.73 kB / 1.211 GB, free: 6.539 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.743e-05/0.3991, allocations: 12.84 kB / 1.211 GB, free: 6.527 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001211/0.3992, allocations: 176.2 kB / 1.211 GB, free: 6.316 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.88e-05/0.3993, allocations: 12.38 kB / 1.211 GB, free: 6.305 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.166e-05/0.3993, allocations: 8.359 kB / 1.211 GB, free: 6.297 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002255/0.3995, allocations: 81.77 kB / 1.211 GB, free: 6.211 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.656e-06/0.3995, allocations: 0 / 1.211 GB, free: 6.211 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.341e-05/0.3996, allocations: 4 kB / 1.211 GB, free: 6.207 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.161e-06/0.3996, allocations: 4 kB / 1.211 GB, free: 6.203 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001592/0.3997, allocations: 43.97 kB / 1.211 GB, free: 6.16 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000552/0.4003, allocations: 332.6 kB / 1.211 GB, free: 5.785 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002371/0.4005, allocations: 78.55 kB / 1.211 GB, free: 5.699 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001156/0.4007, allocations: 44.83 kB / 1.212 GB, free: 5.652 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.85e-05/0.4007, allocations: 8.078 kB / 1.212 GB, free: 5.645 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002411/0.4009, allocations: 95.39 kB / 1.212 GB, free: 5.539 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=8): time 1.833e-06/0.4009, allocations: 0 / 1.212 GB, free: 5.539 MB / 0.9669 GB Notification: Performance of matching and sorting (n=8): time 0.0004957/0.4014, allocations: 185.5 kB / 1.212 GB, free: 5.352 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.959e-05/0.4015, allocations: 55.41 kB / 1.212 GB, free: 5.285 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000105/0.4016, allocations: 135.6 kB / 1.212 GB, free: 5.141 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.812e-05/0.4016, allocations: 29.69 kB / 1.212 GB, free: 5.105 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.552e-05/0.4017, allocations: 96.05 kB / 1.212 GB, free: 5.008 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.438e-05/0.4017, allocations: 23.73 kB / 1.212 GB, free: 4.984 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.927e-05/0.4018, allocations: 29.7 kB / 1.212 GB, free: 4.949 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001038/0.4019, allocations: 330.8 kB / 1.212 GB, free: 4.617 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.381e-05/0.402, allocations: 23.98 kB / 1.212 GB, free: 4.594 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001013/0.4021, allocations: 73.92 kB / 1.213 GB, free: 4.5 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000164/0.4022, allocations: 97.94 kB / 1.213 GB, free: 4.383 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.4023, allocations: 0 / 1.213 GB, free: 4.383 MB / 0.9669 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002346/0.4025, allocations: 137.3 kB / 1.213 GB, free: 4.242 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.772e-05/0.4025, allocations: 8 kB / 1.213 GB, free: 4.234 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.591e-06/0.4025, allocations: 3.938 kB / 1.213 GB, free: 4.23 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.841e-05/0.4026, allocations: 4 kB / 1.213 GB, free: 4.227 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.79e-05/0.4026, allocations: 11.98 kB / 1.213 GB, free: 4.215 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.364e-06/0.4027, allocations: 4 kB / 1.213 GB, free: 4.211 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.371e-05/0.4027, allocations: 4 kB / 1.213 GB, free: 4.207 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.35e-05/0.4028, allocations: 12.19 kB / 1.213 GB, free: 4.195 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 9.436e-05/0.4029, allocations: 128.2 kB / 1.213 GB, free: 4.062 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.145e-05/0.4029, allocations: 7.906 kB / 1.213 GB, free: 4.055 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.7e-05/0.4029, allocations: 12.7 kB / 1.213 GB, free: 4.039 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.4029, allocations: 0 / 1.213 GB, free: 4.039 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.4029, allocations: 4 kB / 1.213 GB, free: 4.035 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.4029, allocations: 0 / 1.213 GB, free: 4.035 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005248/0.4035, allocations: 438.2 kB / 1.213 GB, free: 3.551 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.4035, allocations: 4 kB / 1.213 GB, free: 3.547 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.923e-05/0.4035, allocations: 3.984 kB / 1.213 GB, free: 3.543 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.4035, allocations: 4 kB / 1.213 GB, free: 3.539 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.137e-05/0.4036, allocations: 0 / 1.213 GB, free: 3.539 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.4036, allocations: 0 / 1.213 GB, free: 3.539 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.454e-06/0.4036, allocations: 3.938 kB / 1.213 GB, free: 3.535 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003401/0.4039, allocations: 247.4 kB / 1.214 GB, free: 3.277 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 3.505e-05/0.404, allocations: 81.02 kB / 1.214 GB, free: 3.18 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.577e-05/0.404, allocations: 11.98 kB / 1.214 GB, free: 3.168 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001035/0.4041, allocations: 4 kB / 1.214 GB, free: 3.164 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.093e-05/0.4042, allocations: 19.86 kB / 1.214 GB, free: 3.145 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.566e-05/0.4042, allocations: 4 kB / 1.214 GB, free: 3.141 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 5.92e-05/0.4042, allocations: 99.2 kB / 1.214 GB, free: 3.043 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4042, allocations: 4 kB / 1.214 GB, free: 3.039 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003633/0.4046, allocations: 51.98 kB / 1.214 GB, free: 2.988 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.0008535/0.4055, allocations: 0.8539 MB / 1.215 GB, free: 2.125 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002503/0.4057, allocations: 87.83 kB / 1.215 GB, free: 2.039 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.4058, allocations: 0 / 1.215 GB, free: 2.039 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001177/0.4059, allocations: 43.98 kB / 1.215 GB, free: 1.996 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000281/0.4062, allocations: 22.5 kB / 1.215 GB, free: 1.977 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001611/0.4078, allocations: 1.585 MB / 1.216 GB, free: 280 kB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002558/0.4081, allocations: 0.6963 MB / 1.217 GB, free: 15.55 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.767e-05/0.4081, allocations: 3.984 kB / 1.217 GB, free: 15.55 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.404e-05/0.4081, allocations: 27.38 kB / 1.217 GB, free: 15.52 MB / 0.9825 GB Notification: Performance of SimCode: time 2.4e-07/0.4082, allocations: 0 / 1.217 GB, free: 15.52 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02231/0.4305, allocations: 3.25 MB / 1.22 GB, free: 12.42 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.675/8.105, allocations: 3 kB / 1.22 GB, free: 12.42 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