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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.0009043/0.0009043, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.005353/0.005353, allocations: 170.2 kB / 16.26 MB, free: 6.613 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.28/1.28, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.158/2.158, allocations: 390.9 MB / 0.6664 GB, free: 2.395 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0002964/0.000296, allocations: 12 kB / 0.8161 GB, free: 13.17 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5834/0.5837, allocations: 142.4 MB / 0.9552 GB, free: 7.715 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom): time 0.001239/0.585, allocations: 1.224 MB / 0.9563 GB, free: 6.742 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00106/0.5861, allocations: 0.8107 MB / 0.9571 GB, free: 6.121 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.881e-05/0.5861, allocations: 1 kB / 0.9571 GB, free: 6.121 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.62e-05/0.5862, allocations: 3.938 kB / 0.9571 GB, free: 6.117 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.038e-05/0.5862, allocations: 14.14 kB / 0.9572 GB, free: 6.105 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000483/0.5867, allocations: 124.1 kB / 0.9573 GB, free: 6.02 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 9.235e-05/0.5868, allocations: 88.48 kB / 0.9574 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 7.486e-05/0.5869, allocations: 17.88 kB / 0.9574 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.827e-05/0.587, allocations: 35.06 kB / 0.9574 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.187e-05/0.587, allocations: 45.09 kB / 0.9575 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.614e-05/0.5871, allocations: 7.688 kB / 0.9575 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000211/0.5873, allocations: 121.5 kB / 0.9576 GB, free: 5.84 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.223e-05/0.5873, allocations: 14.39 kB / 0.9576 GB, free: 5.828 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.362e-05/0.5874, allocations: 59.7 kB / 0.9576 GB, free: 5.773 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002133/0.5876, allocations: 178.7 kB / 0.9578 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.5876, allocations: 0 / 0.9578 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.282e-06/0.5876, allocations: 0 / 0.9578 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.507e-06/0.5876, allocations: 0 / 0.9578 GB, free: 5.66 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.0005145/0.5881, allocations: 476.4 kB / 0.9583 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.347e-05/0.5882, allocations: 9.844 kB / 0.9583 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.951e-05/0.5882, allocations: 31.97 kB / 0.9583 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.917e-05/0.5882, allocations: 10.09 kB / 0.9583 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.045e-05/0.5883, allocations: 187 kB / 0.9585 GB, free: 4.922 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.251e-05/0.5883, allocations: 11.33 kB / 0.9585 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.845e-05/0.5884, allocations: 5 kB / 0.9585 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001902/0.5886, allocations: 95.42 kB / 0.9586 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.342e-06/0.5886, allocations: 1.375 kB / 0.9586 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.102e-05/0.5886, allocations: 0 / 0.9586 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.5886, allocations: 1.344 kB / 0.9586 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001531/0.5888, allocations: 65.48 kB / 0.9587 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003984/0.5892, allocations: 324.5 kB / 0.959 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001873/0.5894, allocations: 89.91 kB / 0.9591 GB, free: 4.426 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001028/0.5895, allocations: 46.94 kB / 0.9591 GB, free: 4.402 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.97e-05/0.5895, allocations: 5.328 kB / 0.9591 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000181/0.5897, allocations: 109.5 kB / 0.9592 GB, free: 4.309 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=8): time 1.343e-06/0.5897, allocations: 0 / 0.9592 GB, free: 4.309 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8): time 0.0004423/0.5901, allocations: 206.2 kB / 0.9594 GB, free: 4.203 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.159e-05/0.5902, allocations: 52.78 kB / 0.9595 GB, free: 4.141 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.763e-05/0.5902, allocations: 134.7 kB / 0.9596 GB, free: 4.016 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.032e-05/0.5903, allocations: 27.08 kB / 0.9596 GB, free: 3.984 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.759e-05/0.5903, allocations: 90.89 kB / 0.9597 GB, free: 3.895 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.675e-05/0.5903, allocations: 18.55 kB / 0.9597 GB, free: 3.879 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.397e-05/0.5903, allocations: 19.22 kB / 0.9597 GB, free: 3.859 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.694e-05/0.5904, allocations: 324.1 kB / 0.9601 GB, free: 3.535 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.802e-05/0.5905, allocations: 33.86 kB / 0.9601 GB, free: 3.52 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.682e-05/0.5905, allocations: 77.92 kB / 0.9602 GB, free: 3.445 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001477/0.5907, allocations: 107.2 kB / 0.9603 GB, free: 3.359 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.5907, allocations: 4 kB / 0.9603 GB, free: 3.355 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.00021/0.5909, allocations: 133.9 kB / 0.9604 GB, free: 3.277 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.303e-05/0.5909, allocations: 7.062 kB / 0.9604 GB, free: 3.277 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.5909, allocations: 1.375 kB / 0.9604 GB, free: 3.277 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.18e-05/0.591, allocations: 2.938 kB / 0.9604 GB, free: 3.277 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.392e-05/0.591, allocations: 18.98 kB / 0.9604 GB, free: 3.27 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.142e-06/0.5911, allocations: 2.75 kB / 0.9604 GB, free: 3.27 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.076e-05/0.5911, allocations: 13.34 kB / 0.9604 GB, free: 3.262 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.132e-05/0.5911, allocations: 12.12 kB / 0.9604 GB, free: 3.254 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 5.94e-05/0.5912, allocations: 126.6 kB / 0.9606 GB, free: 3.129 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.606e-05/0.5912, allocations: 11.89 kB / 0.9606 GB, free: 3.121 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.14e-05/0.5912, allocations: 15.38 kB / 0.9606 GB, free: 3.109 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.5913, allocations: 0 / 0.9606 GB, free: 3.109 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.5913, allocations: 1.656 kB / 0.9606 GB, free: 3.109 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.5913, allocations: 0 / 0.9606 GB, free: 3.109 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004368/0.5917, allocations: 439.2 kB / 0.961 GB, free: 2.715 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.5917, allocations: 7.938 kB / 0.961 GB, free: 2.707 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.626e-05/0.5918, allocations: 8.828 kB / 0.961 GB, free: 2.703 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.5918, allocations: 0 / 0.961 GB, free: 2.703 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.019e-05/0.5918, allocations: 2.531 kB / 0.961 GB, free: 2.703 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.5918, allocations: 0 / 0.961 GB, free: 2.703 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.5918, allocations: 3.938 kB / 0.961 GB, free: 2.699 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003038/0.5921, allocations: 259.4 kB / 0.9613 GB, free: 2.508 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.854e-05/0.5921, allocations: 91.08 kB / 0.9614 GB, free: 2.402 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.049e-05/0.5922, allocations: 9.984 kB / 0.9614 GB, free: 2.395 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.982e-05/0.5923, allocations: 7.781 kB / 0.9614 GB, free: 2.395 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.02e-05/0.5923, allocations: 13.98 kB / 0.9614 GB, free: 2.383 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.043e-05/0.5923, allocations: 7.062 kB / 0.9614 GB, free: 2.379 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.745e-05/0.5924, allocations: 103.2 kB / 0.9615 GB, free: 2.289 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.5924, allocations: 0.9062 kB / 0.9615 GB, free: 2.289 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002963/0.5927, allocations: 47.19 kB / 0.9616 GB, free: 2.277 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.0006488/0.5933, allocations: 0.8469 MB / 0.9624 GB, free: 1.539 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002378/0.5936, allocations: 105.3 kB / 0.9625 GB, free: 1.492 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.5936, allocations: 0 / 0.9625 GB, free: 1.492 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001187/0.5937, allocations: 56.11 kB / 0.9625 GB, free: 1.469 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002422/0.594, allocations: 13.53 kB / 0.9625 GB, free: 1.461 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001222/0.5952, allocations: 1.633 MB / 0.9641 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001906/0.5954, allocations: 0.6914 MB / 0.9648 GB, free: 15.25 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 3.609e-05/0.5954, allocations: 15.27 kB / 0.9648 GB, free: 15.24 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.835e-05/0.5955, allocations: 21.5 kB / 0.9649 GB, free: 15.23 MB / 0.7325 GB Notification: Performance of SimCode: time 2.21e-07/0.5955, allocations: 0 / 0.9649 GB, free: 15.23 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.63/1.225, allocations: 2.861 MB / 0.9676 GB, free: 13.89 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002756/1.226, allocations: 281.4 kB / 0.9679 GB, free: 13.52 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.633/2.859, allocations: 4 kB / 0.9679 GB, free: 13.52 MB / 0.7325 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) Reference file matches