Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Min.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.0008649/0.0008649, allocations: 80.8 kB / 20.75 MB, free: 3.742 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.0009884/0.0009884, allocations: 161 kB / 24.17 MB, free: 332 kB / 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.9979/0.9979, allocations: 177.2 MB / 204.6 MB, free: 4.992 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 2.003/2.003, allocations: 377.9 MB / 0.624 GB, free: 8.355 MB / 0.5886 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/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.Controls.OBC.CDL.Integers.Validation.Min,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|min1.u1|min1.u2|min1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Min") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Min,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|min1.u1|min1.u2|min1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Min") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.094e-06/2.094e-06, allocations: 0 / 0.7601 GB, free: 6.547 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.746e-05/2.956e-05, allocations: 6.25 kB / 0.7601 GB, free: 6.539 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Min): time 0.00168/0.00171, allocations: 0.8287 MB / 0.7609 GB, free: 5.734 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001264/0.002974, allocations: 0.9149 MB / 0.7618 GB, free: 4.809 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.283e-05/0.003017, allocations: 2 kB / 0.7618 GB, free: 4.809 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 3.416e-05/0.003051, allocations: 7.922 kB / 0.7618 GB, free: 4.801 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 9.714e-05/0.003148, allocations: 6.922 kB / 0.7618 GB, free: 4.797 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001618/0.00331, allocations: 44.7 kB / 0.7618 GB, free: 4.754 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0001036/0.003413, allocations: 90.59 kB / 0.7619 GB, free: 4.676 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 9.153e-05/0.003505, allocations: 28.56 kB / 0.7619 GB, free: 4.648 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001043/0.003609, allocations: 43.25 kB / 0.762 GB, free: 4.609 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 6.478e-05/0.003674, allocations: 43.31 kB / 0.762 GB, free: 4.57 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.167e-05/0.003696, allocations: 8 kB / 0.762 GB, free: 4.562 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 1.16e-05/0.003707, allocations: 8 kB / 0.762 GB, free: 4.555 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 2.363e-05/0.003731, allocations: 28.94 kB / 0.7621 GB, free: 4.527 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 2.377e-05/0.003755, allocations: 19.98 kB / 0.7621 GB, free: 4.508 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001004/0.003855, allocations: 71.7 kB / 0.7622 GB, free: 4.438 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.003858, allocations: 0.5312 kB / 0.7622 GB, free: 4.438 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.112e-06/0.003859, allocations: 1.344 kB / 0.7622 GB, free: 4.438 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.719e-06/0.003864, allocations: 0 / 0.7622 GB, free: 4.438 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0003855/0.004249, allocations: 272.7 kB / 0.7624 GB, free: 4.148 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.435e-05/0.004284, allocations: 12.56 kB / 0.7624 GB, free: 4.137 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.652e-05/0.00432, allocations: 16.92 kB / 0.7624 GB, free: 4.121 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.15e-05/0.004412, allocations: 114.9 kB / 0.7626 GB, free: 3.984 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.824e-05/0.00443, allocations: 4.375 kB / 0.7626 GB, free: 3.98 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.221e-05/0.004442, allocations: 8.375 kB / 0.7626 GB, free: 3.973 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001553/0.004598, allocations: 98.2 kB / 0.7627 GB, free: 3.871 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.848e-06/0.004607, allocations: 4.688 kB / 0.7627 GB, free: 3.867 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.516e-06/0.004616, allocations: 0 / 0.7627 GB, free: 3.867 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.552e-06/0.004622, allocations: 0.5312 kB / 0.7627 GB, free: 3.867 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.585e-05/0.004668, allocations: 25.64 kB / 0.7627 GB, free: 3.844 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000281/0.004949, allocations: 196.2 kB / 0.7629 GB, free: 3.637 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002223/0.005172, allocations: 67.73 kB / 0.7629 GB, free: 3.562 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.739e-05/0.005199, allocations: 20.84 kB / 0.763 GB, free: 3.539 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.489e-05/0.005214, allocations: 0.8438 kB / 0.763 GB, free: 3.539 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.049e-05/0.005234, allocations: 34.56 kB / 0.763 GB, free: 3.496 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 1.273e-06/0.005236, allocations: 1.125 kB / 0.763 GB, free: 3.496 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0001443/0.00538, allocations: 69.66 kB / 0.7631 GB, free: 3.422 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.771e-05/0.005408, allocations: 58.47 kB / 0.7631 GB, free: 3.355 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.44e-05/0.005472, allocations: 122.6 kB / 0.7632 GB, free: 3.223 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.056e-05/0.005483, allocations: 25.7 kB / 0.7633 GB, free: 3.191 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.326e-05/0.005516, allocations: 92.11 kB / 0.7633 GB, free: 3.098 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.166e-05/0.005538, allocations: 19.8 kB / 0.7634 GB, free: 3.078 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.447e-05/0.005572, allocations: 29.69 kB / 0.7634 GB, free: 3.043 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.482e-05/0.005647, allocations: 322.8 kB / 0.7637 GB, free: 2.719 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.061e-05/0.005667, allocations: 4 kB / 0.7637 GB, free: 2.715 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.206e-05/0.005689, allocations: 18.95 kB / 0.7637 GB, free: 2.699 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.631e-05/0.005736, allocations: 24.84 kB / 0.7637 GB, free: 2.672 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.005739, allocations: 3.938 kB / 0.7638 GB, free: 2.668 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7) (initialization): time 7.738e-05/0.005816, allocations: 65.59 kB / 0.7638 GB, free: 2.598 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.093e-05/0.005827, allocations: 4 kB / 0.7638 GB, free: 2.594 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.005831, allocations: 0 / 0.7638 GB, free: 2.594 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.138e-05/0.005842, allocations: 1.5 kB / 0.7638 GB, free: 2.594 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.917e-05/0.005922, allocations: 23.97 kB / 0.7638 GB, free: 2.57 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.445e-06/0.005924, allocations: 0 / 0.7638 GB, free: 2.57 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.431e-05/0.005958, allocations: 4 kB / 0.7638 GB, free: 2.566 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.957e-06/0.005967, allocations: 9.188 kB / 0.7639 GB, free: 2.559 MB / 0.7136 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 (reaToInt1.y,reaToInt.y,min1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 6.846e-05/0.006036, allocations: 115.3 kB / 0.764 GB, free: 2.438 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.959e-05/0.006055, allocations: 4 kB / 0.764 GB, free: 2.434 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001114/0.006167, allocations: 76.47 kB / 0.764 GB, free: 2.355 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.00617, allocations: 3.984 kB / 0.764 GB, free: 2.352 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.695e-06/0.006172, allocations: 3.984 kB / 0.7641 GB, free: 2.348 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.006175, allocations: 0 / 0.7641 GB, free: 2.348 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000107/0.006282, allocations: 89.77 kB / 0.7641 GB, free: 2.242 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.006283, allocations: 0 / 0.7641 GB, free: 2.242 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6e-05/0.006343, allocations: 26.69 kB / 0.7642 GB, free: 2.219 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.325e-06/0.006346, allocations: 3.938 kB / 0.7642 GB, free: 2.215 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.754e-06/0.006353, allocations: 4 kB / 0.7642 GB, free: 2.211 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.006354, allocations: 80 / 0.7642 GB, free: 2.211 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.006356, allocations: 3.984 kB / 0.7642 GB, free: 2.207 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.778e-05/0.006454, allocations: 155.5 kB / 0.7643 GB, free: 2.039 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 1.148e-05/0.006465, allocations: 11.89 kB / 0.7643 GB, free: 2.027 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.067e-05/0.006476, allocations: 1.844 kB / 0.7643 GB, free: 2.027 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.872e-05/0.006525, allocations: 7.984 kB / 0.7643 GB, free: 2.02 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.317e-05/0.006578, allocations: 27.97 kB / 0.7644 GB, free: 1.992 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.46e-06/0.006583, allocations: 4 kB / 0.7644 GB, free: 1.988 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.862e-05/0.006602, allocations: 16.84 kB / 0.7644 GB, free: 1.969 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5e-08/0.006602, allocations: 2.438 kB / 0.7644 GB, free: 1.969 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001268/0.006729, allocations: 16 kB / 0.7644 GB, free: 1.953 MB / 0.7136 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 (min1.y,reaToInt.y,reaToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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 Backend phase and start with SimCode phase: time 7.813e-05/0.006807, allocations: 80.36 kB / 0.7645 GB, free: 1.867 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 8.459e-05/0.006892, allocations: 36.81 kB / 0.7645 GB, free: 1.828 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.006895, allocations: 5.938 kB / 0.7645 GB, free: 1.824 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 4.444e-05/0.00694, allocations: 32.78 kB / 0.7646 GB, free: 1.789 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001415/0.007081, allocations: 8 kB / 0.7646 GB, free: 1.781 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002649/0.007346, allocations: 174.3 kB / 0.7647 GB, free: 1.582 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.329e-05/0.007379, allocations: 63.34 kB / 0.7648 GB, free: 1.5 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 4.001e-05/0.007419, allocations: 8 kB / 0.7648 GB, free: 1.496 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.63e-05/0.007496, allocations: 67.36 kB / 0.7649 GB, free: 1.43 MB / 0.7136 GB Notification: Performance of SimCode: time 7.31e-07/0.007496, allocations: 2.75 kB / 0.7649 GB, free: 1.43 MB / 0.7136 GB Notification: Performance of Templates: time 0.003296/0.01079, allocations: 1.693 MB / 0.7665 GB, free: 15.82 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Min.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Min.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Min -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Min_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Integers_Validation_Min.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.09287528693676]