Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.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.001728/0.001728, allocations: 110.5 kB / 19.69 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.002159/0.002159, allocations: 216.7 kB / 23.01 MB, free: 4.566 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.463/1.463, allocations: 230.6 MB / 256.8 MB, free: 8.02 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.847/2.847, allocations: 476.7 MB / 0.7714 GB, free: 4.293 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.Haldi2009WindowsTInTout,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.Haldi2009WindowsTInTout") translateModel(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout,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.Haldi2009WindowsTInTout") [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.002086/0.002086, allocations: 66.58 kB / 1.119 GB, free: 40.35 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3177/0.3198, allocations: 170 MB / 1.285 GB, free: 11.2 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout): time 0.002829/0.3226, allocations: 1.629 MB / 1.286 GB, free: 9.562 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001561/0.3242, allocations: 0.8781 MB / 1.287 GB, free: 8.68 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.989e-05/0.3242, allocations: 7.938 kB / 1.287 GB, free: 8.672 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.407e-05/0.3243, allocations: 3.938 kB / 1.287 GB, free: 8.668 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.566e-05/0.3243, allocations: 23.72 kB / 1.287 GB, free: 8.645 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006506/0.325, allocations: 179.5 kB / 1.287 GB, free: 8.469 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001892/0.3252, allocations: 135.6 kB / 1.287 GB, free: 8.336 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001052/0.3253, allocations: 25.52 kB / 1.287 GB, free: 8.309 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001551/0.3254, allocations: 63.83 kB / 1.287 GB, free: 8.246 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001167/0.3255, allocations: 71.78 kB / 1.288 GB, free: 8.176 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.761e-05/0.3256, allocations: 12 kB / 1.288 GB, free: 8.164 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002949/0.3259, allocations: 147.7 kB / 1.288 GB, free: 8.02 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.848e-05/0.3259, allocations: 31.91 kB / 1.288 GB, free: 7.988 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 6.706e-05/0.326, allocations: 55.7 kB / 1.288 GB, free: 7.934 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003194/0.3263, allocations: 211.2 kB / 1.288 GB, free: 7.727 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.878e-06/0.3263, allocations: 0 / 1.288 GB, free: 7.727 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.593e-06/0.3263, allocations: 0 / 1.288 GB, free: 7.727 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 9.779e-06/0.3263, allocations: 0 / 1.288 GB, free: 7.727 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0007432/0.3271, allocations: 425 kB / 1.288 GB, free: 7.27 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.257e-05/0.3271, allocations: 8.031 kB / 1.288 GB, free: 7.262 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006454/0.3277, allocations: 68.84 kB / 1.288 GB, free: 7.195 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002619/0.328, allocations: 142.3 kB / 1.289 GB, free: 7.031 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.505e-05/0.328, allocations: 8.375 kB / 1.289 GB, free: 7.023 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.623e-05/0.328, allocations: 8.375 kB / 1.289 GB, free: 7.016 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002496/0.3283, allocations: 93.94 kB / 1.289 GB, free: 6.918 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.606e-06/0.3283, allocations: 0 / 1.289 GB, free: 6.918 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.644e-05/0.3283, allocations: 7.938 kB / 1.289 GB, free: 6.91 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.985e-06/0.3283, allocations: 8 kB / 1.289 GB, free: 6.902 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000211/0.3285, allocations: 67.89 kB / 1.289 GB, free: 6.836 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008142/0.3294, allocations: 343.7 kB / 1.289 GB, free: 6.457 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001762/0.3295, allocations: 66.52 kB / 1.289 GB, free: 6.383 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001262/0.3297, allocations: 60.7 kB / 1.289 GB, free: 6.32 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.28e-05/0.3297, allocations: 4 kB / 1.289 GB, free: 6.316 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002071/0.3299, allocations: 99.34 kB / 1.289 GB, free: 6.207 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=9): time 1.303e-06/0.3299, allocations: 0 / 1.289 GB, free: 6.207 MB / 0.9825 GB Notification: Performance of matching and sorting (n=9): time 0.0005641/0.3305, allocations: 213.5 kB / 1.29 GB, free: 5.992 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.308e-05/0.3305, allocations: 55.41 kB / 1.29 GB, free: 5.926 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001414/0.3306, allocations: 152.7 kB / 1.29 GB, free: 5.762 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.438e-05/0.3307, allocations: 29.7 kB / 1.29 GB, free: 5.727 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.56e-05/0.3307, allocations: 100.4 kB / 1.29 GB, free: 5.625 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.719e-05/0.3308, allocations: 23.84 kB / 1.29 GB, free: 5.602 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.106e-05/0.3308, allocations: 29.7 kB / 1.29 GB, free: 5.566 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001416/0.331, allocations: 330.8 kB / 1.29 GB, free: 5.234 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001205/0.3311, allocations: 43.97 kB / 1.29 GB, free: 5.191 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001393/0.3312, allocations: 72.2 kB / 1.29 GB, free: 5.105 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002382/0.3315, allocations: 112.2 kB / 1.29 GB, free: 4.98 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.3315, allocations: 0 / 1.29 GB, free: 4.98 MB / 0.9825 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003365/0.3318, allocations: 149.5 kB / 1.291 GB, free: 4.828 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.444e-05/0.3318, allocations: 4 kB / 1.291 GB, free: 4.824 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.115e-06/0.3318, allocations: 8.031 kB / 1.291 GB, free: 4.816 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.367e-05/0.3318, allocations: 4 kB / 1.291 GB, free: 4.812 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001408/0.332, allocations: 19.98 kB / 1.291 GB, free: 4.793 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.125e-06/0.332, allocations: 4 kB / 1.291 GB, free: 4.789 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001023/0.3321, allocations: 15.88 kB / 1.291 GB, free: 4.773 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.713e-05/0.3321, allocations: 4 kB / 1.291 GB, free: 4.77 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,win.occ,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 (14): * Single equations (assignments): 14 * 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.0001142/0.3322, allocations: 129.7 kB / 1.291 GB, free: 4.633 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.418e-05/0.3322, allocations: 11.94 kB / 1.291 GB, free: 4.621 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.065e-05/0.3323, allocations: 16.83 kB / 1.291 GB, free: 4.605 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.918e-06/0.3323, allocations: 7.969 kB / 1.291 GB, free: 4.598 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.127e-06/0.3323, allocations: 384 / 1.291 GB, free: 4.598 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.3323, allocations: 0 / 1.291 GB, free: 4.598 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006392/0.3329, allocations: 441.5 kB / 1.291 GB, free: 4.117 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.3329, allocations: 0 / 1.291 GB, free: 4.117 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.451e-05/0.333, allocations: 11.98 kB / 1.291 GB, free: 4.105 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.333, allocations: 4.062 kB / 1.291 GB, free: 4.102 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.624e-05/0.333, allocations: 8 kB / 1.291 GB, free: 4.094 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.649e-06/0.333, allocations: 4 kB / 1.291 GB, free: 4.09 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.333, allocations: 3.938 kB / 1.291 GB, free: 4.086 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004143/0.3334, allocations: 267.3 kB / 1.291 GB, free: 3.809 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.572e-05/0.3334, allocations: 11.91 kB / 1.292 GB, free: 3.797 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.576e-05/0.3335, allocations: 4 kB / 1.292 GB, free: 3.793 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000123/0.3336, allocations: 11.98 kB / 1.292 GB, free: 3.781 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.593e-05/0.3337, allocations: 11.92 kB / 1.292 GB, free: 3.77 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.037e-05/0.3337, allocations: 4 kB / 1.292 GB, free: 3.766 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 8.082e-05/0.3337, allocations: 112.1 kB / 1.292 GB, free: 3.656 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.3337, allocations: 0 / 1.292 GB, free: 3.656 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003176/0.3341, allocations: 39.94 kB / 1.292 GB, free: 3.617 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,win.occ,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 (9): * Single equations (assignments): 5 * 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.00038/0.3344, allocations: 171.3 kB / 1.292 GB, free: 3.457 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003293/0.3348, allocations: 103.9 kB / 1.292 GB, free: 3.355 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.3348, allocations: 0 / 1.292 GB, free: 3.355 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001464/0.3349, allocations: 55.91 kB / 1.292 GB, free: 3.301 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002837/0.3352, allocations: 16.12 kB / 1.292 GB, free: 3.285 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000526/0.3357, allocations: 258.4 kB / 1.292 GB, free: 3 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003133/0.336, allocations: 0.7002 MB / 1.293 GB, free: 2.273 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.455e-05/0.3361, allocations: 11.44 kB / 1.293 GB, free: 2.262 MB / 0.9825 GB Notification: Performance of SimCode: time 2.91e-07/0.3361, allocations: 0 / 1.293 GB, free: 2.262 MB / 0.9825 GB Notification: Performance of Templates: time 0.004326/0.3404, allocations: 2.12 MB / 1.295 GB, free: 156 kB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.sim & ./Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Windows_Validation_Haldi2009WindowsTInTout.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.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.764671365002869]