Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.Herkel2008WindowsSmall,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall") translateModel(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001186/0.001186, allocations: 106.3 kB / 15.99 MB, free: 6.355 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001257/0.001257, allocations: 196.5 kB / 16.91 MB, free: 6.188 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.361/1.361, allocations: 222.9 MB / 240.6 MB, free: 15.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.212/2.212, allocations: 390.2 MB / 0.665 GB, free: 0.9414 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001254/0.001254, allocations: 64.14 kB / 0.8127 GB, free: 33.26 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2518/0.253, allocations: 140.4 MB / 0.9498 GB, free: 9.262 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall): time 0.002874/0.256, allocations: 1.565 MB / 0.9513 GB, free: 7.688 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.00124/0.2572, allocations: 0.7207 MB / 0.952 GB, free: 6.961 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.866e-05/0.2573, allocations: 3.938 kB / 0.952 GB, free: 6.957 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.416e-05/0.2574, allocations: 0 / 0.952 GB, free: 6.957 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 6.084e-05/0.2574, allocations: 7.938 kB / 0.952 GB, free: 6.949 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005443/0.258, allocations: 111.8 kB / 0.9521 GB, free: 6.84 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001109/0.2581, allocations: 79.72 kB / 0.9522 GB, free: 6.762 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 9.243e-05/0.2582, allocations: 15.97 kB / 0.9522 GB, free: 6.746 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 9.327e-05/0.2583, allocations: 31.91 kB / 0.9522 GB, free: 6.715 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 6.627e-05/0.2584, allocations: 43.83 kB / 0.9523 GB, free: 6.672 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.913e-05/0.2584, allocations: 8 kB / 0.9523 GB, free: 6.664 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001963/0.2586, allocations: 95.84 kB / 0.9524 GB, free: 6.57 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.299e-05/0.2586, allocations: 11.98 kB / 0.9524 GB, free: 6.559 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 6.686e-05/0.2587, allocations: 39.8 kB / 0.9524 GB, free: 6.52 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001913/0.2589, allocations: 108 kB / 0.9525 GB, free: 6.414 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.2589, allocations: 0 / 0.9525 GB, free: 6.414 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.383e-06/0.2589, allocations: 0 / 0.9525 GB, free: 6.414 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.899e-06/0.2589, allocations: 3.938 kB / 0.9525 GB, free: 6.41 MB / 0.7325 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.0006133/0.2596, allocations: 416.9 kB / 0.9529 GB, free: 5.949 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.869e-05/0.2596, allocations: 8.031 kB / 0.9529 GB, free: 5.941 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.987e-05/0.2597, allocations: 12.83 kB / 0.9529 GB, free: 5.93 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001128/0.2598, allocations: 172.3 kB / 0.9531 GB, free: 5.723 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.109e-05/0.2598, allocations: 4.375 kB / 0.9531 GB, free: 5.719 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.988e-05/0.2598, allocations: 8.375 kB / 0.9531 GB, free: 5.711 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001859/0.26, allocations: 73.91 kB / 0.9532 GB, free: 5.633 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.667e-06/0.26, allocations: 3.938 kB / 0.9532 GB, free: 5.629 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.226e-05/0.2601, allocations: 0 / 0.9532 GB, free: 5.629 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.2601, allocations: 4 kB / 0.9532 GB, free: 5.625 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001251/0.2602, allocations: 35.97 kB / 0.9532 GB, free: 5.59 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005941/0.2608, allocations: 320.7 kB / 0.9535 GB, free: 5.227 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000121/0.2609, allocations: 46.5 kB / 0.9536 GB, free: 5.172 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.059e-05/0.261, allocations: 36.95 kB / 0.9536 GB, free: 5.133 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.001e-05/0.261, allocations: 0 / 0.9536 GB, free: 5.133 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001978/0.2613, allocations: 83.38 kB / 0.9537 GB, free: 5.039 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=7): time 1.563e-06/0.2613, allocations: 0 / 0.9537 GB, free: 5.039 MB / 0.7325 GB Notification: Performance of matching and sorting (n=7): time 0.000384/0.2617, allocations: 137.6 kB / 0.9538 GB, free: 4.898 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.122e-05/0.2617, allocations: 59.34 kB / 0.9539 GB, free: 4.828 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.942e-05/0.2618, allocations: 121.8 kB / 0.954 GB, free: 4.699 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.913e-05/0.2618, allocations: 25.7 kB / 0.954 GB, free: 4.668 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.705e-05/0.2619, allocations: 96.14 kB / 0.9541 GB, free: 4.57 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.978e-05/0.2619, allocations: 15.75 kB / 0.9541 GB, free: 4.555 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.118e-05/0.262, allocations: 29.7 kB / 0.9542 GB, free: 4.52 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 9.943e-05/0.2621, allocations: 322.8 kB / 0.9545 GB, free: 4.195 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.208e-05/0.2622, allocations: 23.98 kB / 0.9545 GB, free: 4.172 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.732e-05/0.2623, allocations: 46.55 kB / 0.9545 GB, free: 4.117 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000156/0.2624, allocations: 82.8 kB / 0.9546 GB, free: 4.027 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.2624, allocations: 0 / 0.9546 GB, free: 4.027 MB / 0.7325 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002478/0.2627, allocations: 109.5 kB / 0.9547 GB, free: 3.914 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.594e-05/0.2627, allocations: 4 kB / 0.9547 GB, free: 3.91 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.234e-06/0.2627, allocations: 8.062 kB / 0.9547 GB, free: 3.902 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.365e-05/0.2628, allocations: 3.938 kB / 0.9547 GB, free: 3.898 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.831e-05/0.2629, allocations: 11.98 kB / 0.9548 GB, free: 3.887 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.61e-06/0.2629, allocations: 0 / 0.9548 GB, free: 3.887 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.151e-05/0.2629, allocations: 11.91 kB / 0.9548 GB, free: 3.875 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.532e-05/0.263, allocations: 7.984 kB / 0.9548 GB, free: 3.867 MB / 0.7325 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 8.786e-05/0.2631, allocations: 125.2 kB / 0.9549 GB, free: 3.738 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.666e-05/0.2631, allocations: 4 kB / 0.9549 GB, free: 3.734 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.847e-05/0.2631, allocations: 16.38 kB / 0.9549 GB, free: 3.719 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.2631, allocations: 4 kB / 0.9549 GB, free: 3.715 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.2631, allocations: 3.938 kB / 0.9549 GB, free: 3.711 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.387e-06/0.2631, allocations: 0 / 0.9549 GB, free: 3.711 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004361/0.2636, allocations: 382.3 kB / 0.9553 GB, free: 3.281 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.2636, allocations: 0 / 0.9553 GB, free: 3.281 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.654e-05/0.2636, allocations: 15.92 kB / 0.9553 GB, free: 3.266 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.005e-06/0.2637, allocations: 0 / 0.9553 GB, free: 3.266 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.179e-05/0.2637, allocations: 4 kB / 0.9553 GB, free: 3.262 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.2637, allocations: 4 kB / 0.9553 GB, free: 3.258 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.2637, allocations: 3.938 kB / 0.9553 GB, free: 3.254 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002713/0.264, allocations: 203.5 kB / 0.9555 GB, free: 3.039 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.145e-05/0.264, allocations: 85.02 kB / 0.9556 GB, free: 2.938 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.043e-05/0.264, allocations: 0 / 0.9556 GB, free: 2.938 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.557e-05/0.2641, allocations: 11.98 kB / 0.9556 GB, free: 2.926 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.789e-05/0.2642, allocations: 7.938 kB / 0.9556 GB, free: 2.918 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.032e-05/0.2642, allocations: 4 kB / 0.9556 GB, free: 2.914 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.767e-05/0.2643, allocations: 91.27 kB / 0.9557 GB, free: 2.824 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2643, allocations: 0 / 0.9557 GB, free: 2.824 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003022/0.2646, allocations: 39.98 kB / 0.9557 GB, free: 2.785 MB / 0.7325 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.0003435/0.2649, allocations: 178.5 kB / 0.9559 GB, free: 2.613 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002344/0.2652, allocations: 67.91 kB / 0.956 GB, free: 2.547 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.2652, allocations: 0 / 0.956 GB, free: 2.547 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001007/0.2653, allocations: 36.36 kB / 0.956 GB, free: 2.512 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002508/0.2655, allocations: 4 kB / 0.956 GB, free: 2.508 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003989/0.2659, allocations: 230.3 kB / 0.9562 GB, free: 2.246 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002182/0.2662, allocations: 0.6883 MB / 0.9569 GB, free: 1.531 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.248e-05/0.2662, allocations: 11.42 kB / 0.9569 GB, free: 1.52 MB / 0.7325 GB Notification: Performance of SimCode: time 1.543e-06/0.2662, allocations: 4 kB / 0.9569 GB, free: 1.516 MB / 0.7325 GB Notification: Performance of Templates: time 0.003373/0.2696, allocations: 1.62 MB / 0.9585 GB, free: 15.9 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.makefile (rm -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.sim & ./Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsSmall.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches