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: translateModel(Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ac.TIn|ac.occ|ac.on",fileNamePrefix="Buildings_10_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom") translateModel(Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ac.TIn|ac.occ|ac.on",fileNamePrefix="Buildings_10_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001805/0.001805, allocations: 107.4 kB / 15.34 MB, free: 0.5 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.002048/0.002049, allocations: 191.2 kB / 16.25 MB, free: 6.16 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.54/1.54, 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.857/2.857, allocations: 437 MB / 0.7101 GB, free: 5.316 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002013/0.002013, allocations: 63.89 kB / 0.8687 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7261/0.7282, allocations: 151.6 MB / 1.017 GB, free: 2.699 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom): time 0.003246/0.7315, allocations: 1.569 MB / 1.018 GB, free: 1.121 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001694/0.7332, allocations: 0.818 MB / 1.019 GB, free: 304 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.343e-05/0.7333, allocations: 8 kB / 1.019 GB, free: 296 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 4.704e-05/0.7333, allocations: 7.922 kB / 1.019 GB, free: 288 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 6.4e-05/0.7334, allocations: 3.938 kB / 1.019 GB, free: 284 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006749/0.7341, allocations: 135.7 kB / 1.019 GB, free: 148 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001349/0.7342, allocations: 87.7 kB / 1.019 GB, free: 60 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001226/0.7344, allocations: 16 kB / 1.019 GB, free: 44 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001083/0.7345, allocations: 43.89 kB / 1.019 GB, free: 0 / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001115/0.7346, allocations: 43.95 kB / 1.019 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.251e-05/0.7346, allocations: 8 kB / 1.019 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002479/0.7349, allocations: 123.7 kB / 1.02 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 3.721e-05/0.7349, allocations: 27.89 kB / 1.02 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 6.041e-05/0.735, allocations: 35.8 kB / 1.02 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002966/0.7353, allocations: 173.6 kB / 1.02 GB, free: 15.6 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.7353, allocations: 0 / 1.02 GB, free: 15.6 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.473e-06/0.7353, allocations: 4 kB / 1.02 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.67e-06/0.7353, allocations: 4 kB / 1.02 GB, free: 15.59 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.0008473/0.7362, allocations: 482.5 kB / 1.02 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.197e-05/0.7362, allocations: 15.97 kB / 1.02 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.994e-05/0.7363, allocations: 8.844 kB / 1.02 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001642/0.7365, allocations: 176.1 kB / 1.02 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.139e-05/0.7365, allocations: 8.375 kB / 1.02 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.55e-05/0.7365, allocations: 4.375 kB / 1.02 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002432/0.7368, allocations: 97.81 kB / 1.021 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.378e-06/0.7368, allocations: 0 / 1.021 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.363e-05/0.7368, allocations: 8 kB / 1.021 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.663e-06/0.7369, allocations: 0 / 1.021 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001628/0.737, allocations: 47.91 kB / 1.021 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006323/0.7377, allocations: 324.8 kB / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002378/0.7379, allocations: 78.58 kB / 1.021 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001214/0.738, allocations: 44.98 kB / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.781e-05/0.7381, allocations: 7.984 kB / 1.021 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002953/0.7384, allocations: 95.36 kB / 1.021 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=8): time 1.542e-06/0.7384, allocations: 0 / 1.021 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of matching and sorting (n=8): time 0.0005537/0.7389, allocations: 177.5 kB / 1.021 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.049e-05/0.739, allocations: 59.34 kB / 1.021 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001325/0.7392, allocations: 140.3 kB / 1.022 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.193e-05/0.7392, allocations: 33.7 kB / 1.022 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.623e-05/0.7393, allocations: 92.12 kB / 1.022 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.563e-05/0.7393, allocations: 19.8 kB / 1.022 GB, free: 13.49 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.529e-05/0.7393, allocations: 29.7 kB / 1.022 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.000171/0.7395, allocations: 326.8 kB / 1.022 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.349e-05/0.7396, allocations: 23.98 kB / 1.022 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001158/0.7397, allocations: 77.86 kB / 1.022 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002087/0.7399, allocations: 101.9 kB / 1.022 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.74, allocations: 0 / 1.022 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002397/0.7402, allocations: 121.4 kB / 1.022 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.15e-05/0.7402, allocations: 11.98 kB / 1.022 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.885e-06/0.7402, allocations: 4 kB / 1.022 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.835e-05/0.7403, allocations: 8.219 kB / 1.022 GB, free: 12.74 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001056/0.7404, allocations: 12 kB / 1.022 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.262e-05/0.7404, allocations: 11.92 kB / 1.022 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.842e-05/0.7405, allocations: 15.84 kB / 1.022 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.569e-05/0.7405, allocations: 4 kB / 1.022 GB, free: 12.7 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 0.0001321/0.7406, allocations: 122.3 kB / 1.022 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.031e-05/0.7407, allocations: 7.906 kB / 1.022 GB, free: 12.56 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.581e-05/0.7407, allocations: 12.7 kB / 1.023 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.173e-06/0.7407, allocations: 8 kB / 1.023 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.594e-06/0.7407, allocations: 0 / 1.023 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.7407, allocations: 3.938 kB / 1.023 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006581/0.7414, allocations: 430.4 kB / 1.023 GB, free: 12.06 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.7414, allocations: 3.938 kB / 1.023 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.1e-05/0.7415, allocations: 7.984 kB / 1.023 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.7415, allocations: 0 / 1.023 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.396e-05/0.7415, allocations: 4 kB / 1.023 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.7415, allocations: 0 / 1.023 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.7415, allocations: 3.938 kB / 1.023 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003974/0.7419, allocations: 247.3 kB / 1.023 GB, free: 11.78 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.625e-05/0.742, allocations: 85.02 kB / 1.023 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.402e-05/0.742, allocations: 0 / 1.023 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001111/0.7421, allocations: 11.98 kB / 1.023 GB, free: 11.67 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.51e-05/0.7422, allocations: 15.92 kB / 1.023 GB, free: 11.65 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.344e-05/0.7422, allocations: 4 kB / 1.023 GB, free: 11.65 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 9.217e-05/0.7423, allocations: 100.3 kB / 1.023 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7423, allocations: 0 / 1.023 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003655/0.7427, allocations: 51.98 kB / 1.023 GB, free: 11.5 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.0004291/0.7431, allocations: 167.7 kB / 1.024 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003074/0.7434, allocations: 99.8 kB / 1.024 GB, free: 11.24 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.7434, allocations: 4 kB / 1.024 GB, free: 11.24 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001322/0.7436, allocations: 39.92 kB / 1.024 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002973/0.7439, allocations: 25.11 kB / 1.024 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005341/0.7444, allocations: 208.3 kB / 1.024 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003612/0.7448, allocations: 0.6963 MB / 1.025 GB, free: 10.22 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 4.889e-05/0.7449, allocations: 15.92 kB / 1.025 GB, free: 10.21 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.625e-05/0.7449, allocations: 15.38 kB / 1.025 GB, free: 10.2 MB / 0.7794 GB Notification: Performance of SimCode: time 2.71e-07/0.7449, allocations: 0 / 1.025 GB, free: 10.2 MB / 0.7794 GB Notification: Performance of Templates: time 0.005399/0.7503, allocations: 1.837 MB / 1.026 GB, free: 8.371 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.makefile (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 & ./Buildings_10_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > 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/jenkins/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