Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_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_10_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.001495/0.001495, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002203/0.002203, allocations: 198.4 kB / 16.79 MB, free: 6.809 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.434/1.434, allocations: 222.9 MB / 240.5 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.536/2.536, allocations: 437 MB / 0.7106 GB, free: 5.359 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001813/0.001813, allocations: 71.88 kB / 0.8692 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6115/0.6133, allocations: 151.6 MB / 1.017 GB, free: 2.984 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen): time 0.002701/0.616, allocations: 1.562 MB / 1.019 GB, free: 1.414 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001288/0.6173, allocations: 0.7324 MB / 1.02 GB, free: 0.6758 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.848e-05/0.6174, allocations: 8 kB / 1.02 GB, free: 0.668 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.688e-05/0.6175, allocations: 3.938 kB / 1.02 GB, free: 0.6641 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 5.73e-05/0.6176, allocations: 3.938 kB / 1.02 GB, free: 0.6602 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004992/0.6181, allocations: 99.77 kB / 1.02 GB, free: 0.5625 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001277/0.6182, allocations: 83.69 kB / 1.02 GB, free: 492 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 9.727e-05/0.6183, allocations: 8 kB / 1.02 GB, free: 484 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001074/0.6184, allocations: 31.92 kB / 1.02 GB, free: 452 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 7.566e-05/0.6185, allocations: 43.81 kB / 1.02 GB, free: 408 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.921e-05/0.6185, allocations: 4 kB / 1.02 GB, free: 404 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001999/0.6187, allocations: 87.84 kB / 1.02 GB, free: 316 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 3.051e-05/0.6188, allocations: 19.92 kB / 1.02 GB, free: 296 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 4.802e-05/0.6188, allocations: 31.8 kB / 1.02 GB, free: 264 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0002167/0.6191, allocations: 93.94 kB / 1.02 GB, free: 172 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.6191, allocations: 4 kB / 1.02 GB, free: 168 kB / 0.7637 GB Notification: Performance of FrontEnd: time 1.173e-06/0.6191, allocations: 0 / 1.02 GB, free: 168 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.839e-06/0.6191, allocations: 0 / 1.02 GB, free: 168 kB / 0.7637 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.0007269/0.6198, allocations: 421 kB / 1.02 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.723e-05/0.6199, allocations: 12.03 kB / 1.02 GB, free: 15.69 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.172e-05/0.6199, allocations: 8.844 kB / 1.02 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001309/0.6201, allocations: 172.2 kB / 1.021 GB, free: 15.47 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.709e-05/0.6201, allocations: 12.31 kB / 1.021 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.966e-05/0.6201, allocations: 8.359 kB / 1.021 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001939/0.6203, allocations: 81.94 kB / 1.021 GB, free: 15.37 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.854e-06/0.6203, allocations: 0 / 1.021 GB, free: 15.37 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.325e-05/0.6204, allocations: 4 kB / 1.021 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.329e-06/0.6204, allocations: 0 / 1.021 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001339/0.6205, allocations: 39.91 kB / 1.021 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006371/0.6212, allocations: 316.7 kB / 1.021 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001324/0.6213, allocations: 46.56 kB / 1.021 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001031/0.6214, allocations: 32.97 kB / 1.021 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.163e-05/0.6214, allocations: 0 / 1.021 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002297/0.6217, allocations: 79.31 kB / 1.021 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 1.322e-06/0.6217, allocations: 0 / 1.021 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.000433/0.6221, allocations: 145.6 kB / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.22e-05/0.6222, allocations: 55.41 kB / 1.021 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.698e-05/0.6223, allocations: 117.8 kB / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.994e-05/0.6223, allocations: 29.7 kB / 1.022 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.057e-05/0.6224, allocations: 92.12 kB / 1.022 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.003e-05/0.6224, allocations: 11.81 kB / 1.022 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.347e-05/0.6225, allocations: 29.7 kB / 1.022 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001236/0.6226, allocations: 326.8 kB / 1.022 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.822e-05/0.6227, allocations: 31.92 kB / 1.022 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001054/0.6228, allocations: 46.55 kB / 1.022 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001573/0.623, allocations: 70.55 kB / 1.022 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.16e-06/0.623, allocations: 4 kB / 1.022 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002531/0.6232, allocations: 121.4 kB / 1.022 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.547e-05/0.6233, allocations: 6.188 kB / 1.022 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.6233, allocations: 0 / 1.022 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.399e-05/0.6233, allocations: 7.938 kB / 1.022 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.929e-05/0.6234, allocations: 11.98 kB / 1.022 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.711e-06/0.6234, allocations: 0 / 1.022 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.127e-05/0.6235, allocations: 11.84 kB / 1.022 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.486e-05/0.6235, allocations: 8.062 kB / 1.022 GB, free: 13.61 MB / 0.7794 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.156e-05/0.6236, allocations: 126.2 kB / 1.022 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.006e-05/0.6236, allocations: 7.984 kB / 1.022 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.024e-05/0.6237, allocations: 4.375 kB / 1.022 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.499e-06/0.6237, allocations: 4 kB / 1.022 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.6237, allocations: 0 / 1.022 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.758e-06/0.6237, allocations: 0 / 1.022 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004651/0.6242, allocations: 386.3 kB / 1.023 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.6242, allocations: 0 / 1.023 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.074e-05/0.6242, allocations: 4 kB / 1.023 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.599e-06/0.6242, allocations: 3.984 kB / 1.023 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.046e-05/0.6243, allocations: 0 / 1.023 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.6243, allocations: 0 / 1.023 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/0.6243, allocations: 7.938 kB / 1.023 GB, free: 13 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002811/0.6246, allocations: 215.8 kB / 1.023 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.57e-05/0.6246, allocations: 89.09 kB / 1.023 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.903e-05/0.6246, allocations: 0 / 1.023 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.81e-05/0.6247, allocations: 4 kB / 1.023 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.652e-05/0.6248, allocations: 7.922 kB / 1.023 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.146e-05/0.6248, allocations: 8 kB / 1.023 GB, free: 12.65 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.66e-05/0.6248, allocations: 91.27 kB / 1.023 GB, free: 12.56 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6248, allocations: 0 / 1.023 GB, free: 12.56 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002974/0.6251, allocations: 36 kB / 1.023 GB, free: 12.53 MB / 0.7794 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.0003543/0.6255, allocations: 174.8 kB / 1.023 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002278/0.6257, allocations: 71.89 kB / 1.023 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.6258, allocations: 0 / 1.023 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001129/0.6259, allocations: 40.05 kB / 1.023 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002603/0.6261, allocations: 11.98 kB / 1.024 GB, free: 12.24 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004242/0.6266, allocations: 215.8 kB / 1.024 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002404/0.6268, allocations: 0.6887 MB / 1.024 GB, free: 11.28 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.087e-05/0.6269, allocations: 11.44 kB / 1.024 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of SimCode: time 2.2e-07/0.6269, allocations: 0 / 1.024 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of Templates: time 0.003355/0.6302, allocations: 1.611 MB / 1.026 GB, free: 9.656 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.makefile (rm -f Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.sim & ./Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsCompletelyOpen.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches