Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.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.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|limCeiHei.u|limCeiHei.ceiHei",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|limCeiHei.u|limCeiHei.ceiHei",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001113/0.001113, allocations: 97.33 kB / 15.36 MB, free: 0.7305 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.001467/0.001467, allocations: 172.9 kB / 16.27 MB, free: 6.664 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.558/1.558, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.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.577/2.577, allocations: 390.9 MB / 0.6663 GB, free: 2.379 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003952/0.0003955, allocations: 8 kB / 0.816 GB, free: 13.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8183/0.8187, allocations: 142.4 MB / 0.955 GB, free: 7.715 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin): time 0.002152/0.8209, allocations: 1.354 MB / 0.9564 GB, free: 6.648 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001758/0.8227, allocations: 1.126 MB / 0.9575 GB, free: 5.766 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.542e-05/0.8228, allocations: 0 / 0.9575 GB, free: 5.766 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0003009/0.8231, allocations: 19.75 kB / 0.9575 GB, free: 5.754 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.000233/0.8234, allocations: 54.91 kB / 0.9575 GB, free: 5.715 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003659/0.8237, allocations: 129.8 kB / 0.9577 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002827/0.824, allocations: 213.1 kB / 0.9579 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001426/0.8242, allocations: 17.5 kB / 0.9579 GB, free: 5.508 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001202/0.8243, allocations: 70.98 kB / 0.9579 GB, free: 5.473 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002506/0.8246, allocations: 87.89 kB / 0.958 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.69e-05/0.8246, allocations: 8.219 kB / 0.958 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001563/0.8248, allocations: 61.89 kB / 0.9581 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001209/0.8249, allocations: 77.2 kB / 0.9582 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001301/0.825, allocations: 121.4 kB / 0.9583 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003365/0.8254, allocations: 262.2 kB / 0.9585 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.8254, allocations: 1.531 kB / 0.9585 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of FrontEnd: time 3.326e-06/0.8254, allocations: 0 / 0.9585 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.522e-06/0.8254, allocations: 3.938 kB / 0.9585 GB, free: 5.07 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.000728/0.8261, allocations: 488.1 kB / 0.959 GB, free: 4.598 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.508e-05/0.8262, allocations: 8.875 kB / 0.959 GB, free: 4.598 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.734e-05/0.8263, allocations: 29.09 kB / 0.959 GB, free: 4.582 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002862/0.8266, allocations: 269.7 kB / 0.9593 GB, free: 4.309 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.112e-05/0.8266, allocations: 10.06 kB / 0.9593 GB, free: 4.305 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.554e-05/0.8267, allocations: 18.48 kB / 0.9593 GB, free: 4.297 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003842/0.8271, allocations: 217.5 kB / 0.9595 GB, free: 4.141 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.443e-05/0.8271, allocations: 3.938 kB / 0.9595 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.865e-05/0.8271, allocations: 13.31 kB / 0.9595 GB, free: 4.125 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.075e-05/0.8271, allocations: 8.125 kB / 0.9596 GB, free: 4.121 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009478/0.8281, allocations: 0.7353 MB / 0.9603 GB, free: 3.785 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008393/0.8289, allocations: 0.5578 MB / 0.9608 GB, free: 3.301 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005488/0.8295, allocations: 303.4 kB / 0.9611 GB, free: 3.156 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001711/0.8297, allocations: 106.6 kB / 0.9612 GB, free: 3.102 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 5.452e-05/0.8297, allocations: 20.88 kB / 0.9612 GB, free: 3.09 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003446/0.8301, allocations: 171.7 kB / 0.9614 GB, free: 2.973 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=34): time 2.284e-06/0.8301, allocations: 0.7812 kB / 0.9614 GB, free: 2.973 MB / 0.7169 GB Notification: Performance of matching and sorting (n=34): time 0.0007362/0.8308, allocations: 370.9 kB / 0.9617 GB, free: 2.793 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.021e-05/0.8309, allocations: 133 kB / 0.9619 GB, free: 2.637 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003432/0.8313, allocations: 299.6 kB / 0.9622 GB, free: 2.441 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.856e-05/0.8313, allocations: 32.36 kB / 0.9622 GB, free: 2.406 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 8.585e-05/0.8314, allocations: 129.5 kB / 0.9623 GB, free: 2.281 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 7.408e-05/0.8315, allocations: 113.6 kB / 0.9624 GB, free: 2.184 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.26e-05/0.8315, allocations: 30.14 kB / 0.9625 GB, free: 2.156 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.838e-05/0.8316, allocations: 338.3 kB / 0.9628 GB, free: 1.824 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001438/0.8317, allocations: 79.83 kB / 0.9629 GB, free: 1.789 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001831/0.8319, allocations: 124 kB / 0.963 GB, free: 1.711 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003334/0.8323, allocations: 216.4 kB / 0.9632 GB, free: 1.605 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.8323, allocations: 0 / 0.9632 GB, free: 1.605 MB / 0.7169 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004142/0.8327, allocations: 283.4 kB / 0.9634 GB, free: 1.461 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.686e-05/0.8327, allocations: 6.625 kB / 0.9635 GB, free: 1.461 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.733e-06/0.8327, allocations: 0 / 0.9635 GB, free: 1.461 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.801e-05/0.8328, allocations: 3.938 kB / 0.9635 GB, free: 1.457 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002189/0.833, allocations: 72.48 kB / 0.9635 GB, free: 1.434 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.424e-06/0.833, allocations: 1.375 kB / 0.9635 GB, free: 1.434 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001519/0.8332, allocations: 30.09 kB / 0.9636 GB, free: 1.414 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.856e-05/0.8332, allocations: 16.95 kB / 0.9636 GB, free: 1.406 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (conTim.tNext,$PRE.conTim.tNext,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 35 * 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.0001409/0.8333, allocations: 156.3 kB / 0.9637 GB, free: 1.266 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.198e-05/0.8334, allocations: 24.25 kB / 0.9637 GB, free: 1.254 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006809/0.8341, allocations: 376.1 kB / 0.9641 GB, free: 1.047 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.911e-06/0.8341, allocations: 3.656 kB / 0.9641 GB, free: 1.047 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.59e-06/0.8341, allocations: 4.906 kB / 0.9641 GB, free: 1.043 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.885e-06/0.8341, allocations: 7.922 kB / 0.9641 GB, free: 1.035 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003005/0.8344, allocations: 332 kB / 0.9644 GB, free: 0.7305 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.8344, allocations: 0 / 0.9644 GB, free: 0.7305 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001807/0.8346, allocations: 61.19 kB / 0.9645 GB, free: 0.7148 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.097e-06/0.8346, allocations: 2.062 kB / 0.9645 GB, free: 0.7148 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.038e-05/0.8347, allocations: 12.05 kB / 0.9645 GB, free: 0.707 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.998e-06/0.8347, allocations: 1.562 kB / 0.9645 GB, free: 0.707 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.8347, allocations: 0 / 0.9645 GB, free: 0.707 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004577/0.8351, allocations: 329.9 kB / 0.9648 GB, free: 0.5156 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001062/0.8352, allocations: 146.6 kB / 0.965 GB, free: 380 kB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.729e-05/0.8353, allocations: 5.906 kB / 0.965 GB, free: 376 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001402/0.8354, allocations: 20.05 kB / 0.965 GB, free: 364 kB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.558e-05/0.8355, allocations: 21 kB / 0.965 GB, free: 356 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.625e-05/0.8356, allocations: 21.17 kB / 0.965 GB, free: 344 kB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0002047/0.8358, allocations: 227.7 kB / 0.9652 GB, free: 200 kB / 0.7169 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8358, allocations: 4 kB / 0.9652 GB, free: 196 kB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003077/0.8361, allocations: 63.77 kB / 0.9653 GB, free: 176 kB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,conTim.tNext) * Number of discrete states: 1 (conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.001031/0.8371, allocations: 410.9 kB / 0.9657 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0004653/0.8376, allocations: 228.8 kB / 0.9659 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.554e-06/0.8376, allocations: 0 / 0.9659 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.000231/0.8378, allocations: 125.9 kB / 0.966 GB, free: 15.83 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003109/0.8382, allocations: 34.72 kB / 0.9661 GB, free: 15.81 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001055/0.8392, allocations: 0.5813 MB / 0.9666 GB, free: 15.41 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003934/0.8396, allocations: 0.7575 MB / 0.9674 GB, free: 14.67 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0003472/0.84, allocations: 140 kB / 0.9675 GB, free: 14.61 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.407e-05/0.8401, allocations: 44.2 kB / 0.9676 GB, free: 14.59 MB / 0.7325 GB Notification: Performance of SimCode: time 2.81e-07/0.8401, allocations: 0 / 0.9676 GB, free: 14.59 MB / 0.7325 GB Notification: Performance of Templates: time 0.007831/0.8479, allocations: 2.855 MB / 0.9703 GB, free: 13.16 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.sim & ./Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches