Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.Ren2014ACLivingroom,fileNamePrefix="Buildings_9_Buildings_Occupants_Residential_AirConditioning_Validation_Ren2014ACLivingroom",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom,fileNamePrefix="Buildings_9_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.005267/0.005267, allocations: 101.3 kB / 15.73 MB, free: 6.047 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.001187/0.001187, allocations: 185.3 kB / 16.67 MB, free: 5.977 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.375/1.375, allocations: 222.9 MB / 240.4 MB, free: 4.316 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.429/2.429, allocations: 390.2 MB / 0.6648 GB, free: 200 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001485/0.001485, allocations: 65.7 kB / 0.9504 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3514/0.3529, allocations: 140.4 MB / 1.087 GB, free: 2.027 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom): time 0.003388/0.3564, allocations: 1.501 MB / 1.089 GB, free: 0.5117 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.002001/0.3584, allocations: 0.8231 MB / 1.09 GB, free: 15.68 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.737e-05/0.3585, allocations: 3.938 kB / 1.09 GB, free: 15.68 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 4.18e-05/0.3586, allocations: 7.938 kB / 1.09 GB, free: 15.67 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 8.361e-05/0.3587, allocations: 19.84 kB / 1.09 GB, free: 15.65 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008555/0.3596, allocations: 151.5 kB / 1.09 GB, free: 15.5 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.000166/0.3597, allocations: 95.69 kB / 1.09 GB, free: 15.41 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001058/0.3599, allocations: 11.98 kB / 1.09 GB, free: 15.4 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001125/0.36, allocations: 39.91 kB / 1.09 GB, free: 15.36 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 9.875e-05/0.3601, allocations: 51.81 kB / 1.09 GB, free: 15.31 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.269e-05/0.3601, allocations: 8 kB / 1.09 GB, free: 15.3 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002844/0.3604, allocations: 123.8 kB / 1.09 GB, free: 15.18 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.517e-05/0.3605, allocations: 23.92 kB / 1.09 GB, free: 15.16 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 6.507e-05/0.3605, allocations: 39.78 kB / 1.09 GB, free: 15.12 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003732/0.3609, allocations: 182.4 kB / 1.09 GB, free: 14.94 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.3609, allocations: 0 / 1.09 GB, free: 14.94 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.984e-06/0.3609, allocations: 0 / 1.09 GB, free: 14.94 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.13e-05/0.361, allocations: 0 / 1.09 GB, free: 14.94 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.0008642/0.3618, allocations: 487.3 kB / 1.091 GB, free: 14.41 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.395e-05/0.3619, allocations: 8.031 kB / 1.091 GB, free: 14.4 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.62e-05/0.3619, allocations: 34.69 kB / 1.091 GB, free: 14.36 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.476e-05/0.362, allocations: 16.84 kB / 1.091 GB, free: 14.34 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001372/0.3621, allocations: 180.2 kB / 1.091 GB, free: 14.12 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.827e-05/0.3622, allocations: 4.375 kB / 1.091 GB, free: 14.12 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.849e-05/0.3622, allocations: 8.375 kB / 1.091 GB, free: 14.11 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002337/0.3624, allocations: 85.77 kB / 1.091 GB, free: 14.02 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.955e-06/0.3624, allocations: 0 / 1.091 GB, free: 14.02 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.658e-05/0.3625, allocations: 7.984 kB / 1.091 GB, free: 14.02 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.394e-06/0.3625, allocations: 4 kB / 1.091 GB, free: 14.01 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001594/0.3626, allocations: 43.91 kB / 1.091 GB, free: 13.97 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006604/0.3633, allocations: 324.7 kB / 1.092 GB, free: 13.6 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000228/0.3636, allocations: 90.56 kB / 1.092 GB, free: 13.5 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001094/0.3637, allocations: 40.83 kB / 1.092 GB, free: 13.46 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.935e-05/0.3637, allocations: 0 / 1.092 GB, free: 13.46 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002776/0.364, allocations: 103.5 kB / 1.092 GB, free: 13.35 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=8): time 1.663e-06/0.364, allocations: 0 / 1.092 GB, free: 13.35 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8): time 0.0005434/0.3645, allocations: 181.5 kB / 1.092 GB, free: 13.16 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.514e-05/0.3646, allocations: 59.34 kB / 1.092 GB, free: 13.09 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001278/0.3648, allocations: 130.1 kB / 1.092 GB, free: 12.95 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.164e-05/0.3648, allocations: 29.7 kB / 1.092 GB, free: 12.92 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.697e-05/0.3648, allocations: 96.12 kB / 1.092 GB, free: 12.82 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.046e-05/0.3649, allocations: 19.75 kB / 1.092 GB, free: 12.8 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.127e-05/0.365, allocations: 29.7 kB / 1.092 GB, free: 12.77 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001398/0.3651, allocations: 318.8 kB / 1.093 GB, free: 12.45 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.993e-05/0.3652, allocations: 31.97 kB / 1.093 GB, free: 12.41 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001084/0.3653, allocations: 76.36 kB / 1.093 GB, free: 12.32 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001929/0.3655, allocations: 101.9 kB / 1.093 GB, free: 12.2 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.408e-06/0.3655, allocations: 7.938 kB / 1.093 GB, free: 12.19 MB / 0.8575 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002562/0.3658, allocations: 121.4 kB / 1.093 GB, free: 12.07 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.225e-05/0.3658, allocations: 9.562 kB / 1.093 GB, free: 12.06 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.999e-06/0.3658, allocations: 0 / 1.093 GB, free: 12.06 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.164e-05/0.3659, allocations: 4 kB / 1.093 GB, free: 12.05 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001082/0.366, allocations: 12.17 kB / 1.093 GB, free: 12.04 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.729e-06/0.366, allocations: 11.94 kB / 1.093 GB, free: 12.03 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.188e-05/0.3661, allocations: 11.91 kB / 1.093 GB, free: 12.02 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.704e-05/0.3661, 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.0001123/0.3662, allocations: 134.5 kB / 1.093 GB, free: 11.88 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.133e-05/0.3662, allocations: 7.906 kB / 1.093 GB, free: 11.87 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.801e-05/0.3663, allocations: 8.719 kB / 1.093 GB, free: 11.86 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.3663, allocations: 0 / 1.093 GB, free: 11.86 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.3663, allocations: 4.047 kB / 1.093 GB, free: 11.86 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.867e-06/0.3663, allocations: 11.97 kB / 1.093 GB, free: 11.84 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005624/0.3669, allocations: 422.4 kB / 1.094 GB, free: 11.38 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.888e-06/0.3669, allocations: 4 kB / 1.094 GB, free: 11.37 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.84e-05/0.3669, allocations: 0 / 1.094 GB, free: 11.37 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.42e-06/0.367, allocations: 4 kB / 1.094 GB, free: 11.37 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.395e-05/0.367, allocations: 3.984 kB / 1.094 GB, free: 11.36 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/0.367, allocations: 0 / 1.094 GB, free: 11.36 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/0.367, allocations: 7.938 kB / 1.094 GB, free: 11.36 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003873/0.3674, allocations: 255.3 kB / 1.094 GB, free: 11.09 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.405e-05/0.3674, allocations: 81.02 kB / 1.094 GB, free: 10.99 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.501e-05/0.3675, allocations: 4 kB / 1.094 GB, free: 10.99 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001091/0.3676, allocations: 11.98 kB / 1.094 GB, free: 10.98 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.075e-05/0.3676, allocations: 11.94 kB / 1.094 GB, free: 10.96 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.106e-05/0.3676, allocations: 3.984 kB / 1.094 GB, free: 10.96 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.628e-05/0.3677, allocations: 99.27 kB / 1.094 GB, free: 10.86 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2.81e-07/0.3677, allocations: 0 / 1.094 GB, free: 10.86 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003518/0.3681, 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.0009722/0.3691, allocations: 0.8551 MB / 1.095 GB, free: 9.945 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002696/0.3693, allocations: 83.89 kB / 1.095 GB, free: 9.863 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.3693, allocations: 384 / 1.095 GB, free: 9.863 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001314/0.3695, allocations: 51.97 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.0002794/0.3698, allocations: 17.95 kB / 1.095 GB, free: 9.797 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00185/0.3716, allocations: 1.581 MB / 1.097 GB, free: 8.098 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003093/0.372, allocations: 0.6938 MB / 1.097 GB, free: 7.379 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.979e-05/0.372, allocations: 4 kB / 1.097 GB, free: 7.375 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.067e-05/0.3721, allocations: 23.42 kB / 1.097 GB, free: 7.352 MB / 0.8575 GB Notification: Performance of SimCode: time 2.3e-07/0.3721, allocations: 0 / 1.097 GB, free: 7.352 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01978/0.3919, allocations: 3.253 MB / 1.1 GB, free: 4.254 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.742/8.134, allocations: 19.83 kB / 1.101 GB, free: 4.238 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.pipe ; mkfifo Buildings_9_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.pipe >> ../files/Buildings_9_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom_res.mat --tempDir=temp_Buildings_9_Buildings_Occupants_Residential_AirConditioning_Validation_Ren2014ACLivingroom_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Occupants_Residential_AirConditioning_Validation_Ren2014ACLivingroom.fmu > Buildings_9_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Residential_AirConditioning_Validation_Ren2014ACLivingroom.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_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