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.001488/0.001488, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001863/0.001863, allocations: 195.4 kB / 16.14 MB, free: 6.719 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.476/1.476, allocations: 222.9 MB / 239.8 MB, free: 4.59 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.605/2.605, allocations: 390.2 MB / 0.6642 GB, free: 0.5898 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00124/0.00124, allocations: 64.14 kB / 0.8119 GB, free: 14.88 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7855/0.7867, allocations: 140.4 MB / 0.9489 GB, free: 9.27 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin): time 0.002901/0.7897, allocations: 1.694 MB / 0.9506 GB, free: 7.945 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001494/0.7912, allocations: 1.141 MB / 0.9517 GB, free: 7.051 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.104e-05/0.7913, allocations: 0 / 0.9517 GB, free: 7.051 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0002268/0.7915, allocations: 19.7 kB / 0.9517 GB, free: 7.039 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002338/0.7918, allocations: 71.25 kB / 0.9518 GB, free: 6.984 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003439/0.7921, allocations: 117.3 kB / 0.9519 GB, free: 6.914 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002324/0.7924, allocations: 214 kB / 0.9521 GB, free: 6.801 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001157/0.7925, allocations: 18.03 kB / 0.9521 GB, free: 6.789 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.036e-05/0.7926, allocations: 75.03 kB / 0.9522 GB, free: 6.75 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001954/0.7928, allocations: 88.22 kB / 0.9523 GB, free: 6.695 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.764e-05/0.7928, allocations: 13.8 kB / 0.9523 GB, free: 6.691 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001578/0.793, allocations: 64.44 kB / 0.9523 GB, free: 6.668 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 8.745e-05/0.7931, allocations: 74.12 kB / 0.9524 GB, free: 6.625 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 8.215e-05/0.7932, allocations: 92.7 kB / 0.9525 GB, free: 6.559 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002642/0.7935, allocations: 262.8 kB / 0.9527 GB, free: 6.383 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.7935, allocations: 0 / 0.9527 GB, free: 6.383 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.603e-06/0.7935, allocations: 0 / 0.9527 GB, free: 6.383 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.031e-05/0.7935, allocations: 0 / 0.9527 GB, free: 6.383 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.0006962/0.7942, allocations: 0.5436 MB / 0.9533 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.652e-05/0.7942, allocations: 8.719 kB / 0.9533 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.645e-05/0.7943, allocations: 25.78 kB / 0.9533 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002703/0.7946, allocations: 260.9 kB / 0.9536 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.882e-05/0.7946, allocations: 10.34 kB / 0.9536 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.813e-05/0.7946, allocations: 18.52 kB / 0.9536 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003451/0.795, allocations: 224.9 kB / 0.9538 GB, free: 5.41 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/0.795, allocations: 0 / 0.9538 GB, free: 5.41 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.439e-05/0.7951, allocations: 6.125 kB / 0.9538 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.925e-06/0.7951, allocations: 3.875 kB / 0.9538 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000785/0.7959, allocations: 0.739 MB / 0.9545 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007295/0.7966, allocations: 0.566 MB / 0.9551 GB, free: 4.574 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004485/0.7971, allocations: 302.3 kB / 0.9554 GB, free: 4.43 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001481/0.7972, allocations: 103.2 kB / 0.9555 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 4.335e-05/0.7973, allocations: 17.34 kB / 0.9555 GB, free: 4.371 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000321/0.7976, allocations: 176 kB / 0.9557 GB, free: 4.25 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=34): time 1.864e-06/0.7976, allocations: 0 / 0.9557 GB, free: 4.25 MB / 0.7169 GB Notification: Performance of matching and sorting (n=34): time 0.0006329/0.7982, allocations: 363.4 kB / 0.956 GB, free: 4.078 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.408e-05/0.7983, allocations: 140.9 kB / 0.9561 GB, free: 3.914 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002593/0.7986, allocations: 304 kB / 0.9564 GB, free: 3.715 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.53e-05/0.7986, allocations: 32.23 kB / 0.9565 GB, free: 3.68 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 6.324e-05/0.7987, allocations: 121.7 kB / 0.9566 GB, free: 3.562 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 7.692e-05/0.7987, allocations: 120.5 kB / 0.9567 GB, free: 3.457 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.865e-05/0.7988, allocations: 66.5 kB / 0.9568 GB, free: 3.414 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.333e-05/0.7989, allocations: 336.8 kB / 0.9571 GB, free: 3.082 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001466/0.7991, allocations: 84.11 kB / 0.9572 GB, free: 3.043 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001732/0.7992, allocations: 127.7 kB / 0.9573 GB, free: 2.961 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003069/0.7996, allocations: 209.8 kB / 0.9575 GB, free: 2.863 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.7996, allocations: 0 / 0.9575 GB, free: 2.863 MB / 0.7169 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004008/0.8, allocations: 278.5 kB / 0.9577 GB, free: 2.723 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.653e-05/0.8, allocations: 5.656 kB / 0.9577 GB, free: 2.723 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.602e-06/0.8, allocations: 0 / 0.9577 GB, free: 2.723 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.664e-05/0.8, allocations: 1.094 kB / 0.9577 GB, free: 2.723 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000238/0.8003, allocations: 68.22 kB / 0.9578 GB, free: 2.703 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.145e-06/0.8003, allocations: 4.938 kB / 0.9578 GB, free: 2.699 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001535/0.8004, allocations: 32.39 kB / 0.9579 GB, free: 2.676 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.939e-05/0.8005, allocations: 16.33 kB / 0.9579 GB, free: 2.668 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.0001347/0.8006, allocations: 157.5 kB / 0.958 GB, free: 2.527 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.294e-05/0.8007, allocations: 23.38 kB / 0.958 GB, free: 2.516 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000696/0.8014, allocations: 381.3 kB / 0.9584 GB, free: 2.305 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.744e-06/0.8014, allocations: 7.594 kB / 0.9584 GB, free: 2.301 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.8014, allocations: 0 / 0.9584 GB, free: 2.301 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.422e-06/0.8014, allocations: 7.922 kB / 0.9584 GB, free: 2.293 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000307/0.8017, allocations: 324.9 kB / 0.9587 GB, free: 1.996 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.8017, allocations: 48 / 0.9587 GB, free: 1.996 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001761/0.8019, allocations: 60.48 kB / 0.9588 GB, free: 1.98 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.467e-06/0.8019, allocations: 1.219 kB / 0.9588 GB, free: 1.98 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.148e-05/0.802, allocations: 12.95 kB / 0.9588 GB, free: 1.973 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/0.802, allocations: 1.156 kB / 0.9588 GB, free: 1.973 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/0.802, allocations: 4.906 kB / 0.9588 GB, free: 1.969 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004768/0.8025, allocations: 329 kB / 0.9591 GB, free: 1.777 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001143/0.8026, allocations: 146.1 kB / 0.9593 GB, free: 1.633 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.32e-05/0.8026, allocations: 10.2 kB / 0.9593 GB, free: 1.625 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001344/0.8028, allocations: 10.22 kB / 0.9593 GB, free: 1.621 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.5e-05/0.8028, allocations: 27.8 kB / 0.9593 GB, free: 1.605 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.257e-05/0.8029, allocations: 13.44 kB / 0.9593 GB, free: 1.602 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0002173/0.8031, allocations: 239.8 kB / 0.9595 GB, free: 1.449 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8031, allocations: 0.9688 kB / 0.9595 GB, free: 1.449 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003158/0.8034, allocations: 59.88 kB / 0.9596 GB, free: 1.434 MB / 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.001043/0.8045, allocations: 403.4 kB / 0.96 GB, free: 1.234 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004645/0.805, allocations: 228 kB / 0.9602 GB, free: 1.145 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.805, allocations: 0 / 0.9602 GB, free: 1.145 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0002062/0.8052, allocations: 129.7 kB / 0.9603 GB, free: 1.094 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002935/0.8055, allocations: 39.12 kB / 0.9604 GB, free: 1.07 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000807/0.8063, allocations: 0.5666 MB / 0.9609 GB, free: 0.6836 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000239/0.8065, allocations: 0.7587 MB / 0.9617 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0003167/0.8069, allocations: 146.9 kB / 0.9618 GB, free: 15.87 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.783e-05/0.807, allocations: 39.58 kB / 0.9618 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of SimCode: time 2.4e-07/0.807, allocations: 1.062 kB / 0.9618 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of Templates: time 0.007188/0.8142, allocations: 2.893 MB / 0.9647 GB, free: 14.42 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