Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009578/0.0009578, allocations: 80.94 kB / 19.94 MB, free: 4.547 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001619/0.001619, allocations: 177 kB / 23.36 MB, free: 1.133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9267/0.9267, allocations: 177.2 MB / 203.8 MB, free: 5.484 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.362/2.362, allocations: 438.8 MB / 0.6826 GB, free: 13.55 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|limCeiHei.u|limCeiHei.ceiHei",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|limCeiHei.u|limCeiHei.ceiHei",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 0.8386 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.003e-05/2.152e-05, allocations: 4.422 kB / 0.8386 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin): time 0.002614/0.002636, allocations: 1.701 MB / 0.8403 GB, free: 12.44 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.001268/0.003904, allocations: 1.418 MB / 0.8416 GB, free: 11.02 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.95e-05/0.003954, allocations: 0 / 0.8416 GB, free: 11.02 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0001989/0.004153, allocations: 31.72 kB / 0.8417 GB, free: 10.98 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0002898/0.004442, allocations: 111.3 kB / 0.8418 GB, free: 10.88 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002208/0.004663, allocations: 139.5 kB / 0.8419 GB, free: 10.74 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0002186/0.004882, allocations: 249.6 kB / 0.8421 GB, free: 10.49 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 7.596e-05/0.004958, allocations: 19.97 kB / 0.8422 GB, free: 10.47 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0249/0.02986, allocations: 9.733 MB / 0.8517 GB, free: 4.137 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000108/0.02996, allocations: 75.81 kB / 0.8517 GB, free: 4.062 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 2.781e-05/0.02999, allocations: 16 kB / 0.8518 GB, free: 4.047 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001131/0.0301, allocations: 59.92 kB / 0.8518 GB, free: 3.988 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 7.503e-05/0.03018, allocations: 83.73 kB / 0.8519 GB, free: 3.906 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 6.231e-05/0.03024, allocations: 67.77 kB / 0.852 GB, free: 3.84 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0002834/0.03053, allocations: 231.1 kB / 0.8522 GB, free: 3.613 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.03053, allocations: 7.938 kB / 0.8522 GB, free: 3.605 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.353e-06/0.03053, allocations: 0 / 0.8522 GB, free: 3.605 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.767e-06/0.03053, allocations: 4 kB / 0.8522 GB, free: 3.602 MB / 0.8073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0005141/0.03105, allocations: 448.7 kB / 0.8526 GB, free: 3.137 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.045e-05/0.03108, allocations: 8.031 kB / 0.8526 GB, free: 3.129 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.326e-05/0.03113, allocations: 32.91 kB / 0.8527 GB, free: 3.098 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002306/0.03136, allocations: 236.7 kB / 0.8529 GB, free: 2.84 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.554e-05/0.03138, allocations: 12.7 kB / 0.8529 GB, free: 2.828 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.348e-05/0.0314, allocations: 16.38 kB / 0.8529 GB, free: 2.812 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001905/0.03159, allocations: 211.7 kB / 0.8531 GB, free: 2.578 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.055e-06/0.0316, allocations: 192 / 0.8531 GB, free: 2.578 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.76e-05/0.03162, allocations: 12.06 kB / 0.8531 GB, free: 2.566 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-06/0.03162, allocations: 8 kB / 0.8531 GB, free: 2.559 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003988/0.03202, allocations: 499.2 kB / 0.8536 GB, free: 2.07 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004705/0.03249, allocations: 339 kB / 0.8539 GB, free: 1.719 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001818/0.03268, allocations: 135.6 kB / 0.8541 GB, free: 1.578 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.031e-05/0.03273, allocations: 45.95 kB / 0.8541 GB, free: 1.531 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 3.213e-05/0.03276, allocations: 20.2 kB / 0.8541 GB, free: 1.512 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000135/0.03289, allocations: 120.9 kB / 0.8542 GB, free: 1.383 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=35): time 1.472e-06/0.03289, allocations: 4 kB / 0.8542 GB, free: 1.379 MB / 0.8073 GB Notification: Performance of matching and sorting (n=35): time 0.0002237/0.03312, allocations: 169.8 kB / 0.8544 GB, free: 1.207 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.177e-05/0.03317, allocations: 114.8 kB / 0.8545 GB, free: 1.07 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001113/0.03328, allocations: 201 kB / 0.8547 GB, free: 0.8633 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.026e-05/0.0333, allocations: 33.7 kB / 0.8547 GB, free: 0.8242 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 4.183e-05/0.03334, allocations: 117.1 kB / 0.8549 GB, free: 0.7031 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 6.17e-05/0.03341, allocations: 115 kB / 0.855 GB, free: 0.5898 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.7e-05/0.03346, allocations: 53.67 kB / 0.855 GB, free: 0.5312 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.995e-05/0.03354, allocations: 346.7 kB / 0.8553 GB, free: 188 kB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.604e-05/0.03359, allocations: 27.73 kB / 0.8554 GB, free: 160 kB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.828e-05/0.03367, allocations: 117.9 kB / 0.8555 GB, free: 20 kB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001251/0.03379, allocations: 117.2 kB / 0.8556 GB, free: 15.9 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.03379, allocations: 4.031 kB / 0.8556 GB, free: 15.89 MB / 0.823 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0001526/0.03395, allocations: 149.1 kB / 0.8557 GB, free: 15.75 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.314e-05/0.03396, allocations: 8 kB / 0.8557 GB, free: 15.74 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.03396, allocations: 0 / 0.8557 GB, free: 15.74 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.213e-05/0.03398, allocations: 0 / 0.8557 GB, free: 15.74 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001396/0.03412, allocations: 55.91 kB / 0.8558 GB, free: 15.68 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.898e-06/0.03412, allocations: 4 kB / 0.8558 GB, free: 15.68 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.781e-05/0.03419, allocations: 31.47 kB / 0.8558 GB, free: 15.65 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.254e-05/0.0342, allocations: 4 kB / 0.8558 GB, free: 15.65 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 (conTim.k,$PRE.conTim.k,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 (37): * Single equations (assignments): 37 * 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 8.531e-05/0.03428, allocations: 136.6 kB / 0.856 GB, free: 15.5 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.845e-05/0.03431, allocations: 31.92 kB / 0.856 GB, free: 15.47 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002659/0.03458, allocations: 217 kB / 0.8562 GB, free: 15.26 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.03458, allocations: 8 kB / 0.8562 GB, free: 15.25 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.026e-06/0.03459, allocations: 4 kB / 0.8562 GB, free: 15.25 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.14e-06/0.03459, allocations: 3.984 kB / 0.8562 GB, free: 15.24 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001396/0.03473, allocations: 157.5 kB / 0.8564 GB, free: 15.07 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.03473, allocations: 0 / 0.8564 GB, free: 15.07 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.816e-05/0.03483, allocations: 51.91 kB / 0.8564 GB, free: 15.02 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.03483, allocations: 0 / 0.8564 GB, free: 15.02 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.061e-05/0.03484, allocations: 7.938 kB / 0.8564 GB, free: 15.01 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.504e-06/0.03485, allocations: 4 kB / 0.8564 GB, free: 15.01 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.03485, allocations: 0 / 0.8564 GB, free: 15.01 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001557/0.035, allocations: 191.5 kB / 0.8566 GB, free: 14.8 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 6.544e-05/0.03507, allocations: 55.7 kB / 0.8567 GB, free: 14.75 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.575e-05/0.03509, allocations: 7.938 kB / 0.8567 GB, free: 14.74 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.133e-05/0.03514, allocations: 11.98 kB / 0.8567 GB, free: 14.73 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.645e-05/0.03518, allocations: 23.95 kB / 0.8567 GB, free: 14.7 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.248e-05/0.03519, allocations: 11.98 kB / 0.8567 GB, free: 14.69 MB / 0.823 GB Notification: Performance of sorting global known variables: time 5.072e-05/0.03524, allocations: 66.78 kB / 0.8568 GB, free: 14.62 MB / 0.823 GB Notification: Performance of sort global known variables: time 5e-08/0.03524, allocations: 0 / 0.8568 GB, free: 14.62 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0001558/0.0354, allocations: 51.94 kB / 0.8568 GB, free: 14.57 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,conTim.tNext,conTim.k) * Number of discrete states: 2 (conTim.k,conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0009576/0.03636, allocations: 454.7 kB / 0.8573 GB, free: 14.32 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.000176/0.03653, allocations: 120.6 kB / 0.8574 GB, free: 14.2 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 4.879e-06/0.03654, allocations: 4 kB / 0.8574 GB, free: 14.2 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 7.784e-05/0.03662, allocations: 76.69 kB / 0.8575 GB, free: 14.12 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001259/0.03674, allocations: 40.48 kB / 0.8575 GB, free: 14.08 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005811/0.03732, allocations: 410.8 kB / 0.8579 GB, free: 13.65 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.067e-05/0.03737, allocations: 93.81 kB / 0.858 GB, free: 13.54 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.0001224/0.0375, allocations: 74.95 kB / 0.8581 GB, free: 13.46 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001321/0.03763, allocations: 115.3 kB / 0.8582 GB, free: 13.35 MB / 0.823 GB Notification: Performance of SimCode: time 4.11e-07/0.03763, allocations: 0 / 0.8582 GB, free: 13.35 MB / 0.823 GB Notification: Performance of Templates: time 0.004781/0.04241, allocations: 3.143 MB / 0.8612 GB, free: 10.23 MB / 0.823 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.sim & ./Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.163426682818681]