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.001608/0.001608, allocations: 112.5 kB / 15.73 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001123/0.001123, allocations: 193.1 kB / 16.67 MB, free: 6.57 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.472/1.472, allocations: 222.9 MB / 240.3 MB, free: 4.336 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.752/2.752, allocations: 437 MB / 0.7105 GB, free: 4.977 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001203/0.001203, allocations: 59.91 kB / 1.018 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.331/0.3323, allocations: 151.6 MB / 1.167 GB, free: 6.812 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom): time 0.002628/0.3349, allocations: 1.505 MB / 1.168 GB, free: 5.293 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001307/0.3363, allocations: 0.8296 MB / 1.169 GB, free: 4.457 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.829e-05/0.3363, allocations: 3.938 kB / 1.169 GB, free: 4.453 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.883e-05/0.3364, allocations: 3.938 kB / 1.169 GB, free: 4.449 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 5.708e-05/0.3364, allocations: 15.86 kB / 1.169 GB, free: 4.434 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005946/0.337, allocations: 155.5 kB / 1.169 GB, free: 4.281 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001216/0.3372, allocations: 91.7 kB / 1.169 GB, free: 4.191 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 9.51e-05/0.3373, allocations: 8 kB / 1.169 GB, free: 4.184 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 9.861e-05/0.3374, allocations: 47.83 kB / 1.169 GB, free: 4.137 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 7.987e-05/0.3375, allocations: 47.83 kB / 1.169 GB, free: 4.09 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.222e-05/0.3375, allocations: 8 kB / 1.169 GB, free: 4.082 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002316/0.3377, allocations: 123.8 kB / 1.169 GB, free: 3.961 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.795e-05/0.3378, allocations: 19.97 kB / 1.169 GB, free: 3.941 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 5.905e-05/0.3378, allocations: 43.78 kB / 1.169 GB, free: 3.898 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002707/0.3381, allocations: 175.4 kB / 1.17 GB, free: 3.727 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.3381, allocations: 0 / 1.17 GB, free: 3.727 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.703e-06/0.3381, allocations: 4 kB / 1.17 GB, free: 3.723 MB / 0.92 GB Notification: Performance of Transformations before backend: time 9.688e-06/0.3381, allocations: 0 / 1.17 GB, free: 3.723 MB / 0.92 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.000757/0.3389, allocations: 494.1 kB / 1.17 GB, free: 3.18 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.113e-05/0.3389, allocations: 12.03 kB / 1.17 GB, free: 3.168 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.316e-05/0.339, allocations: 8.891 kB / 1.17 GB, free: 3.16 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000139/0.3391, allocations: 178.2 kB / 1.17 GB, free: 2.949 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.29e-05/0.3392, allocations: 4.375 kB / 1.17 GB, free: 2.945 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.154e-05/0.3392, allocations: 8.359 kB / 1.17 GB, free: 2.938 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002858/0.3395, allocations: 85.95 kB / 1.17 GB, free: 2.848 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.719e-06/0.3395, allocations: 4 kB / 1.17 GB, free: 2.844 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.866e-05/0.3396, allocations: 8 kB / 1.17 GB, free: 2.836 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.3396, allocations: 0 / 1.17 GB, free: 2.836 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001637/0.3397, allocations: 47.91 kB / 1.17 GB, free: 2.789 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005319/0.3403, allocations: 324.7 kB / 1.171 GB, free: 2.422 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002305/0.3405, allocations: 82.55 kB / 1.171 GB, free: 2.332 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001271/0.3407, allocations: 44.83 kB / 1.171 GB, free: 2.285 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 3.036e-05/0.3407, allocations: 20.05 kB / 1.171 GB, free: 2.266 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002355/0.3409, allocations: 87.36 kB / 1.171 GB, free: 2.168 MB / 0.92 GB Notification: Performance of pre-optimization done (n=8): time 4.328e-06/0.3409, allocations: 3.984 kB / 1.171 GB, free: 2.164 MB / 0.92 GB Notification: Performance of matching and sorting (n=8): time 0.000533/0.3415, allocations: 181.6 kB / 1.171 GB, free: 1.98 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.31e-05/0.3415, allocations: 59.41 kB / 1.171 GB, free: 1.91 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001097/0.3417, allocations: 130 kB / 1.171 GB, free: 1.77 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.735e-05/0.3417, allocations: 29.7 kB / 1.171 GB, free: 1.734 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 5.796e-05/0.3417, allocations: 96.12 kB / 1.171 GB, free: 1.637 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.236e-05/0.3418, allocations: 27.78 kB / 1.171 GB, free: 1.609 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.454e-05/0.3418, allocations: 33.7 kB / 1.171 GB, free: 1.57 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001131/0.342, allocations: 326.8 kB / 1.172 GB, free: 1.242 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.572e-05/0.342, allocations: 23.98 kB / 1.172 GB, free: 1.219 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.94e-05/0.3421, allocations: 69.98 kB / 1.172 GB, free: 1.129 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001962/0.3423, allocations: 97.94 kB / 1.172 GB, free: 1.012 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.3424, allocations: 0 / 1.172 GB, free: 1.012 MB / 0.92 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002391/0.3426, allocations: 133.4 kB / 1.172 GB, free: 0.875 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.996e-05/0.3426, allocations: 8 kB / 1.172 GB, free: 0.8672 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.3426, allocations: 0 / 1.172 GB, free: 0.8672 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.597e-05/0.3427, allocations: 4 kB / 1.172 GB, free: 0.8633 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.366e-05/0.3427, allocations: 8 kB / 1.172 GB, free: 0.8555 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.24e-05/0.3428, allocations: 11.92 kB / 1.172 GB, free: 0.8438 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.604e-05/0.3428, allocations: 16.08 kB / 1.172 GB, free: 0.8281 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.293e-05/0.3429, allocations: 8 kB / 1.172 GB, free: 0.8203 MB / 0.92 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.544e-05/0.343, allocations: 125.4 kB / 1.172 GB, free: 0.6914 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.072e-05/0.343, allocations: 11.95 kB / 1.172 GB, free: 0.6797 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.598e-05/0.343, allocations: 8.703 kB / 1.172 GB, free: 0.6719 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.407e-06/0.343, allocations: 4 kB / 1.172 GB, free: 0.668 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.343, allocations: 0 / 1.172 GB, free: 0.668 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.343, allocations: 0 / 1.172 GB, free: 0.668 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005567/0.3436, allocations: 434.4 kB / 1.173 GB, free: 192 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-06/0.3436, allocations: 0 / 1.173 GB, free: 192 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.995e-05/0.3437, allocations: 7.984 kB / 1.173 GB, free: 184 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.3437, allocations: 0 / 1.173 GB, free: 184 kB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.445e-05/0.3437, allocations: 4 kB / 1.173 GB, free: 180 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.3437, allocations: 0 / 1.173 GB, free: 180 kB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.659e-06/0.3437, allocations: 3.938 kB / 1.173 GB, free: 176 kB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000378/0.3441, allocations: 255.3 kB / 1.173 GB, free: 15.91 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.134e-05/0.3441, allocations: 85.06 kB / 1.173 GB, free: 15.8 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.465e-05/0.3442, allocations: 4 kB / 1.173 GB, free: 15.8 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000106/0.3443, allocations: 11.98 kB / 1.173 GB, free: 15.79 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.629e-05/0.3443, allocations: 11.92 kB / 1.173 GB, free: 15.78 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.216e-05/0.3444, allocations: 4 kB / 1.173 GB, free: 15.77 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 6.253e-05/0.3444, allocations: 111.1 kB / 1.173 GB, free: 15.66 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3444, allocations: 0 / 1.173 GB, free: 15.66 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003161/0.3448, allocations: 51.86 kB / 1.173 GB, free: 15.61 MB / 0.9356 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.0003517/0.3451, allocations: 170.4 kB / 1.173 GB, free: 15.45 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002716/0.3454, allocations: 95.86 kB / 1.173 GB, free: 15.36 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.3454, allocations: 0 / 1.173 GB, free: 15.36 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.00013/0.3455, allocations: 47.92 kB / 1.173 GB, free: 15.31 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002625/0.3458, allocations: 7.984 kB / 1.174 GB, free: 15.3 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004308/0.3462, allocations: 200.5 kB / 1.174 GB, free: 15.08 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002404/0.3465, allocations: 0.6963 MB / 1.174 GB, free: 14.36 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.636e-05/0.3465, allocations: 7.984 kB / 1.174 GB, free: 14.35 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.533e-05/0.3466, allocations: 11.44 kB / 1.174 GB, free: 14.34 MB / 0.9356 GB Notification: Performance of SimCode: time 2.3e-07/0.3466, allocations: 0 / 1.174 GB, free: 14.34 MB / 0.9356 GB Notification: Performance of Templates: time 0.004759/0.3513, allocations: 1.895 MB / 1.176 GB, free: 12.46 MB / 0.9356 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 -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