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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001499/0.001499, 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.001766/0.001766, allocations: 190 kB / 16.25 MB, free: 6.625 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.308/1.308, allocations: 222.9 MB / 239.9 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.402/2.402, allocations: 437 MB / 0.7101 GB, free: 5.266 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001129/0.001129, allocations: 67.89 kB / 0.8689 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4824/0.4835, allocations: 151.6 MB / 1.017 GB, free: 2.684 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom): time 0.002375/0.4859, allocations: 1.558 MB / 1.018 GB, free: 1.117 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001165/0.4871, allocations: 0.8256 MB / 1.019 GB, free: 292 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.118e-05/0.4872, allocations: 0 / 1.019 GB, free: 292 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.174e-05/0.4872, allocations: 7.922 kB / 1.019 GB, free: 284 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 5.83e-05/0.4873, allocations: 11.92 kB / 1.019 GB, free: 272 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005352/0.4878, allocations: 139.7 kB / 1.019 GB, free: 132 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001025/0.4879, allocations: 91.69 kB / 1.019 GB, free: 40 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 7.938e-05/0.488, allocations: 12 kB / 1.019 GB, free: 28 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 9.522e-05/0.4881, allocations: 39.91 kB / 1.02 GB, free: 15.99 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 6.418e-05/0.4882, allocations: 43.81 kB / 1.02 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.908e-05/0.4882, allocations: 8 kB / 1.02 GB, free: 15.94 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002013/0.4884, allocations: 127.8 kB / 1.02 GB, free: 15.81 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.764e-05/0.4885, allocations: 23.91 kB / 1.02 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 4.19e-05/0.4885, allocations: 39.8 kB / 1.02 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002219/0.4887, allocations: 177.9 kB / 1.02 GB, free: 15.58 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.965e-06/0.4887, allocations: 0 / 1.02 GB, free: 15.58 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.222e-06/0.4888, allocations: 0 / 1.02 GB, free: 15.58 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.002e-05/0.4888, allocations: 0 / 1.02 GB, free: 15.58 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.000608/0.4894, allocations: 482.5 kB / 1.02 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.246e-05/0.4894, allocations: 8.031 kB / 1.02 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.644e-05/0.4895, allocations: 42.75 kB / 1.02 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.482e-05/0.4895, allocations: 12.78 kB / 1.02 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.686e-05/0.4896, allocations: 184.1 kB / 1.021 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.237e-05/0.4896, allocations: 4.375 kB / 1.021 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.588e-05/0.4897, allocations: 8.375 kB / 1.021 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001994/0.4899, allocations: 89.7 kB / 1.021 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.292e-06/0.4899, allocations: 0 / 1.021 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.191e-05/0.4899, allocations: 0 / 1.021 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.908e-06/0.4899, allocations: 0 / 1.021 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000154/0.4901, allocations: 59.89 kB / 1.021 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004638/0.4905, allocations: 316.8 kB / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002013/0.4907, allocations: 82.53 kB / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001072/0.4909, allocations: 48.88 kB / 1.021 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.559e-05/0.4909, allocations: 0 / 1.021 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001989/0.4911, allocations: 87.36 kB / 1.021 GB, free: 14 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=8): time 1.393e-06/0.4911, allocations: 0 / 1.021 GB, free: 14 MB / 0.7794 GB Notification: Performance of matching and sorting (n=8): time 0.0004695/0.4916, allocations: 197.9 kB / 1.021 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.199e-05/0.4916, allocations: 55.41 kB / 1.022 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.958e-05/0.4917, allocations: 140.1 kB / 1.022 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.129e-05/0.4917, allocations: 33.7 kB / 1.022 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.134e-05/0.4918, allocations: 88.14 kB / 1.022 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.001e-05/0.4918, allocations: 19.8 kB / 1.022 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.123e-05/0.4919, allocations: 25.72 kB / 1.022 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.11e-05/0.4919, allocations: 330.8 kB / 1.022 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.914e-05/0.492, allocations: 23.98 kB / 1.022 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.023e-05/0.4921, allocations: 65.98 kB / 1.022 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000154/0.4923, allocations: 105.9 kB / 1.022 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.4923, allocations: 3.938 kB / 1.022 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002175/0.4925, allocations: 125.4 kB / 1.022 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.222e-05/0.4925, allocations: 4 kB / 1.022 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.92e-06/0.4925, allocations: 0 / 1.022 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.02e-05/0.4925, allocations: 4 kB / 1.022 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.054e-05/0.4926, allocations: 19.98 kB / 1.022 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.703e-06/0.4926, allocations: 3.938 kB / 1.022 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.174e-05/0.4927, allocations: 11.84 kB / 1.023 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.294e-05/0.4927, allocations: 8 kB / 1.023 GB, free: 12.65 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.981e-05/0.4928, allocations: 130 kB / 1.023 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.014e-05/0.4928, allocations: 15.84 kB / 1.023 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.395e-05/0.4929, allocations: 8.719 kB / 1.023 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.4929, allocations: 0 / 1.023 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.4929, allocations: 0 / 1.023 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.559e-06/0.4929, allocations: 4.031 kB / 1.023 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004869/0.4934, allocations: 438.3 kB / 1.023 GB, free: 12 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-06/0.4934, allocations: 3.938 kB / 1.023 GB, free: 12 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.842e-05/0.4934, allocations: 8 kB / 1.023 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.4934, allocations: 0 / 1.023 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.396e-05/0.4935, allocations: 3.984 kB / 1.023 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.4935, allocations: 4 kB / 1.023 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.4935, allocations: 3.938 kB / 1.023 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003245/0.4938, allocations: 243.3 kB / 1.023 GB, free: 11.72 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.194e-05/0.4938, allocations: 89 kB / 1.023 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.372e-05/0.4939, allocations: 4 kB / 1.023 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001051/0.494, allocations: 11.98 kB / 1.023 GB, free: 11.6 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.08e-05/0.494, allocations: 3.938 kB / 1.023 GB, free: 11.6 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.464e-05/0.494, allocations: 7.984 kB / 1.023 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.869e-05/0.4941, allocations: 104.6 kB / 1.024 GB, free: 11.49 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.11e-07/0.4941, allocations: 0 / 1.024 GB, free: 11.49 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003/0.4944, allocations: 52 kB / 1.024 GB, free: 11.44 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.0007408/0.4952, allocations: 0.8465 MB / 1.024 GB, free: 10.58 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002361/0.4954, allocations: 99.81 kB / 1.025 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.4954, allocations: 0 / 1.025 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001235/0.4955, allocations: 51.91 kB / 1.025 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000253/0.4958, allocations: 17.52 kB / 1.025 GB, free: 10.42 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001391/0.4972, allocations: 1.603 MB / 1.026 GB, free: 8.699 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00018/0.4974, allocations: 0.6885 MB / 1.027 GB, free: 7.984 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.512e-05/0.4974, allocations: 4 kB / 1.027 GB, free: 7.98 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.101e-05/0.4975, allocations: 23.42 kB / 1.027 GB, free: 7.957 MB / 0.7794 GB Notification: Performance of SimCode: time 3.11e-07/0.4975, allocations: 0 / 1.027 GB, free: 7.957 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.7/2.198, allocations: 3.054 MB / 1.03 GB, free: 5.09 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003357/2.198, allocations: 277.6 kB / 1.03 GB, free: 4.707 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.873/4.071, allocations: 4.703 kB / 1.03 GB, free: 4.707 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