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.001417/0.001417, allocations: 108 kB / 15.99 MB, free: 6.359 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.001464/0.001464, allocations: 191.5 kB / 16.91 MB, free: 6.195 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.34/1.34, allocations: 222.9 MB / 240.6 MB, free: 15.41 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.18/2.18, allocations: 390.2 MB / 0.665 GB, free: 0.918 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00141/0.00141, allocations: 65.8 kB / 0.8127 GB, free: 33.11 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.251/0.2525, allocations: 140.4 MB / 0.9498 GB, free: 9.23 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin): time 0.003364/0.2559, allocations: 1.694 MB / 0.9514 GB, free: 7.523 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001727/0.2576, allocations: 1.148 MB / 0.9525 GB, free: 6.367 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.463e-05/0.2577, allocations: 0 / 0.9525 GB, free: 6.367 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0002229/0.2579, allocations: 15.91 kB / 0.9526 GB, free: 6.352 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0002873/0.2583, allocations: 63.77 kB / 0.9526 GB, free: 6.289 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003771/0.2587, allocations: 119.7 kB / 0.9527 GB, free: 6.176 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0002799/0.2589, allocations: 233.6 kB / 0.953 GB, free: 5.949 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001131/0.2591, allocations: 20.22 kB / 0.953 GB, free: 5.926 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001204/0.2592, allocations: 79.77 kB / 0.9531 GB, free: 5.848 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002195/0.2594, allocations: 93.64 kB / 0.9531 GB, free: 5.758 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 3.925e-05/0.2595, allocations: 20 kB / 0.9532 GB, free: 5.738 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001478/0.2596, allocations: 71.97 kB / 0.9532 GB, free: 5.668 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 8.913e-05/0.2597, allocations: 79.81 kB / 0.9533 GB, free: 5.59 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001137/0.2598, allocations: 103.3 kB / 0.9534 GB, free: 5.488 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002728/0.2601, allocations: 215.8 kB / 0.9536 GB, free: 5.277 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.2601, allocations: 0 / 0.9536 GB, free: 5.277 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.182e-06/0.2601, allocations: 3.938 kB / 0.9536 GB, free: 5.273 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 7.864e-06/0.2602, allocations: 0 / 0.9536 GB, free: 5.273 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.0007551/0.2609, allocations: 0.5267 MB / 0.9541 GB, free: 4.695 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.503e-05/0.261, allocations: 12.03 kB / 0.9541 GB, free: 4.684 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.963e-05/0.2611, allocations: 24.66 kB / 0.9542 GB, free: 4.66 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003738/0.2614, allocations: 267.7 kB / 0.9544 GB, free: 4.359 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.946e-05/0.2615, allocations: 12.38 kB / 0.9544 GB, free: 4.348 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.407e-05/0.2615, allocations: 20.38 kB / 0.9544 GB, free: 4.328 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003677/0.2619, allocations: 224.5 kB / 0.9547 GB, free: 4.09 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.977e-06/0.2619, allocations: 0 / 0.9547 GB, free: 4.09 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.436e-05/0.2619, allocations: 8 kB / 0.9547 GB, free: 4.082 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.736e-06/0.2619, allocations: 4 kB / 0.9547 GB, free: 4.078 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008655/0.2628, allocations: 0.7334 MB / 0.9554 GB, free: 3.344 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008268/0.2636, allocations: 0.5669 MB / 0.9559 GB, free: 2.723 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004832/0.2641, allocations: 307.6 kB / 0.9562 GB, free: 2.414 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001616/0.2643, allocations: 101.4 kB / 0.9563 GB, free: 2.312 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 4.852e-05/0.2644, allocations: 24.23 kB / 0.9564 GB, free: 2.289 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003528/0.2647, allocations: 176.9 kB / 0.9565 GB, free: 2.105 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=34): time 1.773e-06/0.2647, allocations: 0 / 0.9565 GB, free: 2.105 MB / 0.7325 GB Notification: Performance of matching and sorting (n=34): time 0.0006656/0.2654, allocations: 373.1 kB / 0.9569 GB, free: 1.734 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.449e-05/0.2655, allocations: 132.5 kB / 0.957 GB, free: 1.574 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002797/0.2658, allocations: 300 kB / 0.9573 GB, free: 1.27 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.98e-05/0.2658, allocations: 29.7 kB / 0.9573 GB, free: 1.234 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 8.846e-05/0.2659, allocations: 128.7 kB / 0.9574 GB, free: 1.102 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 8.577e-05/0.266, allocations: 106.5 kB / 0.9575 GB, free: 0.9961 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001/0.2661, allocations: 65.69 kB / 0.9576 GB, free: 0.9258 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001213/0.2662, allocations: 342.8 kB / 0.9579 GB, free: 0.582 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001406/0.2664, allocations: 79.95 kB / 0.958 GB, free: 0.5039 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001883/0.2666, allocations: 127.2 kB / 0.9581 GB, free: 376 kB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003227/0.2669, allocations: 214.5 kB / 0.9583 GB, free: 160 kB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.2669, allocations: 0 / 0.9583 GB, free: 160 kB / 0.7325 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004508/0.2674, allocations: 284.9 kB / 0.9586 GB, free: 15.87 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/0.2674, allocations: 4 kB / 0.9586 GB, free: 15.87 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.2674, allocations: 4 kB / 0.9586 GB, free: 15.86 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.286e-05/0.2674, allocations: 0 / 0.9586 GB, free: 15.86 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002206/0.2677, allocations: 59.91 kB / 0.9587 GB, free: 15.8 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.935e-06/0.2677, allocations: 0 / 0.9587 GB, free: 15.8 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001614/0.2678, allocations: 39.64 kB / 0.9587 GB, free: 15.77 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.559e-05/0.2679, allocations: 12 kB / 0.9587 GB, free: 15.75 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.0001515/0.268, allocations: 161.2 kB / 0.9589 GB, free: 15.59 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.109e-05/0.2681, allocations: 31.7 kB / 0.9589 GB, free: 15.56 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006654/0.2688, allocations: 376.4 kB / 0.9593 GB, free: 15.18 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.26e-06/0.2688, allocations: 4 kB / 0.9593 GB, free: 15.18 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.421e-06/0.2688, allocations: 0 / 0.9593 GB, free: 15.18 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.943e-06/0.2688, allocations: 7.938 kB / 0.9593 GB, free: 15.17 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003264/0.2691, allocations: 329.2 kB / 0.9596 GB, free: 14.8 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.088e-06/0.2692, allocations: 4 kB / 0.9596 GB, free: 14.8 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001734/0.2693, allocations: 63.91 kB / 0.9597 GB, free: 14.73 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.2693, allocations: 4 kB / 0.9597 GB, free: 14.73 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.084e-05/0.2694, allocations: 8 kB / 0.9597 GB, free: 14.72 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.334e-06/0.2694, allocations: 0 / 0.9597 GB, free: 14.72 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.2694, allocations: 0 / 0.9597 GB, free: 14.72 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004772/0.2699, allocations: 327.1 kB / 0.96 GB, free: 14.39 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000121/0.27, allocations: 136.7 kB / 0.9601 GB, free: 14.23 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.149e-05/0.27, allocations: 12 kB / 0.9601 GB, free: 14.22 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001397/0.2702, allocations: 15.98 kB / 0.9601 GB, free: 14.21 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.69e-05/0.2703, allocations: 23.97 kB / 0.9602 GB, free: 14.18 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.988e-05/0.2703, allocations: 19.92 kB / 0.9602 GB, free: 14.16 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0001955/0.2705, allocations: 225.8 kB / 0.9604 GB, free: 13.95 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2705, allocations: 0 / 0.9604 GB, free: 13.95 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0002853/0.2708, allocations: 56 kB / 0.9604 GB, free: 13.89 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.0009128/0.2717, allocations: 416 kB / 0.9608 GB, free: 13.62 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0005315/0.2723, allocations: 315.8 kB / 0.9611 GB, free: 13.32 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.947e-06/0.2723, allocations: 4 kB / 0.9612 GB, free: 13.31 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001953/0.2725, allocations: 127.8 kB / 0.9613 GB, free: 13.19 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002706/0.2728, allocations: 30.53 kB / 0.9613 GB, free: 13.16 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008751/0.2736, allocations: 0.6005 MB / 0.9619 GB, free: 12.53 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003229/0.274, allocations: 0.7573 MB / 0.9626 GB, free: 11.74 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001102/0.2741, allocations: 51.41 kB / 0.9627 GB, free: 11.7 MB / 0.7481 GB Notification: Performance of SimCode: time 3.8e-07/0.2741, allocations: 0 / 0.9627 GB, free: 11.7 MB / 0.7481 GB Notification: Performance of Templates: time 0.006868/0.281, allocations: 4.192 MB / 0.9668 GB, free: 7.508 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