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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001453/0.001453, allocations: 113.8 kB / 17.61 MB, free: 4.703 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001335/0.001335, allocations: 186 kB / 20.78 MB, free: 1.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.471/1.471, allocations: 225.6 MB / 249.4 MB, free: 3.145 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.604/2.604, allocations: 443.4 MB / 0.7304 GB, free: 13.86 MB / 0.5762 GB " [Timeout remaining time 177] 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=2500,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=2500,variableFilter="time|ac.TIn|ac.occ|ac.on",fileNamePrefix="Buildings_10_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002179/0.002179, allocations: 63.89 kB / 1.059 GB, free: 372 kB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3502/0.3524, allocations: 160.7 MB / 1.216 GB, free: 15.34 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom): time 0.003102/0.3555, allocations: 1.513 MB / 1.218 GB, free: 13.8 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001671/0.3572, allocations: 0.8501 MB / 1.218 GB, free: 12.95 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.529e-05/0.3572, allocations: 0 / 1.218 GB, free: 12.95 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 4.909e-05/0.3573, allocations: 15.8 kB / 1.218 GB, free: 12.93 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 5.48e-05/0.3573, allocations: 15.86 kB / 1.218 GB, free: 12.91 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006118/0.3579, allocations: 151.5 kB / 1.219 GB, free: 12.77 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001491/0.3581, allocations: 87.75 kB / 1.219 GB, free: 12.68 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 9.407e-05/0.3582, allocations: 15.92 kB / 1.219 GB, free: 12.66 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 9.585e-05/0.3583, allocations: 43.86 kB / 1.219 GB, free: 12.62 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 8.669e-05/0.3584, allocations: 51.81 kB / 1.219 GB, free: 12.57 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.058e-05/0.3584, allocations: 8 kB / 1.219 GB, free: 12.56 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000257/0.3586, allocations: 131.8 kB / 1.219 GB, free: 12.43 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.547e-05/0.3587, allocations: 11.98 kB / 1.219 GB, free: 12.42 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 5.37e-05/0.3587, allocations: 43.78 kB / 1.219 GB, free: 12.38 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002981/0.359, allocations: 179.4 kB / 1.219 GB, free: 12.2 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.301e-06/0.359, allocations: 4 kB / 1.219 GB, free: 12.2 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.422e-06/0.359, allocations: 0 / 1.219 GB, free: 12.2 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.909e-06/0.359, allocations: 0 / 1.219 GB, free: 12.2 MB / 0.9669 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.0008339/0.3599, allocations: 486.2 kB / 1.22 GB, free: 11.66 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.561e-05/0.3599, allocations: 8.031 kB / 1.22 GB, free: 11.66 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.262e-05/0.3599, allocations: 8.891 kB / 1.22 GB, free: 11.65 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001665/0.3601, allocations: 184.2 kB / 1.22 GB, free: 11.43 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.517e-05/0.3601, allocations: 12.38 kB / 1.22 GB, free: 11.42 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.146e-05/0.3602, allocations: 4.375 kB / 1.22 GB, free: 11.41 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002419/0.3604, allocations: 89.95 kB / 1.22 GB, free: 11.32 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.023e-05/0.3604, allocations: 4 kB / 1.22 GB, free: 11.32 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.445e-05/0.3604, allocations: 3.984 kB / 1.22 GB, free: 11.31 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.3604, allocations: 0 / 1.22 GB, free: 11.31 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001665/0.3606, allocations: 47.97 kB / 1.22 GB, free: 11.27 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005695/0.3612, allocations: 324.6 kB / 1.22 GB, free: 10.9 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000238/0.3614, allocations: 86.47 kB / 1.22 GB, free: 10.8 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001193/0.3615, allocations: 44.83 kB / 1.22 GB, free: 10.76 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.661e-05/0.3615, allocations: 0 / 1.22 GB, free: 10.76 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002365/0.3618, allocations: 95.53 kB / 1.22 GB, free: 10.65 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=8): time 1.382e-06/0.3618, allocations: 4 kB / 1.22 GB, free: 10.65 MB / 0.9669 GB Notification: Performance of matching and sorting (n=8): time 0.0005308/0.3623, allocations: 185.5 kB / 1.221 GB, free: 10.46 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.209e-05/0.3624, allocations: 55.41 kB / 1.221 GB, free: 10.39 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001287/0.3625, allocations: 127.8 kB / 1.221 GB, free: 10.26 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.986e-05/0.3625, allocations: 33.64 kB / 1.221 GB, free: 10.22 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 7.019e-05/0.3626, allocations: 96.12 kB / 1.221 GB, free: 10.12 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.57e-05/0.3626, allocations: 19.86 kB / 1.221 GB, free: 10.1 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.115e-05/0.3627, allocations: 33.7 kB / 1.221 GB, free: 10.06 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001573/0.3628, allocations: 322.8 kB / 1.221 GB, free: 9.738 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.901e-05/0.3629, allocations: 31.97 kB / 1.221 GB, free: 9.707 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001166/0.363, allocations: 73.8 kB / 1.221 GB, free: 9.617 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000178/0.3632, allocations: 109.9 kB / 1.222 GB, free: 9.488 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.3632, allocations: 0 / 1.222 GB, free: 9.488 MB / 0.9669 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002484/0.3634, allocations: 129.4 kB / 1.222 GB, free: 9.355 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.512e-05/0.3634, allocations: 4 kB / 1.222 GB, free: 9.352 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.528e-06/0.3635, allocations: 0 / 1.222 GB, free: 9.352 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.516e-05/0.3635, allocations: 4 kB / 1.222 GB, free: 9.348 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.777e-05/0.3636, allocations: 19.98 kB / 1.222 GB, free: 9.328 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.701e-06/0.3636, allocations: 0 / 1.222 GB, free: 9.328 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.93e-05/0.3636, allocations: 20.06 kB / 1.222 GB, free: 9.309 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.645e-05/0.3636, allocations: 8 kB / 1.222 GB, free: 9.301 MB / 0.9669 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.0001126/0.3638, allocations: 127.1 kB / 1.222 GB, free: 9.168 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.106e-05/0.3638, allocations: 7.953 kB / 1.222 GB, free: 9.16 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.908e-05/0.3638, allocations: 12.72 kB / 1.222 GB, free: 9.148 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.452e-06/0.3638, allocations: 0 / 1.222 GB, free: 9.148 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.477e-06/0.3638, allocations: 0 / 1.222 GB, free: 9.148 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.11e-06/0.3638, allocations: 3.984 kB / 1.222 GB, free: 9.145 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006042/0.3644, allocations: 426.4 kB / 1.222 GB, free: 8.672 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.3644, allocations: 0 / 1.222 GB, free: 8.672 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.037e-05/0.3645, allocations: 8 kB / 1.222 GB, free: 8.664 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.3645, allocations: 0 / 1.222 GB, free: 8.664 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.52e-05/0.3645, allocations: 3.984 kB / 1.222 GB, free: 8.66 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.3645, allocations: 7.938 kB / 1.222 GB, free: 8.652 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/0.3645, allocations: 3.938 kB / 1.222 GB, free: 8.648 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003871/0.3649, allocations: 243.4 kB / 1.222 GB, free: 8.395 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.546e-05/0.3649, allocations: 93 kB / 1.223 GB, free: 8.285 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.395e-05/0.365, allocations: 4 kB / 1.223 GB, free: 8.281 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001158/0.3651, allocations: 11.98 kB / 1.223 GB, free: 8.27 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.473e-05/0.3651, allocations: 7.875 kB / 1.223 GB, free: 8.262 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.402e-05/0.3651, allocations: 7.984 kB / 1.223 GB, free: 8.254 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 6.737e-05/0.3652, allocations: 105.1 kB / 1.223 GB, free: 8.152 MB / 0.9669 GB Notification: Performance of sort global known variables: time 7e-08/0.3652, allocations: 0 / 1.223 GB, free: 8.152 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003123/0.3655, allocations: 51.86 kB / 1.223 GB, free: 8.102 MB / 0.9669 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.0003828/0.3659, allocations: 169.5 kB / 1.223 GB, free: 7.938 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002745/0.3662, allocations: 83.89 kB / 1.223 GB, free: 7.855 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.3662, allocations: 0 / 1.223 GB, free: 7.855 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001408/0.3663, allocations: 47.89 kB / 1.223 GB, free: 7.809 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002585/0.3666, allocations: 16.61 kB / 1.223 GB, free: 7.793 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004456/0.367, allocations: 200.4 kB / 1.223 GB, free: 7.57 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003521/0.3674, allocations: 0.6963 MB / 1.224 GB, free: 6.848 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 3.299e-05/0.3674, allocations: 4 kB / 1.224 GB, free: 6.844 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.53e-05/0.3674, allocations: 11.44 kB / 1.224 GB, free: 6.832 MB / 0.9669 GB Notification: Performance of SimCode: time 4.01e-07/0.3674, allocations: 0 / 1.224 GB, free: 6.832 MB / 0.9669 GB Notification: Performance of Templates: time 0.00551/0.3729, allocations: 1.923 MB / 1.226 GB, free: 4.926 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.makefile [Timeout 300] (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) [Timeout 400] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.142726618796587]