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.001236/0.001236, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001224/0.001224, allocations: 200.5 kB / 16.26 MB, free: 6.621 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.264/1.264, allocations: 222.9 MB / 239.9 MB, free: 4.523 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.202/2.202, allocations: 390.2 MB / 0.6644 GB, free: 0.543 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001297/0.001297, allocations: 67.89 kB / 0.8122 GB, free: 14.66 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.596/0.5973, allocations: 140.4 MB / 0.9492 GB, free: 9.352 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom): time 0.002196/0.5996, allocations: 1.555 MB / 0.9507 GB, free: 8.129 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009907/0.6006, allocations: 0.8157 MB / 0.9515 GB, free: 7.496 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.718e-05/0.6006, allocations: 1.75 kB / 0.9515 GB, free: 7.496 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.165e-05/0.6007, allocations: 7.922 kB / 0.9516 GB, free: 7.488 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.737e-05/0.6007, allocations: 13.09 kB / 0.9516 GB, free: 7.477 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004701/0.6012, allocations: 140.1 kB / 0.9517 GB, free: 7.383 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 9.043e-05/0.6013, allocations: 84.33 kB / 0.9518 GB, free: 7.336 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 7.68e-05/0.6014, allocations: 14.61 kB / 0.9518 GB, free: 7.328 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.392e-05/0.6015, allocations: 47.36 kB / 0.9518 GB, free: 7.297 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.012e-05/0.6015, allocations: 45.42 kB / 0.9519 GB, free: 7.266 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.935e-05/0.6016, allocations: 12.91 kB / 0.9519 GB, free: 7.262 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001978/0.6018, allocations: 121.5 kB / 0.952 GB, free: 7.203 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.757e-05/0.6018, allocations: 26.73 kB / 0.952 GB, free: 7.18 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.469e-05/0.6018, allocations: 34.45 kB / 0.9521 GB, free: 7.156 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002167/0.6021, allocations: 178.6 kB / 0.9522 GB, free: 7.043 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.6021, allocations: 0 / 0.9522 GB, free: 7.043 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.453e-06/0.6021, allocations: 0 / 0.9522 GB, free: 7.043 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.13e-06/0.6021, allocations: 0 / 0.9522 GB, free: 7.043 MB / 0.7169 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.0005727/0.6027, allocations: 489.9 kB / 0.9527 GB, free: 6.551 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.3e-05/0.6027, allocations: 8.844 kB / 0.9527 GB, free: 6.551 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.682e-05/0.6027, allocations: 37.59 kB / 0.9527 GB, free: 6.508 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.288e-05/0.6028, allocations: 13.03 kB / 0.9528 GB, free: 6.5 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.314e-05/0.6029, allocations: 180.1 kB / 0.9529 GB, free: 6.289 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.38e-05/0.6029, allocations: 3.375 kB / 0.9529 GB, free: 6.289 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.951e-05/0.6029, allocations: 8.594 kB / 0.9529 GB, free: 6.285 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002159/0.6031, allocations: 91.58 kB / 0.953 GB, free: 6.215 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.017e-05/0.6032, allocations: 4.688 kB / 0.953 GB, free: 6.211 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.445e-05/0.6032, allocations: 1.156 kB / 0.953 GB, free: 6.211 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.15e-06/0.6032, allocations: 1.281 kB / 0.953 GB, free: 6.211 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001526/0.6033, allocations: 50.55 kB / 0.9531 GB, free: 6.188 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004244/0.6038, allocations: 320.9 kB / 0.9534 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001916/0.604, allocations: 87.66 kB / 0.9535 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001022/0.6041, allocations: 46 kB / 0.9535 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.784e-05/0.6041, allocations: 1.062 kB / 0.9535 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000179/0.6043, allocations: 93.23 kB / 0.9536 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=8): time 1.754e-06/0.6043, allocations: 0 / 0.9536 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8): time 0.0004501/0.6048, allocations: 186.9 kB / 0.9538 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.564e-05/0.6048, allocations: 65.81 kB / 0.9539 GB, free: 5.516 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.26e-05/0.6049, allocations: 135.5 kB / 0.954 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.144e-05/0.6049, allocations: 31.98 kB / 0.954 GB, free: 5.355 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.993e-05/0.6049, allocations: 91.86 kB / 0.9541 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.649e-05/0.6049, allocations: 22.23 kB / 0.9541 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.763e-05/0.605, allocations: 26.62 kB / 0.9541 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.537e-05/0.605, allocations: 325.6 kB / 0.9545 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.865e-05/0.6051, allocations: 25.92 kB / 0.9545 GB, free: 4.887 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.689e-05/0.6052, allocations: 68.17 kB / 0.9545 GB, free: 4.816 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001422/0.6053, allocations: 110 kB / 0.9546 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.6053, allocations: 4 kB / 0.9547 GB, free: 4.719 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002057/0.6056, allocations: 119 kB / 0.9548 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.118e-05/0.6056, allocations: 5.75 kB / 0.9548 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.6056, allocations: 2.531 kB / 0.9548 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.125e-05/0.6056, allocations: 2.25 kB / 0.9548 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.959e-05/0.6057, allocations: 21.52 kB / 0.9548 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/0.6057, allocations: 2.719 kB / 0.9548 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.106e-05/0.6058, allocations: 16.91 kB / 0.9548 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.13e-05/0.6058, allocations: 5.188 kB / 0.9548 GB, free: 4.625 MB / 0.7169 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 6.175e-05/0.6058, allocations: 127.5 kB / 0.9549 GB, free: 4.496 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.922e-05/0.6059, allocations: 7.984 kB / 0.955 GB, free: 4.492 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.247e-05/0.6059, allocations: 13.98 kB / 0.955 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.6059, allocations: 1.469 kB / 0.955 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.965e-06/0.6059, allocations: 0 / 0.955 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.6059, allocations: 5 kB / 0.955 GB, free: 4.477 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004439/0.6064, allocations: 430.1 kB / 0.9554 GB, free: 4.082 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.6064, allocations: 0 / 0.9554 GB, free: 4.082 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.72e-05/0.6064, allocations: 7.375 kB / 0.9554 GB, free: 4.078 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.6064, allocations: 5.031 kB / 0.9554 GB, free: 4.074 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.259e-05/0.6064, allocations: 1.156 kB / 0.9554 GB, free: 4.074 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.415e-06/0.6065, allocations: 1.219 kB / 0.9554 GB, free: 4.074 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.6065, allocations: 15.86 kB / 0.9554 GB, free: 4.059 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003132/0.6068, allocations: 242.2 kB / 0.9556 GB, free: 3.875 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.251e-05/0.6068, allocations: 91.22 kB / 0.9557 GB, free: 3.77 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.362e-05/0.6068, allocations: 1.125 kB / 0.9557 GB, free: 3.77 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001056/0.6069, allocations: 4.781 kB / 0.9557 GB, free: 3.77 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.858e-05/0.607, allocations: 11.52 kB / 0.9557 GB, free: 3.762 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.142e-05/0.607, allocations: 6.281 kB / 0.9558 GB, free: 3.758 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.36e-05/0.6071, allocations: 110.4 kB / 0.9559 GB, free: 3.664 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6071, allocations: 0 / 0.9559 GB, free: 3.664 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003067/0.6074, allocations: 44.16 kB / 0.9559 GB, free: 3.656 MB / 0.7169 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.0006972/0.6081, allocations: 0.8472 MB / 0.9567 GB, free: 2.91 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002348/0.6083, allocations: 88.06 kB / 0.9568 GB, free: 2.875 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.6083, allocations: 384 / 0.9568 GB, free: 2.875 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001175/0.6085, allocations: 56.59 kB / 0.9569 GB, free: 2.844 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002532/0.6087, allocations: 17.8 kB / 0.9569 GB, free: 2.832 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001243/0.61, allocations: 1.603 MB / 0.9584 GB, free: 1.34 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001121/0.6101, allocations: 0.6905 MB / 0.9591 GB, free: 0.6367 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.654e-05/0.6101, allocations: 4.062 kB / 0.9591 GB, free: 0.6367 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.769e-05/0.6102, allocations: 24.42 kB / 0.9591 GB, free: 0.6172 MB / 0.7169 GB Notification: Performance of SimCode: time 2.4e-07/0.6102, allocations: 4 kB / 0.9592 GB, free: 0.6133 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03364/0.6438, allocations: 3.04 MB / 0.9621 GB, free: 15.12 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002665/0.6441, allocations: 271.5 kB / 0.9624 GB, free: 14.77 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.731/2.375, allocations: 5.062 kB / 0.9624 GB, free: 14.76 MB / 0.7325 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) Reference file matches