Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.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.Herkel2008WindowsCompletelyOpen,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.Herkel2008WindowsCompletelyOpen") translateModel(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen,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.Herkel2008WindowsCompletelyOpen") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001633/0.001633, allocations: 103.5 kB / 15.98 MB, free: 6.34 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.002118/0.002118, allocations: 197.8 kB / 16.91 MB, free: 6.184 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.381/1.381, allocations: 222.9 MB / 240.6 MB, free: 15.43 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.336/2.336, allocations: 390.3 MB / 0.665 GB, free: 0.9141 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001256/0.001256, allocations: 66.8 kB / 0.8127 GB, free: 33.24 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2659/0.2672, allocations: 140.4 MB / 0.9498 GB, free: 9.238 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen): time 0.002811/0.27, allocations: 1.569 MB / 0.9513 GB, free: 7.66 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001242/0.2713, allocations: 0.7168 MB / 0.952 GB, free: 6.938 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.014e-05/0.2714, allocations: 3.938 kB / 0.952 GB, free: 6.934 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.231e-05/0.2714, allocations: 0 / 0.952 GB, free: 6.934 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 5.729e-05/0.2715, allocations: 3.938 kB / 0.952 GB, free: 6.93 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005517/0.2721, allocations: 111.8 kB / 0.9521 GB, free: 6.82 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001062/0.2722, allocations: 87.69 kB / 0.9522 GB, free: 6.734 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 8.421e-05/0.2723, allocations: 7.984 kB / 0.9522 GB, free: 6.727 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 9.025e-05/0.2724, allocations: 31.92 kB / 0.9522 GB, free: 6.695 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 6.89e-05/0.2724, allocations: 47.81 kB / 0.9523 GB, free: 6.648 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.112e-05/0.2725, allocations: 4 kB / 0.9523 GB, free: 6.645 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001927/0.2727, allocations: 99.84 kB / 0.9524 GB, free: 6.547 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.074e-05/0.2727, allocations: 11.98 kB / 0.9524 GB, free: 6.535 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 4.809e-05/0.2728, allocations: 39.8 kB / 0.9524 GB, free: 6.496 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001815/0.2729, allocations: 104 kB / 0.9525 GB, free: 6.395 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 2.795e-06/0.273, allocations: 0 / 0.9525 GB, free: 6.395 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.132e-06/0.273, allocations: 0 / 0.9525 GB, free: 6.395 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.23e-06/0.273, allocations: 0 / 0.9525 GB, free: 6.395 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.000594/0.2736, allocations: 420.9 kB / 0.9529 GB, free: 5.93 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.346e-05/0.2736, allocations: 12.03 kB / 0.9529 GB, free: 5.918 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.811e-05/0.2737, allocations: 8.844 kB / 0.9529 GB, free: 5.91 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001027/0.2738, allocations: 168.3 kB / 0.9531 GB, free: 5.707 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.238e-05/0.2738, allocations: 8.359 kB / 0.9531 GB, free: 5.699 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.637e-05/0.2738, allocations: 8.375 kB / 0.9531 GB, free: 5.691 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001755/0.274, allocations: 77.89 kB / 0.9532 GB, free: 5.609 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.604e-06/0.274, allocations: 0 / 0.9532 GB, free: 5.609 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.194e-05/0.274, allocations: 0 / 0.9532 GB, free: 5.609 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.2741, allocations: 0 / 0.9532 GB, free: 5.609 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001213/0.2742, allocations: 43.89 kB / 0.9532 GB, free: 5.566 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005664/0.2748, allocations: 316.7 kB / 0.9535 GB, free: 5.207 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001198/0.2749, allocations: 50.5 kB / 0.9536 GB, free: 5.148 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.663e-05/0.275, allocations: 32.97 kB / 0.9536 GB, free: 5.113 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.747e-05/0.275, allocations: 4 kB / 0.9536 GB, free: 5.109 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001997/0.2752, allocations: 75.38 kB / 0.9537 GB, free: 5.023 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=7): time 1.403e-06/0.2752, allocations: 0 / 0.9537 GB, free: 5.023 MB / 0.7325 GB Notification: Performance of matching and sorting (n=7): time 0.000371/0.2756, allocations: 141.6 kB / 0.9538 GB, free: 4.879 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.92e-05/0.2757, allocations: 63.34 kB / 0.9539 GB, free: 4.805 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.389e-05/0.2758, allocations: 117.8 kB / 0.954 GB, free: 4.68 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.855e-05/0.2758, allocations: 29.7 kB / 0.954 GB, free: 4.645 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.009e-05/0.2758, allocations: 88.12 kB / 0.9541 GB, free: 4.555 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.107e-05/0.2759, allocations: 19.75 kB / 0.9541 GB, free: 4.535 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.559e-05/0.2759, allocations: 29.7 kB / 0.9542 GB, free: 4.5 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001062/0.276, allocations: 326.8 kB / 0.9545 GB, free: 4.172 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.747e-05/0.2761, allocations: 19.98 kB / 0.9545 GB, free: 4.152 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.036e-05/0.2762, allocations: 50.56 kB / 0.9545 GB, free: 4.094 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001592/0.2764, allocations: 74.48 kB / 0.9546 GB, free: 4.012 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.2764, allocations: 0 / 0.9546 GB, free: 4.012 MB / 0.7325 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002306/0.2766, allocations: 121.5 kB / 0.9547 GB, free: 3.887 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.45e-05/0.2766, allocations: 10.56 kB / 0.9547 GB, free: 3.879 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.2767, allocations: 0 / 0.9547 GB, free: 3.879 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.091e-05/0.2767, allocations: 0 / 0.9547 GB, free: 3.879 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.578e-05/0.2768, allocations: 15.98 kB / 0.9548 GB, free: 3.863 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.384e-06/0.2768, allocations: 0 / 0.9548 GB, free: 3.863 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.155e-05/0.2769, allocations: 15.84 kB / 0.9548 GB, free: 3.848 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.346e-05/0.2769, allocations: 4 kB / 0.9548 GB, free: 3.844 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 9.167e-05/0.277, allocations: 125.7 kB / 0.9549 GB, free: 3.711 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.612e-05/0.277, allocations: 11.94 kB / 0.9549 GB, free: 3.699 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.53e-05/0.277, allocations: 8.375 kB / 0.9549 GB, free: 3.691 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.277, allocations: 3.984 kB / 0.9549 GB, free: 3.688 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.2771, allocations: 0 / 0.9549 GB, free: 3.688 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/0.2771, allocations: 4 kB / 0.9549 GB, free: 3.684 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004342/0.2775, allocations: 378.3 kB / 0.9553 GB, free: 3.258 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.2775, allocations: 0 / 0.9553 GB, free: 3.258 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.307e-05/0.2776, allocations: 7.984 kB / 0.9553 GB, free: 3.25 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.215e-06/0.2776, allocations: 7.938 kB / 0.9553 GB, free: 3.242 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.202e-05/0.2776, allocations: 4 kB / 0.9553 GB, free: 3.238 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.2776, allocations: 0 / 0.9553 GB, free: 3.238 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.2776, allocations: 3.938 kB / 0.9553 GB, free: 3.234 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002629/0.2779, allocations: 204 kB / 0.9555 GB, free: 3.02 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 3.616e-05/0.2779, allocations: 85 kB / 0.9556 GB, free: 2.918 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.945e-05/0.2779, allocations: 4 kB / 0.9556 GB, free: 2.914 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.887e-05/0.278, allocations: 8 kB / 0.9556 GB, free: 2.906 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.822e-05/0.2781, allocations: 11.92 kB / 0.9556 GB, free: 2.895 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.075e-06/0.2781, allocations: 0 / 0.9556 GB, free: 2.895 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 5.493e-05/0.2782, allocations: 95.92 kB / 0.9557 GB, free: 2.801 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2e-07/0.2782, allocations: 0 / 0.9557 GB, free: 2.801 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002944/0.2785, allocations: 36 kB / 0.9557 GB, free: 2.766 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.0003402/0.2788, allocations: 175.6 kB / 0.9559 GB, free: 2.594 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002434/0.2791, allocations: 71.91 kB / 0.956 GB, free: 2.523 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.2791, allocations: 0 / 0.956 GB, free: 2.523 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 9.476e-05/0.2792, allocations: 39.91 kB / 0.956 GB, free: 2.484 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002452/0.2794, allocations: 7.406 kB / 0.956 GB, free: 2.48 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000386/0.2798, allocations: 228.8 kB / 0.9562 GB, free: 2.223 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002465/0.2801, allocations: 0.6922 MB / 0.9569 GB, free: 1.504 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.194e-05/0.2801, allocations: 11.44 kB / 0.9569 GB, free: 1.492 MB / 0.7325 GB Notification: Performance of SimCode: time 2.5e-07/0.2801, allocations: 0 / 0.9569 GB, free: 1.492 MB / 0.7325 GB Notification: Performance of Templates: time 0.003375/0.2835, allocations: 1.616 MB / 0.9585 GB, free: 15.88 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.makefile (rm -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.sim & ./Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsCompletelyOpen.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches