Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001614/0.001614, allocations: 102.1 kB / 19.7 MB, free: 2.254 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001534/0.001534, allocations: 220.5 kB / 23.01 MB, free: 4.609 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.435/1.435, allocations: 230.6 MB / 256.8 MB, free: 8.051 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.771/2.771, allocations: 476.8 MB / 0.7714 GB, free: 4.277 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|win.TOut|win.occ|win.pOpen|win.on",fileNamePrefix="Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut") translateModel(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|win.TOut|win.occ|win.pOpen|win.on",fileNamePrefix="Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002031/0.002031, allocations: 68.3 kB / 1.119 GB, free: 40.35 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3133/0.3153, allocations: 170 MB / 1.285 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut): time 0.002728/0.318, allocations: 1.555 MB / 1.286 GB, free: 9.664 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001468/0.3195, allocations: 0.8392 MB / 1.287 GB, free: 8.82 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.104e-05/0.3195, allocations: 0 / 1.287 GB, free: 8.82 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.701e-05/0.3196, allocations: 11.86 kB / 1.287 GB, free: 8.809 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.377e-05/0.3196, allocations: 15.86 kB / 1.287 GB, free: 8.793 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.000601/0.3202, allocations: 159.5 kB / 1.287 GB, free: 8.637 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001535/0.3204, allocations: 107.7 kB / 1.287 GB, free: 8.531 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 8.365e-05/0.3205, allocations: 11.98 kB / 1.287 GB, free: 8.52 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001329/0.3206, allocations: 51.89 kB / 1.287 GB, free: 8.469 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 8.944e-05/0.3207, allocations: 47.81 kB / 1.287 GB, free: 8.422 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.423e-05/0.3207, allocations: 12 kB / 1.287 GB, free: 8.41 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000293/0.321, allocations: 147.8 kB / 1.287 GB, free: 8.266 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.376e-05/0.321, allocations: 27.91 kB / 1.288 GB, free: 8.238 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 5.965e-05/0.3211, allocations: 43.78 kB / 1.288 GB, free: 8.195 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002762/0.3214, allocations: 175.5 kB / 1.288 GB, free: 8.023 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.3214, allocations: 0 / 1.288 GB, free: 8.023 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.092e-06/0.3214, allocations: 0 / 1.288 GB, free: 8.023 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.31e-06/0.3214, allocations: 0 / 1.288 GB, free: 8.023 MB / 0.9825 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.0006504/0.322, allocations: 393.2 kB / 1.288 GB, free: 7.598 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.15e-05/0.3221, allocations: 8.031 kB / 1.288 GB, free: 7.59 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004846/0.3226, allocations: 52.8 kB / 1.288 GB, free: 7.539 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002191/0.3228, allocations: 136.9 kB / 1.288 GB, free: 7.383 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.28e-05/0.3228, allocations: 4.375 kB / 1.288 GB, free: 7.379 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.165e-05/0.3228, allocations: 8.375 kB / 1.288 GB, free: 7.371 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002324/0.3231, allocations: 89.88 kB / 1.288 GB, free: 7.277 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.266e-06/0.3231, allocations: 0 / 1.288 GB, free: 7.277 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.269e-05/0.3231, allocations: 0 / 1.288 GB, free: 7.277 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.354e-06/0.3231, allocations: 0 / 1.288 GB, free: 7.277 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001702/0.3232, allocations: 59.88 kB / 1.288 GB, free: 7.219 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007223/0.324, allocations: 311.8 kB / 1.289 GB, free: 6.871 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001633/0.3241, allocations: 54.53 kB / 1.289 GB, free: 6.809 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001209/0.3243, allocations: 48.86 kB / 1.289 GB, free: 6.758 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.869e-05/0.3243, allocations: 0 / 1.289 GB, free: 6.758 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002/0.3245, allocations: 87.36 kB / 1.289 GB, free: 6.66 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=8): time 1.292e-06/0.3245, allocations: 0 / 1.289 GB, free: 6.66 MB / 0.9825 GB Notification: Performance of matching and sorting (n=8): time 0.0005151/0.325, allocations: 181.6 kB / 1.289 GB, free: 6.477 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.535e-05/0.325, allocations: 59.41 kB / 1.289 GB, free: 6.406 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001105/0.3251, allocations: 125.8 kB / 1.289 GB, free: 6.273 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.378e-05/0.3252, allocations: 33.64 kB / 1.289 GB, free: 6.234 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.903e-05/0.3252, allocations: 96.08 kB / 1.289 GB, free: 6.137 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.794e-05/0.3253, allocations: 23.98 kB / 1.289 GB, free: 6.113 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.993e-05/0.3253, allocations: 29.7 kB / 1.289 GB, free: 6.078 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000144/0.3255, allocations: 326.8 kB / 1.29 GB, free: 5.75 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.393e-05/0.3255, allocations: 31.98 kB / 1.29 GB, free: 5.719 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001082/0.3256, allocations: 65.39 kB / 1.29 GB, free: 5.641 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000185/0.3258, allocations: 96.2 kB / 1.29 GB, free: 5.531 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.3258, allocations: 0 / 1.29 GB, free: 5.531 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002605/0.3261, allocations: 129.5 kB / 1.29 GB, free: 5.398 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.461e-05/0.3261, allocations: 4 kB / 1.29 GB, free: 5.395 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.3261, allocations: 0 / 1.29 GB, free: 5.395 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.47e-05/0.3261, allocations: 4 kB / 1.29 GB, free: 5.391 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001008/0.3262, allocations: 11.98 kB / 1.29 GB, free: 5.379 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.3262, allocations: 8.406 kB / 1.29 GB, free: 5.371 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.394e-05/0.3263, allocations: 11.94 kB / 1.29 GB, free: 5.359 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.393e-05/0.3263, allocations: 4 kB / 1.29 GB, free: 5.355 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 11 (win.curSeed,$PRE.win.curSeed,win.on,$PRE.win.on,occ.y,win.pClose,$PRE.win.pClose,win.pOpen,$PRE.win.pOpen,win.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.0001073/0.3264, allocations: 129.7 kB / 1.29 GB, free: 5.219 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.085e-05/0.3264, allocations: 11.89 kB / 1.29 GB, free: 5.207 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.879e-05/0.3265, allocations: 12.36 kB / 1.29 GB, free: 5.191 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.3265, allocations: 0 / 1.29 GB, free: 5.191 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.98e-06/0.3265, allocations: 4.062 kB / 1.29 GB, free: 5.188 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.965e-06/0.3265, allocations: 7.938 kB / 1.29 GB, free: 5.18 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005782/0.3271, allocations: 405.4 kB / 1.291 GB, free: 4.734 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.3271, allocations: 0 / 1.291 GB, free: 4.734 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.486e-05/0.3271, allocations: 4 kB / 1.291 GB, free: 4.73 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.579e-06/0.3271, allocations: 4 kB / 1.291 GB, free: 4.727 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.718e-05/0.3271, allocations: 3.984 kB / 1.291 GB, free: 4.723 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.3271, allocations: 0 / 1.291 GB, free: 4.723 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.907e-06/0.3271, allocations: 3.938 kB / 1.291 GB, free: 4.719 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003967/0.3275, allocations: 247.5 kB / 1.291 GB, free: 4.461 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.197e-05/0.3275, allocations: 3.953 kB / 1.291 GB, free: 4.457 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.493e-05/0.3276, allocations: 8 kB / 1.291 GB, free: 4.449 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001121/0.3277, allocations: 7.984 kB / 1.291 GB, free: 4.441 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.474e-05/0.3277, allocations: 11.86 kB / 1.291 GB, free: 4.43 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.174e-05/0.3277, allocations: 8 kB / 1.291 GB, free: 4.422 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.724e-05/0.3278, allocations: 102.4 kB / 1.291 GB, free: 4.324 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.3278, allocations: 0 / 1.291 GB, free: 4.324 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003031/0.3281, allocations: 43.92 kB / 1.291 GB, free: 4.281 MB / 0.9825 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 (win.sampleTrigger,$whenCondition1,occ.y,win.on,win.pOpen,win.pClose,win.curSeed) * Number of discrete states: 1 (win.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.0003525/0.3285, allocations: 160.3 kB / 1.291 GB, free: 4.129 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000283/0.3287, allocations: 87.89 kB / 1.291 GB, free: 4.043 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.3287, allocations: 0 / 1.291 GB, free: 4.043 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001363/0.3289, allocations: 43.97 kB / 1.291 GB, free: 4 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002604/0.3291, allocations: 15.92 kB / 1.291 GB, free: 3.984 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004734/0.3296, allocations: 237.5 kB / 1.292 GB, free: 3.723 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003122/0.3299, allocations: 0.6923 MB / 1.292 GB, free: 3.004 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.372e-05/0.33, allocations: 11.44 kB / 1.292 GB, free: 2.992 MB / 0.9825 GB Notification: Performance of SimCode: time 3.31e-07/0.33, allocations: 0 / 1.292 GB, free: 2.992 MB / 0.9825 GB Notification: Performance of Templates: time 0.003885/0.3338, allocations: 1.826 MB / 1.294 GB, free: 1.168 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.sim & ./Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTOut.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.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: 11.475417246023426]