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.001414/0.001413, allocations: 102.8 kB / 16.27 MB, free: 6.414 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.001238/0.001238, allocations: 191 kB / 17.2 MB, free: 5.953 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.363/1.363, allocations: 222.9 MB / 240.9 MB, free: 15.29 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.218/2.218, allocations: 390.3 MB / 0.6653 GB, free: 0.7656 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001285/0.001285, allocations: 67.28 kB / 0.8132 GB, free: 33.04 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2473/0.2486, allocations: 140.4 MB / 0.9503 GB, free: 8.918 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin): time 0.002995/0.2517, allocations: 1.637 MB / 0.9519 GB, free: 7.266 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001676/0.2534, allocations: 1.171 MB / 0.953 GB, free: 6.086 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.805e-05/0.2535, allocations: 0 / 0.953 GB, free: 6.086 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0002154/0.2537, allocations: 15.86 kB / 0.953 GB, free: 6.07 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0003048/0.2541, allocations: 79.61 kB / 0.9531 GB, free: 5.992 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003884/0.2545, allocations: 135.5 kB / 0.9532 GB, free: 5.863 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0002619/0.2547, allocations: 233.6 kB / 0.9535 GB, free: 5.637 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001063/0.2548, allocations: 12.23 kB / 0.9535 GB, free: 5.621 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001101/0.255, allocations: 87.81 kB / 0.9536 GB, free: 5.535 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002383/0.2552, allocations: 91.77 kB / 0.9536 GB, free: 5.445 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 4.135e-05/0.2553, allocations: 19.94 kB / 0.9537 GB, free: 5.426 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001642/0.2554, allocations: 79.91 kB / 0.9537 GB, free: 5.348 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 9.881e-05/0.2555, allocations: 79.8 kB / 0.9538 GB, free: 5.27 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001058/0.2556, allocations: 99.34 kB / 0.9539 GB, free: 5.172 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0003431/0.256, allocations: 275.4 kB / 0.9542 GB, free: 4.902 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.256, allocations: 4 kB / 0.9542 GB, free: 4.898 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.272e-06/0.256, allocations: 0 / 0.9542 GB, free: 4.898 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 9.779e-06/0.256, allocations: 0 / 0.9542 GB, free: 4.898 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: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.0007184/0.2568, allocations: 0.5267 MB / 0.9547 GB, free: 4.32 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.52e-05/0.2568, allocations: 8.031 kB / 0.9547 GB, free: 4.312 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.016e-05/0.2569, allocations: 24.66 kB / 0.9547 GB, free: 4.289 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002594/0.2571, allocations: 267.7 kB / 0.955 GB, free: 3.988 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.814e-05/0.2572, allocations: 16.31 kB / 0.955 GB, free: 3.973 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.55e-05/0.2572, allocations: 16.38 kB / 0.955 GB, free: 3.957 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003341/0.2575, allocations: 224.5 kB / 0.9552 GB, free: 3.719 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.678e-06/0.2576, allocations: 0 / 0.9552 GB, free: 3.719 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.318e-05/0.2576, allocations: 8 kB / 0.9552 GB, free: 3.711 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.502e-06/0.2576, allocations: 4 kB / 0.9552 GB, free: 3.707 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008084/0.2584, allocations: 0.7334 MB / 0.9559 GB, free: 2.973 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007607/0.2592, allocations: 0.5668 MB / 0.9565 GB, free: 2.352 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004723/0.2597, allocations: 303.6 kB / 0.9568 GB, free: 2.047 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001502/0.2598, allocations: 105.4 kB / 0.9569 GB, free: 1.941 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 4.544e-05/0.2599, allocations: 20.25 kB / 0.9569 GB, free: 1.922 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003257/0.2602, allocations: 180.8 kB / 0.9571 GB, free: 1.734 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=34): time 1.804e-06/0.2602, allocations: 0 / 0.9571 GB, free: 1.734 MB / 0.7325 GB Notification: Performance of matching and sorting (n=34): time 0.0006354/0.2609, allocations: 361.2 kB / 0.9574 GB, free: 1.375 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.325e-05/0.261, allocations: 140.5 kB / 0.9576 GB, free: 1.207 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002693/0.2612, allocations: 300 kB / 0.9578 GB, free: 0.9023 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.786e-05/0.2613, allocations: 33.7 kB / 0.9579 GB, free: 0.8633 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 7.497e-05/0.2613, allocations: 124.7 kB / 0.958 GB, free: 0.7344 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 8.613e-05/0.2614, allocations: 110.4 kB / 0.9581 GB, free: 0.625 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.828e-05/0.2615, allocations: 65.69 kB / 0.9582 GB, free: 0.5547 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000109/0.2616, allocations: 342.8 kB / 0.9585 GB, free: 216 kB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001485/0.2618, allocations: 87.89 kB / 0.9586 GB, free: 128 kB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001923/0.262, allocations: 123.2 kB / 0.9587 GB, free: 15.99 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003198/0.2623, allocations: 210.5 kB / 0.9589 GB, free: 15.79 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.2623, allocations: 0 / 0.9589 GB, free: 15.79 MB / 0.7481 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004252/0.2628, allocations: 285 kB / 0.9592 GB, free: 15.5 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.563e-05/0.2628, allocations: 4 kB / 0.9592 GB, free: 15.5 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.431e-06/0.2628, allocations: 0 / 0.9592 GB, free: 15.5 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.566e-05/0.2628, allocations: 4 kB / 0.9592 GB, free: 15.49 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002275/0.2631, allocations: 67.84 kB / 0.9592 GB, free: 15.43 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.398e-06/0.2631, allocations: 3.984 kB / 0.9592 GB, free: 15.42 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001612/0.2632, allocations: 27.72 kB / 0.9593 GB, free: 15.39 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.687e-05/0.2633, allocations: 15.98 kB / 0.9593 GB, free: 15.38 MB / 0.7481 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.000163/0.2635, allocations: 162.3 kB / 0.9594 GB, free: 15.21 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.34e-05/0.2635, allocations: 23.72 kB / 0.9595 GB, free: 15.19 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000664/0.2642, allocations: 380.4 kB / 0.9598 GB, free: 14.81 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.103e-06/0.2642, allocations: 7.938 kB / 0.9598 GB, free: 14.8 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.2642, allocations: 0 / 0.9598 GB, free: 14.8 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.257e-06/0.2642, allocations: 7.922 kB / 0.9598 GB, free: 14.79 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000297/0.2645, allocations: 329.2 kB / 0.9602 GB, free: 14.42 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.973e-06/0.2645, allocations: 0 / 0.9602 GB, free: 14.42 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001769/0.2647, allocations: 59.91 kB / 0.9602 GB, free: 14.36 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.92e-06/0.2647, allocations: 4 kB / 0.9602 GB, free: 14.36 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.074e-05/0.2648, allocations: 11.98 kB / 0.9602 GB, free: 14.35 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/0.2648, allocations: 0 / 0.9602 GB, free: 14.35 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.2648, allocations: 4 kB / 0.9602 GB, free: 14.34 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004584/0.2652, allocations: 323.1 kB / 0.9605 GB, free: 14.01 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001251/0.2654, allocations: 136.7 kB / 0.9607 GB, free: 13.86 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.31e-05/0.2654, allocations: 8 kB / 0.9607 GB, free: 13.85 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001426/0.2656, allocations: 19.98 kB / 0.9607 GB, free: 13.83 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.245e-05/0.2656, allocations: 19.97 kB / 0.9607 GB, free: 13.81 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.991e-05/0.2657, allocations: 19.94 kB / 0.9607 GB, free: 13.79 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.000199/0.2659, allocations: 233.8 kB / 0.961 GB, free: 13.57 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2659, allocations: 0 / 0.961 GB, free: 13.57 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0002887/0.2662, allocations: 60 kB / 0.961 GB, free: 13.51 MB / 0.7481 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.0008911/0.2671, allocations: 404.7 kB / 0.9614 GB, free: 13.25 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0005079/0.2676, allocations: 307.8 kB / 0.9617 GB, free: 12.95 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.2676, allocations: 0 / 0.9617 GB, free: 12.95 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001884/0.2678, allocations: 127.8 kB / 0.9618 GB, free: 12.83 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000271/0.2681, allocations: 44.16 kB / 0.9619 GB, free: 12.79 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008068/0.2689, allocations: 0.5263 MB / 0.9624 GB, free: 12.23 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002871/0.2692, allocations: 0.7573 MB / 0.9631 GB, free: 11.45 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000107/0.2693, allocations: 55.34 kB / 0.9632 GB, free: 11.39 MB / 0.7481 GB Notification: Performance of SimCode: time 3.9e-07/0.2693, allocations: 0 / 0.9632 GB, free: 11.39 MB / 0.7481 GB Notification: Performance of Templates: time 0.006739/0.2761, allocations: 4.186 MB / 0.9673 GB, free: 7.211 MB / 0.7481 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/jenkins1/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