Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.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.0016/0.0016, allocations: 110.6 kB / 17.08 MB, free: 5.977 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.001735/0.001735, allocations: 195.6 kB / 20.03 MB, free: 3.047 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.464/1.464, allocations: 222.9 MB / 245.7 MB, free: 4.211 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.678/2.678, allocations: 437.1 MB / 0.7177 GB, free: 4.539 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.Zhang2012WindowsWest,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.Zhang2012WindowsWest") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest,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.Zhang2012WindowsWest") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001968/0.001968, allocations: 67.89 kB / 1.028 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3119/0.3139, allocations: 151.6 MB / 1.176 GB, free: 5.93 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest): time 0.002879/0.3168, allocations: 1.496 MB / 1.177 GB, free: 4.414 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001353/0.3181, allocations: 0.7323 MB / 1.178 GB, free: 3.676 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.889e-05/0.3182, allocations: 4 kB / 1.178 GB, free: 3.672 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.477e-05/0.3182, allocations: 7.922 kB / 1.178 GB, free: 3.664 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 5.747e-05/0.3183, allocations: 15.86 kB / 1.178 GB, free: 3.648 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005263/0.3188, allocations: 123.6 kB / 1.178 GB, free: 3.527 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001231/0.319, allocations: 71.78 kB / 1.178 GB, free: 3.457 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 9.033e-05/0.3191, allocations: 23.86 kB / 1.178 GB, free: 3.434 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 8.849e-05/0.3192, allocations: 35.91 kB / 1.178 GB, free: 3.398 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 7.095e-05/0.3192, allocations: 39.83 kB / 1.178 GB, free: 3.359 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.975e-05/0.3193, allocations: 8 kB / 1.178 GB, free: 3.352 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002001/0.3195, allocations: 95.84 kB / 1.178 GB, free: 3.258 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.688e-05/0.3195, allocations: 15.98 kB / 1.178 GB, free: 3.242 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 4.843e-05/0.3196, allocations: 35.78 kB / 1.178 GB, free: 3.207 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002362/0.3198, allocations: 143.5 kB / 1.179 GB, free: 3.066 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.3198, allocations: 0 / 1.179 GB, free: 3.066 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.403e-06/0.3198, allocations: 0 / 1.179 GB, free: 3.066 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.539e-06/0.3198, allocations: 0 / 1.179 GB, free: 3.066 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.0007997/0.3206, allocations: 427 kB / 1.179 GB, free: 2.598 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.868e-05/0.3207, allocations: 8.031 kB / 1.179 GB, free: 2.59 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.411e-05/0.3207, allocations: 12.89 kB / 1.179 GB, free: 2.578 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001407/0.3209, allocations: 172.3 kB / 1.179 GB, free: 2.371 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.774e-05/0.3209, allocations: 4.312 kB / 1.179 GB, free: 2.367 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.088e-05/0.321, allocations: 4.375 kB / 1.179 GB, free: 2.363 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002031/0.3212, allocations: 73.97 kB / 1.179 GB, free: 2.285 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/0.3212, allocations: 0 / 1.179 GB, free: 2.285 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.551e-05/0.3212, allocations: 3.984 kB / 1.179 GB, free: 2.281 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.138e-06/0.3212, allocations: 0 / 1.179 GB, free: 2.281 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001353/0.3213, allocations: 43.97 kB / 1.179 GB, free: 2.238 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006344/0.322, allocations: 316.8 kB / 1.18 GB, free: 1.879 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001319/0.3221, allocations: 46.5 kB / 1.18 GB, free: 1.824 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.54e-05/0.3222, allocations: 32.97 kB / 1.18 GB, free: 1.789 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.871e-05/0.3223, allocations: 4 kB / 1.18 GB, free: 1.785 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001847/0.3224, allocations: 79.38 kB / 1.18 GB, free: 1.695 MB / 0.92 GB Notification: Performance of pre-optimization done (n=7): time 3.397e-06/0.3225, allocations: 0 / 1.18 GB, free: 1.695 MB / 0.92 GB Notification: Performance of matching and sorting (n=7): time 0.0003983/0.3229, allocations: 141.5 kB / 1.18 GB, free: 1.551 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.147e-05/0.3229, allocations: 55.41 kB / 1.18 GB, free: 1.484 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001123/0.323, allocations: 125.8 kB / 1.18 GB, free: 1.352 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.044e-05/0.3231, allocations: 29.7 kB / 1.18 GB, free: 1.316 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 6.074e-05/0.3231, allocations: 92.09 kB / 1.18 GB, free: 1.223 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.362e-05/0.3232, allocations: 19.83 kB / 1.18 GB, free: 1.203 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.122e-05/0.3232, allocations: 29.7 kB / 1.18 GB, free: 1.168 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001453/0.3234, allocations: 326.7 kB / 1.181 GB, free: 0.8398 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.111e-05/0.3235, allocations: 23.98 kB / 1.181 GB, free: 0.8164 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000108/0.3236, allocations: 50.55 kB / 1.181 GB, free: 0.7578 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001748/0.3238, allocations: 74.8 kB / 1.181 GB, free: 0.6758 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.3238, allocations: 0 / 1.181 GB, free: 0.6758 MB / 0.92 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000243/0.324, allocations: 113.5 kB / 1.181 GB, free: 0.5586 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.314e-05/0.324, allocations: 8.062 kB / 1.181 GB, free: 0.5508 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.324, allocations: 3.984 kB / 1.181 GB, free: 0.5469 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.548e-05/0.3241, allocations: 4 kB / 1.181 GB, free: 0.543 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.822e-05/0.3242, allocations: 8 kB / 1.181 GB, free: 0.5352 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.3242, allocations: 0 / 1.181 GB, free: 0.5352 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.403e-05/0.3242, allocations: 11.98 kB / 1.181 GB, free: 0.5234 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.559e-05/0.3243, allocations: 4 kB / 1.181 GB, free: 0.5195 MB / 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 0.0001105/0.3244, allocations: 121.7 kB / 1.181 GB, free: 400 kB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.713e-05/0.3244, allocations: 11.95 kB / 1.181 GB, free: 388 kB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.668e-05/0.3244, allocations: 12.36 kB / 1.181 GB, free: 376 kB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.771e-06/0.3244, allocations: 8 kB / 1.181 GB, free: 368 kB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.591e-06/0.3245, allocations: 0 / 1.181 GB, free: 368 kB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.3245, allocations: 3.938 kB / 1.181 GB, free: 364 kB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005052/0.325, allocations: 386.3 kB / 1.181 GB, free: 15.92 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.325, allocations: 0 / 1.181 GB, free: 15.92 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.775e-05/0.325, allocations: 4 kB / 1.181 GB, free: 15.92 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.325, allocations: 0 / 1.181 GB, free: 15.92 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.373e-05/0.3251, allocations: 8 kB / 1.181 GB, free: 15.91 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.376e-06/0.3251, allocations: 3.984 kB / 1.181 GB, free: 15.91 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.3251, allocations: 7.938 kB / 1.181 GB, free: 15.9 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002927/0.3254, allocations: 199.5 kB / 1.182 GB, free: 15.69 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.814e-05/0.3254, allocations: 85.06 kB / 1.182 GB, free: 15.59 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.699e-05/0.3254, allocations: 0 / 1.182 GB, free: 15.59 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.214e-05/0.3255, allocations: 11.98 kB / 1.182 GB, free: 15.57 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.121e-05/0.3256, allocations: 7.938 kB / 1.182 GB, free: 15.57 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.181e-05/0.3256, allocations: 7.984 kB / 1.182 GB, free: 15.56 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 6.537e-05/0.3257, allocations: 95.2 kB / 1.182 GB, free: 15.46 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3257, allocations: 0 / 1.182 GB, free: 15.46 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002922/0.326, allocations: 35.94 kB / 1.182 GB, free: 15.43 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.0003801/0.3264, allocations: 162.2 kB / 1.182 GB, free: 15.28 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002446/0.3266, allocations: 75.89 kB / 1.182 GB, free: 15.2 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.3266, allocations: 0 / 1.182 GB, free: 15.2 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 9.904e-05/0.3267, allocations: 31.98 kB / 1.182 GB, free: 15.17 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002488/0.327, allocations: 8 kB / 1.182 GB, free: 15.16 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004226/0.3274, allocations: 210.5 kB / 1.182 GB, free: 14.92 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003439/0.3278, allocations: 0.6885 MB / 1.183 GB, free: 14.21 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.504e-05/0.3278, allocations: 19.38 kB / 1.183 GB, free: 14.19 MB / 0.9356 GB Notification: Performance of SimCode: time 2.21e-07/0.3278, allocations: 0 / 1.183 GB, free: 14.19 MB / 0.9356 GB Notification: Performance of Templates: time 0.003743/0.3316, allocations: 1.62 MB / 1.185 GB, free: 12.57 MB / 0.9356 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.sim & ./Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsWest.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.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.685645894962363]