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: 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.001515/0.001516, allocations: 104.6 kB / 16.35 MB, free: 5.828 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.001556/0.001556, allocations: 193.2 kB / 17.29 MB, free: 5.484 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.351/1.351, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.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.474/2.474, allocations: 437.1 MB / 0.7112 GB, free: 4.355 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001216/0.001216, allocations: 64.59 kB / 0.8707 GB, free: 1.438 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2618/0.2631, allocations: 151.6 MB / 1.019 GB, free: 9.855 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom): time 0.002524/0.2656, allocations: 1.507 MB / 1.02 GB, free: 8.332 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001335/0.267, allocations: 0.831 MB / 1.021 GB, free: 7.496 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.676e-05/0.2671, allocations: 7.938 kB / 1.021 GB, free: 7.488 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 3.079e-05/0.2671, allocations: 7.922 kB / 1.021 GB, free: 7.48 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 6.455e-05/0.2672, allocations: 15.86 kB / 1.021 GB, free: 7.465 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005827/0.2678, allocations: 151.5 kB / 1.021 GB, free: 7.316 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001331/0.2679, allocations: 91.7 kB / 1.021 GB, free: 7.227 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001078/0.268, allocations: 23.97 kB / 1.021 GB, free: 7.203 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 7.928e-05/0.2681, allocations: 31.92 kB / 1.021 GB, free: 7.172 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 7.763e-05/0.2682, allocations: 47.81 kB / 1.021 GB, free: 7.125 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 2.036e-05/0.2682, allocations: 8 kB / 1.021 GB, free: 7.117 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002252/0.2684, allocations: 127.8 kB / 1.022 GB, free: 6.992 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 3.089e-05/0.2685, allocations: 19.92 kB / 1.022 GB, free: 6.973 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 4.922e-05/0.2685, allocations: 39.8 kB / 1.022 GB, free: 6.934 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0002642/0.2688, allocations: 183.5 kB / 1.022 GB, free: 6.754 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.2688, allocations: 0 / 1.022 GB, free: 6.754 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.364e-06/0.2688, allocations: 0 / 1.022 GB, free: 6.754 MB / 0.795 GB Notification: Performance of Transformations before backend: time 5.059e-06/0.2688, allocations: 0 / 1.022 GB, free: 6.754 MB / 0.795 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.0007211/0.2696, allocations: 490.5 kB / 1.022 GB, free: 6.215 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.754e-05/0.2696, allocations: 8.625 kB / 1.022 GB, free: 6.207 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.241e-05/0.2697, allocations: 12.78 kB / 1.022 GB, free: 6.195 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001188/0.2698, allocations: 180.2 kB / 1.022 GB, free: 5.98 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.145e-05/0.2698, allocations: 4.375 kB / 1.022 GB, free: 5.977 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.191e-05/0.2698, allocations: 8.375 kB / 1.022 GB, free: 5.969 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002228/0.2701, allocations: 89.95 kB / 1.023 GB, free: 5.875 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.626e-06/0.2701, allocations: 0 / 1.023 GB, free: 5.875 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.308e-05/0.2701, allocations: 0 / 1.023 GB, free: 5.875 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.2701, allocations: 0 / 1.023 GB, free: 5.875 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001585/0.2703, allocations: 55.89 kB / 1.023 GB, free: 5.82 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000523/0.2708, allocations: 320.8 kB / 1.023 GB, free: 5.457 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002133/0.271, allocations: 86.56 kB / 1.023 GB, free: 5.363 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001123/0.2712, allocations: 48.78 kB / 1.023 GB, free: 5.312 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.892e-05/0.2712, allocations: 0 / 1.023 GB, free: 5.312 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002046/0.2714, allocations: 91.36 kB / 1.023 GB, free: 5.211 MB / 0.795 GB Notification: Performance of pre-optimization done (n=8): time 1.392e-06/0.2714, allocations: 0 / 1.023 GB, free: 5.211 MB / 0.795 GB Notification: Performance of matching and sorting (n=8): time 0.0004953/0.2719, allocations: 197.6 kB / 1.023 GB, free: 5.012 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.643e-05/0.272, allocations: 51.41 kB / 1.023 GB, free: 4.949 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.427e-05/0.2721, allocations: 139.9 kB / 1.023 GB, free: 4.801 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.642e-05/0.2721, allocations: 29.7 kB / 1.023 GB, free: 4.766 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 4.995e-05/0.2721, allocations: 92.14 kB / 1.024 GB, free: 4.672 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.084e-05/0.2722, allocations: 23.73 kB / 1.024 GB, free: 4.648 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.886e-05/0.2722, allocations: 29.72 kB / 1.024 GB, free: 4.613 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 9.833e-05/0.2723, allocations: 322.8 kB / 1.024 GB, free: 4.289 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.357e-05/0.2724, allocations: 23.98 kB / 1.024 GB, free: 4.266 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.531e-05/0.2725, allocations: 70.48 kB / 1.024 GB, free: 4.176 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001638/0.2727, allocations: 105.9 kB / 1.024 GB, free: 4.051 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.2727, allocations: 4 kB / 1.024 GB, free: 4.047 MB / 0.795 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002388/0.2729, allocations: 121.4 kB / 1.024 GB, free: 3.922 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.412e-05/0.2729, allocations: 4 kB / 1.024 GB, free: 3.918 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.967e-06/0.273, allocations: 4 kB / 1.024 GB, free: 3.914 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.342e-05/0.273, allocations: 3.938 kB / 1.024 GB, free: 3.91 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.997e-05/0.2731, allocations: 19.98 kB / 1.024 GB, free: 3.891 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.895e-06/0.2731, allocations: 8.125 kB / 1.024 GB, free: 3.883 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.835e-05/0.2732, allocations: 11.91 kB / 1.024 GB, free: 3.871 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.298e-05/0.2732, allocations: 4 kB / 1.024 GB, free: 3.867 MB / 0.795 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 9.143e-05/0.2733, allocations: 125.8 kB / 1.024 GB, free: 3.734 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.98e-05/0.2733, allocations: 7.906 kB / 1.024 GB, free: 3.727 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.758e-05/0.2733, allocations: 12.72 kB / 1.024 GB, free: 3.715 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.2733, allocations: 0 / 1.024 GB, free: 3.715 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.2734, allocations: 0 / 1.024 GB, free: 3.715 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.2734, allocations: 4 kB / 1.024 GB, free: 3.711 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005389/0.2739, allocations: 438.3 kB / 1.025 GB, free: 3.227 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-06/0.2739, allocations: 0 / 1.025 GB, free: 3.227 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.179e-05/0.274, allocations: 8 kB / 1.025 GB, free: 3.219 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.274, allocations: 0 / 1.025 GB, free: 3.219 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.607e-05/0.274, allocations: 7.984 kB / 1.025 GB, free: 3.211 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.644e-06/0.274, allocations: 0 / 1.025 GB, free: 3.211 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.098e-06/0.274, allocations: 3.938 kB / 1.025 GB, free: 3.207 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003573/0.2744, allocations: 251.3 kB / 1.025 GB, free: 2.945 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 4.051e-05/0.2744, allocations: 85 kB / 1.025 GB, free: 2.844 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.202e-05/0.2745, allocations: 0 / 1.025 GB, free: 2.844 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001119/0.2746, allocations: 11.98 kB / 1.025 GB, free: 2.832 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.038e-05/0.2746, allocations: 11.88 kB / 1.025 GB, free: 2.82 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.023e-05/0.2746, allocations: 4 kB / 1.025 GB, free: 2.816 MB / 0.795 GB Notification: Performance of sorting global known variables: time 5.353e-05/0.2747, allocations: 105.4 kB / 1.025 GB, free: 2.715 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.61e-07/0.2747, allocations: 0 / 1.025 GB, free: 2.715 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0003127/0.275, allocations: 48 kB / 1.025 GB, free: 2.668 MB / 0.795 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.0003255/0.2754, allocations: 178.8 kB / 1.026 GB, free: 2.5 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0002559/0.2756, allocations: 91.83 kB / 1.026 GB, free: 2.41 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.2756, allocations: 0 / 1.026 GB, free: 2.41 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.000132/0.2758, allocations: 47.97 kB / 1.026 GB, free: 2.363 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002644/0.276, allocations: 8.625 kB / 1.026 GB, free: 2.355 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004042/0.2765, allocations: 204.6 kB / 1.026 GB, free: 2.129 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002113/0.2767, allocations: 0.6924 MB / 1.027 GB, free: 1.41 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 3.429e-05/0.2767, allocations: 7.859 kB / 1.027 GB, free: 1.402 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.447e-05/0.2767, allocations: 15.38 kB / 1.027 GB, free: 1.387 MB / 0.795 GB Notification: Performance of SimCode: time 2.5e-07/0.2768, allocations: 0 / 1.027 GB, free: 1.387 MB / 0.795 GB Notification: Performance of Templates: time 0.004516/0.2813, allocations: 1.893 MB / 1.028 GB, free: 15.5 MB / 0.8106 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=480 -s gbode -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/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