Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_Buildings_Occupants_Residential_AirConditioning_Validation_Ren2014ACLivingroom",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom,fileNamePrefix="Buildings_10_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.0008494/0.0008497, allocations: 91.84 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.005275/0.005275, allocations: 170 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.216/1.216, 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 10.1.0-maint.10.0.x/package.mo): time 2.282/2.282, allocations: 437.8 MB / 0.7121 GB, free: 6.973 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0002849/0.0002849, allocations: 8 kB / 0.8729 GB, free: 3.215 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5053/0.5056, allocations: 153.8 MB / 1.023 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom): time 0.001347/0.507, allocations: 1.227 MB / 1.024 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001111/0.5081, allocations: 0.818 MB / 1.025 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.864e-05/0.5082, allocations: 4 kB / 1.025 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.846e-05/0.5082, allocations: 7.922 kB / 1.025 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 4.183e-05/0.5082, allocations: 3.938 kB / 1.025 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004236/0.5087, allocations: 127.7 kB / 1.025 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 9.398e-05/0.5088, allocations: 91.7 kB / 1.025 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 6.948e-05/0.5088, allocations: 12 kB / 1.025 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 7.336e-05/0.5089, allocations: 39.89 kB / 1.025 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 6.371e-05/0.509, allocations: 39.83 kB / 1.025 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.101e-05/0.509, allocations: 4 kB / 1.025 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001836/0.5092, allocations: 115.8 kB / 1.026 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.558e-05/0.5092, allocations: 23.91 kB / 1.026 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 5.056e-05/0.5093, allocations: 61.5 kB / 1.026 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.000217/0.5095, allocations: 173.8 kB / 1.026 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.845e-06/0.5095, allocations: 4 kB / 1.026 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.403e-06/0.5095, allocations: 0 / 1.026 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.176e-06/0.5095, allocations: 0 / 1.026 GB, free: 13.11 MB / 0.7794 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.0005675/0.5101, allocations: 462.6 kB / 1.026 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.104e-05/0.5102, allocations: 12.03 kB / 1.026 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.223e-05/0.5102, allocations: 38.75 kB / 1.026 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.776e-05/0.5102, allocations: 12.78 kB / 1.026 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.792e-05/0.5103, allocations: 176.2 kB / 1.026 GB, free: 12.31 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.679e-05/0.5104, allocations: 8.359 kB / 1.026 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.948e-05/0.5104, allocations: 8.375 kB / 1.026 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000197/0.5106, allocations: 89.77 kB / 1.027 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.901e-06/0.5106, allocations: 0 / 1.027 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.263e-05/0.5106, allocations: 4 kB / 1.027 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.797e-06/0.5106, allocations: 4 kB / 1.027 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001636/0.5108, allocations: 63.89 kB / 1.027 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004553/0.5113, allocations: 332.7 kB / 1.027 GB, free: 11.76 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002038/0.5115, allocations: 94.45 kB / 1.027 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000124/0.5116, allocations: 52.88 kB / 1.027 GB, free: 11.6 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.755e-05/0.5116, allocations: 4 kB / 1.027 GB, free: 11.6 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001909/0.5118, allocations: 91.36 kB / 1.027 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=8): time 1.292e-06/0.5118, allocations: 0 / 1.027 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of matching and sorting (n=8): time 0.0004649/0.5123, allocations: 201.5 kB / 1.027 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.14e-05/0.5123, allocations: 59.39 kB / 1.027 GB, free: 11.22 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.192e-05/0.5124, allocations: 136.4 kB / 1.028 GB, free: 11.08 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.469e-05/0.5125, allocations: 29.64 kB / 1.028 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.253e-05/0.5125, allocations: 100.3 kB / 1.028 GB, free: 10.94 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.916e-05/0.5125, allocations: 19.8 kB / 1.028 GB, free: 10.92 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.339e-05/0.5126, allocations: 17.72 kB / 1.028 GB, free: 10.9 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.036e-05/0.5127, allocations: 322.8 kB / 1.028 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.169e-05/0.5127, allocations: 27.98 kB / 1.028 GB, free: 10.55 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.052e-05/0.5128, allocations: 73.98 kB / 1.028 GB, free: 10.45 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001703/0.513, allocations: 105.9 kB / 1.028 GB, free: 10.33 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.513, allocations: 0 / 1.028 GB, free: 10.33 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002303/0.5133, allocations: 141.4 kB / 1.028 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.216e-05/0.5133, allocations: 11.98 kB / 1.028 GB, free: 10.17 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.5133, allocations: 0 / 1.028 GB, free: 10.17 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.418e-06/0.5133, allocations: 4 kB / 1.028 GB, free: 10.17 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.161e-05/0.5134, allocations: 8 kB / 1.028 GB, free: 10.16 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.448e-06/0.5134, allocations: 11.92 kB / 1.028 GB, free: 10.15 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.122e-05/0.5135, allocations: 11.94 kB / 1.028 GB, free: 10.14 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.043e-05/0.5135, allocations: 4 kB / 1.028 GB, free: 10.13 MB / 0.7794 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 7.601e-05/0.5136, allocations: 125.9 kB / 1.029 GB, free: 10 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.657e-05/0.5136, allocations: 11.84 kB / 1.029 GB, free: 9.988 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.037e-05/0.5136, allocations: 16.7 kB / 1.029 GB, free: 9.969 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.362e-06/0.5136, allocations: 0 / 1.029 GB, free: 9.969 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.645e-06/0.5136, allocations: 0 / 1.029 GB, free: 9.969 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.285e-06/0.5136, allocations: 0 / 1.029 GB, free: 9.969 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004986/0.5141, allocations: 446.7 kB / 1.029 GB, free: 9.477 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.5142, allocations: 4 kB / 1.029 GB, free: 9.473 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.636e-05/0.5142, allocations: 7.984 kB / 1.029 GB, free: 9.465 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.5142, allocations: 0 / 1.029 GB, free: 9.465 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.438e-06/0.5142, allocations: 0 / 1.029 GB, free: 9.465 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.5142, allocations: 0 / 1.029 GB, free: 9.465 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.013e-06/0.5142, allocations: 7.938 kB / 1.029 GB, free: 9.457 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003371/0.5146, allocations: 255.3 kB / 1.029 GB, free: 9.191 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.258e-05/0.5146, allocations: 85.02 kB / 1.029 GB, free: 9.09 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.82e-05/0.5146, allocations: 4 kB / 1.029 GB, free: 9.086 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001085/0.5148, allocations: 11.98 kB / 1.029 GB, free: 9.074 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.172e-05/0.5148, allocations: 15.86 kB / 1.029 GB, free: 9.059 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.979e-06/0.5148, allocations: 4 kB / 1.029 GB, free: 9.055 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.643e-05/0.5149, allocations: 105.3 kB / 1.029 GB, free: 8.953 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5149, allocations: 0 / 1.029 GB, free: 8.953 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002751/0.5152, allocations: 51.98 kB / 1.03 GB, free: 8.902 MB / 0.7794 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.0007657/0.5159, allocations: 0.8726 MB / 1.03 GB, free: 8.02 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.000232/0.5162, allocations: 91.88 kB / 1.03 GB, free: 7.93 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.5162, allocations: 384 / 1.03 GB, free: 7.93 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001207/0.5163, allocations: 51.98 kB / 1.031 GB, free: 7.879 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002377/0.5166, allocations: 11.92 kB / 1.031 GB, free: 7.867 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001431/0.518, allocations: 1.639 MB / 1.032 GB, free: 6.109 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002118/0.5182, allocations: 0.6926 MB / 1.033 GB, free: 5.391 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.888e-05/0.5183, allocations: 4 kB / 1.033 GB, free: 5.387 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.199e-05/0.5183, allocations: 27.42 kB / 1.033 GB, free: 5.359 MB / 0.7794 GB Notification: Performance of SimCode: time 2e-07/0.5183, allocations: 0 / 1.033 GB, free: 5.359 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.811/2.329, allocations: 2.877 MB / 1.036 GB, free: 2.672 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002569/2.329, allocations: 278.9 kB / 1.036 GB, free: 2.305 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.194/5.524, allocations: 0 / 1.036 GB, free: 2.305 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.pipe ; mkfifo Buildings_10_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.pipe >> ../files/Buildings_10_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom_res.mat --tempDir=temp_Buildings_10_Buildings_Occupants_Residential_AirConditioning_Validation_Ren2014ACLivingroom_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Occupants_Residential_AirConditioning_Validation_Ren2014ACLivingroom.fmu > Buildings_10_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Residential_AirConditioning_Validation_Ren2014ACLivingroom.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches