Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.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.001505/0.001505, allocations: 109.5 kB / 17.08 MB, free: 5.938 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.001477/0.001477, allocations: 194.7 kB / 20.03 MB, free: 3.012 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.426/1.426, allocations: 222.9 MB / 245.7 MB, free: 4.184 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.659/2.659, allocations: 437.1 MB / 0.7177 GB, free: 4.762 MB / 0.5606 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.Office.Windows.Validation.Haldi2008WindowsTOut,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut") translateModel(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001988/0.001988, allocations: 71.89 kB / 1.028 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3055/0.3075, allocations: 151.6 MB / 1.176 GB, free: 5.91 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut): time 0.002606/0.3101, allocations: 1.501 MB / 1.177 GB, free: 4.391 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001276/0.3114, allocations: 0.7323 MB / 1.178 GB, free: 3.652 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.35e-05/0.3115, allocations: 0 / 1.178 GB, free: 3.652 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.182e-05/0.3115, allocations: 3.938 kB / 1.178 GB, free: 3.648 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 5.067e-05/0.3116, allocations: 15.84 kB / 1.178 GB, free: 3.633 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.000517/0.3121, allocations: 127.6 kB / 1.178 GB, free: 3.508 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001137/0.3122, allocations: 75.72 kB / 1.178 GB, free: 3.434 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 8.369e-05/0.3123, allocations: 15.92 kB / 1.178 GB, free: 3.418 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 8.126e-05/0.3124, allocations: 39.91 kB / 1.178 GB, free: 3.379 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 6.54e-05/0.3125, allocations: 35.84 kB / 1.178 GB, free: 3.344 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.947e-05/0.3125, allocations: 8 kB / 1.178 GB, free: 3.336 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002118/0.3127, allocations: 95.84 kB / 1.178 GB, free: 3.242 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.829e-05/0.3128, allocations: 19.95 kB / 1.178 GB, free: 3.223 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 4.653e-05/0.3128, allocations: 31.8 kB / 1.178 GB, free: 3.191 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.000245/0.3131, allocations: 143.5 kB / 1.179 GB, free: 3.051 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.481e-06/0.3131, allocations: 4 kB / 1.179 GB, free: 3.047 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.082e-06/0.3131, allocations: 0 / 1.179 GB, free: 3.047 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.27e-06/0.3131, allocations: 0 / 1.179 GB, free: 3.047 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006282/0.3137, allocations: 420.7 kB / 1.179 GB, free: 2.582 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.412e-05/0.3138, allocations: 8.031 kB / 1.179 GB, free: 2.574 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.139e-05/0.3138, allocations: 12.88 kB / 1.179 GB, free: 2.562 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001453/0.314, allocations: 180.2 kB / 1.179 GB, free: 2.348 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.411e-05/0.314, allocations: 4.375 kB / 1.179 GB, free: 2.344 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.736e-05/0.314, allocations: 8.375 kB / 1.179 GB, free: 2.336 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001745/0.3142, allocations: 69.95 kB / 1.179 GB, free: 2.262 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.695e-06/0.3142, allocations: 4 kB / 1.179 GB, free: 2.258 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.1e-05/0.3143, allocations: 0 / 1.179 GB, free: 2.258 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-06/0.3143, allocations: 4 kB / 1.179 GB, free: 2.254 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001333/0.3144, allocations: 35.97 kB / 1.179 GB, free: 2.219 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005889/0.315, allocations: 312.7 kB / 1.18 GB, free: 1.863 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001307/0.3151, allocations: 54.55 kB / 1.18 GB, free: 1.801 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.508e-05/0.3152, allocations: 28.97 kB / 1.18 GB, free: 1.77 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.238e-05/0.3153, allocations: 8 kB / 1.18 GB, free: 1.762 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002112/0.3155, allocations: 75.36 kB / 1.18 GB, free: 1.676 MB / 0.92 GB Notification: Performance of pre-optimization done (n=7): time 1.393e-06/0.3155, allocations: 3.938 kB / 1.18 GB, free: 1.672 MB / 0.92 GB Notification: Performance of matching and sorting (n=7): time 0.0003959/0.3159, allocations: 149.6 kB / 1.18 GB, free: 1.52 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.992e-05/0.3159, allocations: 51.41 kB / 1.18 GB, free: 1.457 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001044/0.3161, allocations: 125.8 kB / 1.18 GB, free: 1.324 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.002e-05/0.3161, allocations: 25.7 kB / 1.18 GB, free: 1.293 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 6.447e-05/0.3162, allocations: 100 kB / 1.18 GB, free: 1.191 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.066e-05/0.3162, allocations: 15.84 kB / 1.18 GB, free: 1.176 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.201e-05/0.3162, allocations: 29.7 kB / 1.18 GB, free: 1.141 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001467/0.3164, allocations: 326.8 kB / 1.181 GB, free: 0.8125 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.133e-05/0.3165, allocations: 23.98 kB / 1.181 GB, free: 0.7891 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001098/0.3166, allocations: 50.55 kB / 1.181 GB, free: 0.7305 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001614/0.3168, allocations: 70.5 kB / 1.181 GB, free: 0.6523 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.3168, allocations: 4 kB / 1.181 GB, free: 0.6484 MB / 0.92 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002466/0.317, allocations: 113.5 kB / 1.181 GB, free: 0.5312 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.615e-05/0.3171, allocations: 5.719 kB / 1.181 GB, free: 0.5273 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.3171, allocations: 4 kB / 1.181 GB, free: 0.5234 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.242e-05/0.3171, allocations: 0 / 1.181 GB, free: 0.5234 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.58e-05/0.3172, allocations: 15.98 kB / 1.181 GB, free: 0.5078 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.963e-06/0.3172, allocations: 3.938 kB / 1.181 GB, free: 0.5039 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.697e-05/0.3173, allocations: 4 kB / 1.181 GB, free: 0.5 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.552e-05/0.3173, allocations: 16.05 kB / 1.181 GB, free: 496 kB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 9 (win.occ,win.curSeed,$PRE.win.curSeed,win.p,$PRE.win.p,win.on,$PRE.win.on,win.sampleTrigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.393e-05/0.3174, allocations: 117.8 kB / 1.181 GB, free: 368 kB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.494e-05/0.3174, allocations: 7.953 kB / 1.181 GB, free: 360 kB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.742e-05/0.3174, allocations: 12.38 kB / 1.181 GB, free: 348 kB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.3174, allocations: 0 / 1.181 GB, free: 348 kB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.3175, allocations: 3.938 kB / 1.181 GB, free: 344 kB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.3175, allocations: 0 / 1.181 GB, free: 344 kB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005028/0.318, allocations: 390.3 kB / 1.181 GB, free: 15.9 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.318, allocations: 0 / 1.181 GB, free: 15.9 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.951e-05/0.318, allocations: 7.984 kB / 1.181 GB, free: 15.89 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.318, allocations: 0 / 1.181 GB, free: 15.89 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.263e-05/0.3181, allocations: 4 kB / 1.181 GB, free: 15.89 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.3181, allocations: 0 / 1.181 GB, free: 15.89 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.856e-06/0.3181, allocations: 3.938 kB / 1.181 GB, free: 15.88 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003052/0.3184, allocations: 207.5 kB / 1.182 GB, free: 15.66 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.684e-05/0.3184, allocations: 85.06 kB / 1.182 GB, free: 15.56 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.019e-05/0.3185, allocations: 4 kB / 1.182 GB, free: 15.56 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.85e-05/0.3186, allocations: 7.984 kB / 1.182 GB, free: 15.55 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.603e-05/0.3186, allocations: 11.88 kB / 1.182 GB, free: 15.54 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.774e-06/0.3186, allocations: 0 / 1.182 GB, free: 15.54 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 5.832e-05/0.3187, allocations: 91.27 kB / 1.182 GB, free: 15.45 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3187, allocations: 0 / 1.182 GB, free: 15.45 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002925/0.319, allocations: 39.92 kB / 1.182 GB, free: 15.41 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: 6 (win.sampleTrigger,$whenCondition1,win.occ,win.on,win.p,win.curSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.000355/0.3194, allocations: 173.4 kB / 1.182 GB, free: 15.25 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002355/0.3196, allocations: 67.91 kB / 1.182 GB, free: 15.18 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.3196, allocations: 0 / 1.182 GB, free: 15.18 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001141/0.3197, allocations: 40.09 kB / 1.182 GB, free: 15.14 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000237/0.32, allocations: 7.938 kB / 1.182 GB, free: 15.13 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004072/0.3204, allocations: 220.9 kB / 1.182 GB, free: 14.88 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003248/0.3207, allocations: 0.6869 MB / 1.183 GB, free: 14.17 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.385e-05/0.3208, allocations: 15.42 kB / 1.183 GB, free: 14.16 MB / 0.9356 GB Notification: Performance of SimCode: time 2.4e-07/0.3208, allocations: 0 / 1.183 GB, free: 14.16 MB / 0.9356 GB Notification: Performance of Templates: time 0.00355/0.3243, allocations: 1.613 MB / 1.185 GB, free: 12.54 MB / 0.9356 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.sim & ./Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTOut.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.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: 10.742827203008346]