Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.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.001289/0.001289, allocations: 109.7 kB / 19.7 MB, free: 2.266 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.001437/0.001437, allocations: 220.1 kB / 23.01 MB, free: 4.594 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.453/1.453, allocations: 230.6 MB / 256.8 MB, free: 8.012 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.715/2.715, allocations: 476.7 MB / 0.7714 GB, free: 4.27 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.Herkel2008WindowsSmall,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall") translateModel(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall") [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.00199/0.00199, allocations: 67.14 kB / 1.119 GB, free: 40.34 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3058/0.3078, allocations: 170 MB / 1.285 GB, free: 11.29 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall): time 0.002919/0.3107, allocations: 1.538 MB / 1.286 GB, free: 9.742 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001521/0.3122, allocations: 0.8235 MB / 1.287 GB, free: 8.914 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.612e-05/0.3123, allocations: 4 kB / 1.287 GB, free: 8.91 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.022e-05/0.3123, allocations: 3.938 kB / 1.287 GB, free: 8.906 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.424e-05/0.3123, allocations: 7.875 kB / 1.287 GB, free: 8.898 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005972/0.3129, allocations: 151.5 kB / 1.287 GB, free: 8.75 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001282/0.3131, allocations: 71.78 kB / 1.287 GB, free: 8.68 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 9.475e-05/0.3132, allocations: 16.11 kB / 1.287 GB, free: 8.664 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001345/0.3133, allocations: 43.84 kB / 1.287 GB, free: 8.621 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 7.519e-05/0.3134, allocations: 43.84 kB / 1.287 GB, free: 8.578 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.262e-05/0.3134, allocations: 8 kB / 1.287 GB, free: 8.57 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002934/0.3137, allocations: 143.8 kB / 1.287 GB, free: 8.43 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.21e-05/0.3137, allocations: 11.98 kB / 1.287 GB, free: 8.418 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 5.569e-05/0.3138, allocations: 35.8 kB / 1.287 GB, free: 8.383 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.000258/0.314, allocations: 151.5 kB / 1.288 GB, free: 8.234 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.778e-06/0.314, allocations: 0 / 1.288 GB, free: 8.234 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.262e-06/0.314, allocations: 0 / 1.288 GB, free: 8.234 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.99e-06/0.314, allocations: 4 kB / 1.288 GB, free: 8.23 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006586/0.3147, allocations: 351.5 kB / 1.288 GB, free: 7.852 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.701e-05/0.3147, allocations: 8.031 kB / 1.288 GB, free: 7.844 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003309/0.3151, allocations: 28.88 kB / 1.288 GB, free: 7.816 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002211/0.3153, allocations: 134.4 kB / 1.288 GB, free: 7.66 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.217e-05/0.3153, allocations: 4.375 kB / 1.288 GB, free: 7.656 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.615e-05/0.3153, allocations: 4.375 kB / 1.288 GB, free: 7.652 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001978/0.3155, allocations: 77.7 kB / 1.288 GB, free: 7.57 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.935e-06/0.3155, allocations: 4 kB / 1.288 GB, free: 7.566 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.31e-05/0.3156, allocations: 4 kB / 1.288 GB, free: 7.562 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.757e-06/0.3156, allocations: 7.875 kB / 1.288 GB, free: 7.555 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001295/0.3157, allocations: 39.97 kB / 1.288 GB, free: 7.516 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005881/0.3163, allocations: 283.8 kB / 1.288 GB, free: 7.195 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001316/0.3164, allocations: 50.5 kB / 1.289 GB, free: 7.137 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.893e-05/0.3165, allocations: 28.95 kB / 1.289 GB, free: 7.105 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.439e-05/0.3165, allocations: 0 / 1.289 GB, free: 7.105 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001523/0.3167, allocations: 79.38 kB / 1.289 GB, free: 7.016 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 1.232e-06/0.3167, allocations: 0 / 1.289 GB, free: 7.016 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.0003998/0.3171, allocations: 141.7 kB / 1.289 GB, free: 6.871 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.112e-05/0.3171, allocations: 59.34 kB / 1.289 GB, free: 6.801 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001284/0.3172, allocations: 122.1 kB / 1.289 GB, free: 6.668 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.318e-05/0.3173, allocations: 29.7 kB / 1.289 GB, free: 6.633 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.22e-05/0.3173, allocations: 92.09 kB / 1.289 GB, free: 6.539 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.459e-05/0.3173, allocations: 15.84 kB / 1.289 GB, free: 6.523 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.197e-05/0.3174, allocations: 29.7 kB / 1.289 GB, free: 6.488 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001656/0.3176, allocations: 330.8 kB / 1.289 GB, free: 6.156 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.059e-05/0.3176, allocations: 23.98 kB / 1.289 GB, free: 6.133 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.89e-05/0.3177, allocations: 50.55 kB / 1.289 GB, free: 6.074 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000159/0.3179, allocations: 66.5 kB / 1.29 GB, free: 6 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.3179, allocations: 8 kB / 1.29 GB, free: 5.992 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002452/0.3182, allocations: 105.5 kB / 1.29 GB, free: 5.883 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.564e-05/0.3182, allocations: 8 kB / 1.29 GB, free: 5.875 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.3182, allocations: 0 / 1.29 GB, free: 5.875 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.344e-05/0.3182, allocations: 0 / 1.29 GB, free: 5.875 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001062/0.3183, allocations: 15.98 kB / 1.29 GB, free: 5.859 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.3183, allocations: 4 kB / 1.29 GB, free: 5.855 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.434e-05/0.3184, allocations: 4 kB / 1.29 GB, free: 5.852 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.645e-05/0.3184, allocations: 16.05 kB / 1.29 GB, free: 5.836 MB / 0.9825 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.3185, allocations: 126.4 kB / 1.29 GB, free: 5.703 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.747e-05/0.3185, allocations: 7.953 kB / 1.29 GB, free: 5.695 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.941e-05/0.3185, allocations: 8.375 kB / 1.29 GB, free: 5.684 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.978e-06/0.3185, allocations: 3.984 kB / 1.29 GB, free: 5.68 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.3185, allocations: 0 / 1.29 GB, free: 5.68 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.58e-06/0.3185, allocations: 3.984 kB / 1.29 GB, free: 5.676 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004812/0.319, allocations: 357.5 kB / 1.29 GB, free: 5.277 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.319, allocations: 0 / 1.29 GB, free: 5.277 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.266e-05/0.3191, allocations: 11.92 kB / 1.29 GB, free: 5.266 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.3191, allocations: 0 / 1.29 GB, free: 5.266 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.678e-06/0.3191, allocations: 0 / 1.29 GB, free: 5.266 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.26e-05/0.3191, allocations: 3.938 kB / 1.29 GB, free: 5.262 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.3191, allocations: 0 / 1.29 GB, free: 5.262 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002938/0.3194, allocations: 216 kB / 1.29 GB, free: 5.035 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 2.259e-05/0.3194, allocations: 15.83 kB / 1.29 GB, free: 5.02 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.712e-05/0.3194, allocations: 0 / 1.29 GB, free: 5.02 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.277e-05/0.3195, allocations: 11.92 kB / 1.29 GB, free: 5.008 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.258e-05/0.3196, allocations: 0 / 1.29 GB, free: 5.008 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.284e-05/0.3196, allocations: 8 kB / 1.29 GB, free: 5 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.073e-05/0.3196, allocations: 92.14 kB / 1.291 GB, free: 4.91 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.3196, allocations: 0 / 1.291 GB, free: 4.91 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002992/0.3199, allocations: 39.92 kB / 1.291 GB, free: 4.871 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: 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.0003942/0.3203, allocations: 164.4 kB / 1.291 GB, free: 4.715 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002353/0.3206, allocations: 67.95 kB / 1.291 GB, free: 4.648 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.3206, allocations: 0 / 1.291 GB, free: 4.648 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001028/0.3207, allocations: 43.98 kB / 1.291 GB, free: 4.605 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002531/0.3209, allocations: 6.812 kB / 1.291 GB, free: 4.602 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004524/0.3214, allocations: 221.2 kB / 1.291 GB, free: 4.355 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003546/0.3217, allocations: 0.6885 MB / 1.292 GB, free: 3.641 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.273e-05/0.3218, allocations: 11.44 kB / 1.292 GB, free: 3.629 MB / 0.9825 GB Notification: Performance of SimCode: time 3.51e-07/0.3218, allocations: 3.938 kB / 1.292 GB, free: 3.625 MB / 0.9825 GB Notification: Performance of Templates: time 0.003776/0.3255, allocations: 1.642 MB / 1.293 GB, free: 1.984 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.sim & ./Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsSmall.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.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.333664011006476]