Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.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.001905/0.001905, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.002391/0.002391, allocations: 221.4 kB / 22.99 MB, free: 4.914 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.452/1.452, allocations: 230.6 MB / 256.8 MB, free: 7.809 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.742/2.742, allocations: 476 MB / 0.7707 GB, free: 4.766 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.Yun2008WindowsTIn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|win.TIn|win.occ|win.pOpen|win.on",fileNamePrefix="Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn") translateModel(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|win.TIn|win.occ|win.pOpen|win.on",fileNamePrefix="Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn") [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.002096/0.002096, allocations: 65.08 kB / 1.118 GB, free: 8.801 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3248/0.3269, allocations: 170 MB / 1.284 GB, free: 3.645 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn): time 0.002818/0.3297, allocations: 1.524 MB / 1.285 GB, free: 2.109 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001558/0.3313, allocations: 0.7883 MB / 1.286 GB, free: 1.316 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.24e-05/0.3313, allocations: 0 / 1.286 GB, free: 1.316 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 4.554e-05/0.3314, allocations: 7.875 kB / 1.286 GB, free: 1.309 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.436e-05/0.3314, allocations: 15.86 kB / 1.286 GB, free: 1.293 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006272/0.332, allocations: 163.5 kB / 1.286 GB, free: 1.133 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001499/0.3322, allocations: 111.7 kB / 1.286 GB, free: 1.023 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 8.999e-05/0.3323, allocations: 7.938 kB / 1.286 GB, free: 1.016 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001421/0.3324, allocations: 51.89 kB / 1.286 GB, free: 0.9648 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 8.819e-05/0.3325, allocations: 47.81 kB / 1.286 GB, free: 0.918 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.33e-05/0.3326, allocations: 8 kB / 1.286 GB, free: 0.9102 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000291/0.3328, allocations: 143.7 kB / 1.287 GB, free: 0.7695 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.593e-05/0.3329, allocations: 27.91 kB / 1.287 GB, free: 0.7422 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 5.219e-05/0.3329, allocations: 35.84 kB / 1.287 GB, free: 0.707 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002772/0.3332, allocations: 171.5 kB / 1.287 GB, free: 0.5391 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.3332, allocations: 0 / 1.287 GB, free: 0.5391 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.413e-06/0.3332, allocations: 0 / 1.287 GB, free: 0.5391 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 9.508e-06/0.3332, allocations: 0 / 1.287 GB, free: 0.5391 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.0007107/0.3339, allocations: 401.1 kB / 1.287 GB, free: 108 kB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.582e-05/0.334, allocations: 8.031 kB / 1.287 GB, free: 100 kB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004888/0.3345, allocations: 44.86 kB / 1.287 GB, free: 56 kB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002775/0.3347, allocations: 142.3 kB / 1.287 GB, free: 15.89 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.756e-05/0.3348, allocations: 4.312 kB / 1.287 GB, free: 15.89 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.781e-05/0.3348, allocations: 8.375 kB / 1.287 GB, free: 15.88 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002513/0.335, allocations: 89.94 kB / 1.287 GB, free: 15.79 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.558e-06/0.335, allocations: 0 / 1.287 GB, free: 15.79 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.518e-05/0.3351, allocations: 3.984 kB / 1.287 GB, free: 15.78 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.3351, allocations: 0 / 1.287 GB, free: 15.78 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001942/0.3353, allocations: 55.91 kB / 1.288 GB, free: 15.73 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007456/0.336, allocations: 264.5 kB / 1.288 GB, free: 15.44 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001819/0.3362, allocations: 62.48 kB / 1.288 GB, free: 15.37 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001321/0.3363, allocations: 40.83 kB / 1.288 GB, free: 15.32 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.058e-05/0.3363, allocations: 96 / 1.288 GB, free: 15.32 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000224/0.3366, allocations: 107.4 kB / 1.288 GB, free: 15.21 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=8): time 1.272e-06/0.3366, allocations: 0 / 1.288 GB, free: 15.21 MB / 0.9981 GB Notification: Performance of matching and sorting (n=8): time 0.0005817/0.3371, allocations: 185.5 kB / 1.288 GB, free: 15.02 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.96e-05/0.3372, allocations: 59.41 kB / 1.288 GB, free: 14.95 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001218/0.3373, allocations: 125.8 kB / 1.288 GB, free: 14.82 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.571e-05/0.3373, allocations: 29.7 kB / 1.288 GB, free: 14.78 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 6.468e-05/0.3374, allocations: 100.1 kB / 1.288 GB, free: 14.68 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.323e-05/0.3374, allocations: 15.84 kB / 1.288 GB, free: 14.66 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.599e-05/0.3375, allocations: 37.64 kB / 1.288 GB, free: 14.62 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001589/0.3376, allocations: 322.8 kB / 1.289 GB, free: 14.3 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.572e-05/0.3377, allocations: 27.98 kB / 1.289 GB, free: 14.27 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001177/0.3378, allocations: 70.64 kB / 1.289 GB, free: 14.19 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001967/0.338, allocations: 96.14 kB / 1.289 GB, free: 14.08 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.338, allocations: 4 kB / 1.289 GB, free: 14.07 MB / 0.9981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002702/0.3383, allocations: 129.5 kB / 1.289 GB, free: 13.94 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.654e-05/0.3383, allocations: 8 kB / 1.289 GB, free: 13.93 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.3383, allocations: 0 / 1.289 GB, free: 13.93 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.346e-05/0.3383, allocations: 3.938 kB / 1.289 GB, free: 13.93 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001078/0.3385, allocations: 15.98 kB / 1.289 GB, free: 13.91 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.531e-06/0.3385, allocations: 0 / 1.289 GB, free: 13.91 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.914e-05/0.3385, allocations: 15.94 kB / 1.289 GB, free: 13.9 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.382e-05/0.3386, allocations: 8.094 kB / 1.289 GB, free: 13.89 MB / 0.9981 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.0001097/0.3387, allocations: 125.7 kB / 1.289 GB, free: 13.76 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.193e-05/0.3387, allocations: 7.953 kB / 1.289 GB, free: 13.75 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.184e-05/0.3387, allocations: 16.36 kB / 1.289 GB, free: 13.73 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.3387, allocations: 3.938 kB / 1.289 GB, free: 13.73 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.3387, allocations: 48 / 1.289 GB, free: 13.73 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.3387, allocations: 3.984 kB / 1.289 GB, free: 13.73 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006336/0.3394, allocations: 378 kB / 1.29 GB, free: 13.32 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.888e-06/0.3394, allocations: 4 kB / 1.29 GB, free: 13.32 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.569e-05/0.3394, allocations: 0 / 1.29 GB, free: 13.32 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.12e-06/0.3394, allocations: 4 kB / 1.29 GB, free: 13.31 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.707e-05/0.3394, allocations: 7.984 kB / 1.29 GB, free: 13.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.3394, allocations: 0 / 1.29 GB, free: 13.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.3394, allocations: 64 / 1.29 GB, free: 13.3 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000445/0.3399, allocations: 259.4 kB / 1.29 GB, free: 13.04 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.389e-05/0.3399, allocations: 7.953 kB / 1.29 GB, free: 13.03 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.568e-05/0.3399, allocations: 7.984 kB / 1.29 GB, free: 13.02 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001149/0.34, allocations: 8 kB / 1.29 GB, free: 13.01 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.133e-05/0.3401, allocations: 7.984 kB / 1.29 GB, free: 13 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.009e-05/0.3401, allocations: 0 / 1.29 GB, free: 13 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 7.853e-05/0.3402, allocations: 108.9 kB / 1.29 GB, free: 12.9 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1e-07/0.3402, allocations: 0 / 1.29 GB, free: 12.9 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003165/0.3405, allocations: 43.88 kB / 1.29 GB, free: 12.86 MB / 0.9981 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.0003754/0.3408, allocations: 163.7 kB / 1.29 GB, free: 12.7 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.000301/0.3411, allocations: 95.81 kB / 1.29 GB, free: 12.61 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.3412, allocations: 3.938 kB / 1.29 GB, free: 12.61 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001463/0.3413, allocations: 43.97 kB / 1.29 GB, free: 12.56 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002643/0.3416, allocations: 8.188 kB / 1.29 GB, free: 12.55 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005128/0.3421, allocations: 236.7 kB / 1.291 GB, free: 12.29 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.194e-05/0.3422, allocations: 75.33 kB / 1.291 GB, free: 12.2 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.545e-05/0.3422, allocations: 11.44 kB / 1.291 GB, free: 12.19 MB / 0.9981 GB Notification: Performance of SimCode: time 3e-07/0.3422, allocations: 0 / 1.291 GB, free: 12.19 MB / 0.9981 GB Notification: Performance of Templates: time 0.004096/0.3463, allocations: 1.86 MB / 1.293 GB, free: 10.33 MB / 0.9981 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.sim & ./Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTIn.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.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.388127817772329]