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.005143/0.005143, allocations: 99.77 kB / 15.73 MB, free: 6.012 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.001408/0.001408, allocations: 193.6 kB / 16.67 MB, free: 5.93 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.269/1.269, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.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.269/2.269, allocations: 437.1 MB / 0.7106 GB, free: 4.344 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001741/0.001741, allocations: 63.88 kB / 1.018 GB, free: 9.93 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8196/0.8213, allocations: 151.6 MB / 1.166 GB, free: 3.793 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom): time 0.002537/0.8239, allocations: 1.501 MB / 1.168 GB, free: 2.281 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.00138/0.8253, allocations: 0.8179 MB / 1.168 GB, free: 1.457 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.166e-05/0.8254, allocations: 3.938 kB / 1.168 GB, free: 1.453 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 3.253e-05/0.8254, allocations: 7.938 kB / 1.168 GB, free: 1.445 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 5.9e-05/0.8255, allocations: 11.86 kB / 1.168 GB, free: 1.434 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006081/0.8261, allocations: 159.5 kB / 1.169 GB, free: 1.277 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001367/0.8262, allocations: 87.77 kB / 1.169 GB, free: 1.191 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 9.966e-05/0.8263, allocations: 15.94 kB / 1.169 GB, free: 1.176 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 9.708e-05/0.8264, allocations: 43.89 kB / 1.169 GB, free: 1.133 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 8.555e-05/0.8265, allocations: 47.77 kB / 1.169 GB, free: 1.086 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.152e-05/0.8266, allocations: 8 kB / 1.169 GB, free: 1.078 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002528/0.8268, allocations: 131.8 kB / 1.169 GB, free: 0.9492 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 3.247e-05/0.8269, allocations: 23.91 kB / 1.169 GB, free: 0.9258 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 5.121e-05/0.8269, allocations: 35.8 kB / 1.169 GB, free: 0.8906 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0002805/0.8272, allocations: 175.2 kB / 1.169 GB, free: 0.7227 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 6.152e-06/0.8272, allocations: 4 kB / 1.169 GB, free: 0.7188 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.573e-06/0.8272, allocations: 0 / 1.169 GB, free: 0.7188 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.551e-06/0.8273, allocations: 0 / 1.169 GB, free: 0.7188 MB / 0.8887 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.0007754/0.828, allocations: 498 kB / 1.17 GB, free: 176 kB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.263e-05/0.8281, allocations: 12.92 kB / 1.17 GB, free: 164 kB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.153e-05/0.8281, allocations: 30.75 kB / 1.17 GB, free: 124 kB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.196e-05/0.8282, allocations: 12.89 kB / 1.17 GB, free: 112 kB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001658/0.8283, allocations: 180.3 kB / 1.17 GB, free: 15.89 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.569e-05/0.8284, allocations: 4.375 kB / 1.17 GB, free: 15.89 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.527e-05/0.8284, allocations: 4.375 kB / 1.17 GB, free: 15.89 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002338/0.8286, allocations: 97.7 kB / 1.17 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.378e-06/0.8287, allocations: 0 / 1.17 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.402e-05/0.8287, allocations: 3.984 kB / 1.17 GB, free: 15.78 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.8287, allocations: 0 / 1.17 GB, free: 15.78 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001631/0.8289, allocations: 51.95 kB / 1.17 GB, free: 15.73 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000546/0.8294, allocations: 324.7 kB / 1.17 GB, free: 15.36 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002307/0.8296, allocations: 86.56 kB / 1.17 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001134/0.8298, allocations: 40.84 kB / 1.17 GB, free: 15.23 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.18e-05/0.8298, allocations: 0 / 1.17 GB, free: 15.23 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002188/0.83, allocations: 95.36 kB / 1.171 GB, free: 15.12 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=8): time 1.273e-06/0.83, allocations: 0 / 1.171 GB, free: 15.12 MB / 0.9044 GB Notification: Performance of matching and sorting (n=8): time 0.0005138/0.8306, allocations: 193.6 kB / 1.171 GB, free: 14.93 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.853e-05/0.8306, allocations: 51.41 kB / 1.171 GB, free: 14.86 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001131/0.8307, allocations: 131.7 kB / 1.171 GB, free: 14.72 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.075e-05/0.8308, allocations: 33.7 kB / 1.171 GB, free: 14.68 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 6.182e-05/0.8308, allocations: 92.14 kB / 1.171 GB, free: 14.59 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.326e-05/0.8309, allocations: 23.78 kB / 1.171 GB, free: 14.57 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.993e-05/0.8309, allocations: 29.72 kB / 1.171 GB, free: 14.53 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001414/0.8311, allocations: 322.8 kB / 1.171 GB, free: 14.21 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.566e-05/0.8311, allocations: 31.92 kB / 1.171 GB, free: 14.18 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001075/0.8313, allocations: 71.11 kB / 1.171 GB, free: 14.09 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001768/0.8314, allocations: 105.9 kB / 1.172 GB, free: 13.96 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.8315, allocations: 0 / 1.172 GB, free: 13.96 MB / 0.9044 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002395/0.8317, allocations: 125.5 kB / 1.172 GB, free: 13.83 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.394e-05/0.8317, allocations: 4 kB / 1.172 GB, free: 13.83 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.8317, allocations: 4 kB / 1.172 GB, free: 13.82 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.343e-05/0.8317, allocations: 0 / 1.172 GB, free: 13.82 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.54e-05/0.8318, allocations: 19.92 kB / 1.172 GB, free: 13.8 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.846e-06/0.8319, allocations: 4.188 kB / 1.172 GB, free: 13.8 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.403e-05/0.8319, allocations: 19.89 kB / 1.172 GB, free: 13.78 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.294e-05/0.8319, allocations: 4 kB / 1.172 GB, free: 13.78 MB / 0.9044 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.0001095/0.8321, allocations: 125.7 kB / 1.172 GB, free: 13.64 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.835e-05/0.8321, allocations: 7.953 kB / 1.172 GB, free: 13.64 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.772e-05/0.8321, allocations: 12.72 kB / 1.172 GB, free: 13.62 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.332e-06/0.8321, allocations: 0 / 1.172 GB, free: 13.62 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.8321, allocations: 4 kB / 1.172 GB, free: 13.62 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.8321, allocations: 0 / 1.172 GB, free: 13.62 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005685/0.8327, allocations: 434.3 kB / 1.172 GB, free: 13.14 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.8327, allocations: 0 / 1.172 GB, free: 13.14 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.688e-05/0.8328, allocations: 4 kB / 1.172 GB, free: 13.14 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.8328, allocations: 0 / 1.172 GB, free: 13.14 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.619e-05/0.8328, allocations: 7.984 kB / 1.172 GB, free: 13.13 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.8328, allocations: 400 / 1.172 GB, free: 13.13 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.448e-06/0.8328, allocations: 7.938 kB / 1.172 GB, free: 13.12 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003748/0.8332, allocations: 251.4 kB / 1.173 GB, free: 12.86 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 5.96e-05/0.8333, allocations: 89.05 kB / 1.173 GB, free: 12.75 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.017e-05/0.8333, allocations: 0 / 1.173 GB, free: 12.75 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001025/0.8334, allocations: 15.98 kB / 1.173 GB, free: 12.74 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.579e-05/0.8334, allocations: 3.938 kB / 1.173 GB, free: 12.73 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.147e-05/0.8334, allocations: 11.98 kB / 1.173 GB, free: 12.72 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 6.258e-05/0.8335, allocations: 102.2 kB / 1.173 GB, free: 12.62 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8335, allocations: 0 / 1.173 GB, free: 12.62 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002924/0.8338, allocations: 47.88 kB / 1.173 GB, free: 12.58 MB / 0.9044 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.0009865/0.8348, allocations: 0.8599 MB / 1.174 GB, free: 11.71 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0002609/0.8351, allocations: 83.89 kB / 1.174 GB, free: 11.62 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.8351, allocations: 4.312 kB / 1.174 GB, free: 11.62 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001384/0.8352, allocations: 59.89 kB / 1.174 GB, free: 11.56 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002548/0.8355, allocations: 16.75 kB / 1.174 GB, free: 11.55 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001704/0.8372, allocations: 1.593 MB / 1.175 GB, free: 9.84 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002991/0.8375, allocations: 0.6924 MB / 1.176 GB, free: 9.121 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 3.282e-05/0.8376, allocations: 4 kB / 1.176 GB, free: 9.117 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.642e-05/0.8376, allocations: 28.67 kB / 1.176 GB, free: 9.09 MB / 0.9044 GB Notification: Performance of SimCode: time 2.11e-07/0.8376, allocations: 0 / 1.176 GB, free: 9.09 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.583/5.42, allocations: 3.208 MB / 1.179 GB, free: 6.039 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.68/19.1, allocations: 17.12 kB / 1.179 GB, free: 6.023 MB / 0.9044 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=400 --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