Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.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.001007/0.001007, allocations: 80.8 kB / 20.75 MB, free: 3.738 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.001139/0.001139, allocations: 161.4 kB / 24.16 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 1.015/1.015, allocations: 177.1 MB / 204.6 MB, free: 5.473 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 1.911/1.911, allocations: 377.9 MB / 0.624 GB, free: 8.371 MB / 0.5886 GB " [Timeout remaining time 178] 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.Subtract,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.u1|sub.u2|sub.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Subtract,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.u1|sub.u2|sub.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.412e-06/1.412e-06, allocations: 0.7656 kB / 0.76 GB, free: 6.621 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.357e-05/1.498e-05, allocations: 6.312 kB / 0.76 GB, free: 6.613 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Subtract): time 0.001203/0.001218, allocations: 0.7827 MB / 0.7608 GB, free: 5.852 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0008503/0.002069, allocations: 0.9153 MB / 0.7617 GB, free: 4.926 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.728e-05/0.002106, allocations: 0 / 0.7617 GB, free: 4.926 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 2.781e-05/0.002134, allocations: 4.906 kB / 0.7617 GB, free: 4.922 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 7.442e-05/0.002208, allocations: 11 kB / 0.7617 GB, free: 4.914 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001359/0.002344, allocations: 48.44 kB / 0.7617 GB, free: 4.867 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 9.007e-05/0.002434, allocations: 82.78 kB / 0.7618 GB, free: 4.797 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 7.377e-05/0.002508, allocations: 24.84 kB / 0.7618 GB, free: 4.773 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 8.78e-05/0.002596, allocations: 43.58 kB / 0.7619 GB, free: 4.734 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 5.915e-05/0.002655, allocations: 43.69 kB / 0.7619 GB, free: 4.695 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.765e-05/0.002683, allocations: 8 kB / 0.7619 GB, free: 4.688 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 1.159e-05/0.002694, allocations: 8 kB / 0.7619 GB, free: 4.68 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 2.188e-05/0.002716, allocations: 23.92 kB / 0.762 GB, free: 4.656 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 2.643e-05/0.002742, allocations: 27.95 kB / 0.762 GB, free: 4.629 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 9.243e-05/0.002835, allocations: 63.73 kB / 0.762 GB, free: 4.566 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.523e-06/0.002836, allocations: 1.594 kB / 0.762 GB, free: 4.566 MB / 0.7136 GB Notification: Performance of FrontEnd: time 4.41e-07/0.002837, allocations: 0 / 0.762 GB, free: 4.566 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.547e-06/0.00284, allocations: 0 / 0.762 GB, free: 4.566 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.0003322/0.003173, allocations: 281.9 kB / 0.7623 GB, free: 4.27 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.564e-05/0.003208, allocations: 11.97 kB / 0.7623 GB, free: 4.258 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.086e-05/0.003239, allocations: 12.94 kB / 0.7623 GB, free: 4.246 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.053e-05/0.00332, allocations: 113.7 kB / 0.7625 GB, free: 4.109 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.876e-05/0.003338, allocations: 5.312 kB / 0.7625 GB, free: 4.105 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.467e-05/0.003353, allocations: 8.375 kB / 0.7625 GB, free: 4.098 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001408/0.003494, allocations: 101.6 kB / 0.7626 GB, free: 3.992 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.145e-06/0.003502, allocations: 3.938 kB / 0.7626 GB, free: 3.988 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.799e-06/0.003512, allocations: 4.688 kB / 0.7626 GB, free: 3.984 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.003517, allocations: 1.781 kB / 0.7626 GB, free: 3.984 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.62e-05/0.003563, allocations: 19.98 kB / 0.7626 GB, free: 3.965 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002649/0.003828, allocations: 192.2 kB / 0.7628 GB, free: 3.762 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002165/0.004045, allocations: 79.28 kB / 0.7628 GB, free: 3.676 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.823e-05/0.004073, allocations: 17.8 kB / 0.7629 GB, free: 3.656 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.385e-05/0.004087, allocations: 0 / 0.7629 GB, free: 3.656 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.9e-05/0.004106, allocations: 35.5 kB / 0.7629 GB, free: 3.613 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 7.62e-07/0.004106, allocations: 0 / 0.7629 GB, free: 3.613 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.000136/0.004242, allocations: 66.42 kB / 0.763 GB, free: 3.543 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.456e-05/0.004277, allocations: 56.09 kB / 0.763 GB, free: 3.477 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.348e-05/0.00434, allocations: 130.5 kB / 0.7631 GB, free: 3.336 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.336e-05/0.004354, allocations: 30.33 kB / 0.7632 GB, free: 3.301 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.725e-05/0.004391, allocations: 88.12 kB / 0.7633 GB, free: 3.211 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.217e-05/0.004413, allocations: 25.97 kB / 0.7633 GB, free: 3.188 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.285e-05/0.004446, allocations: 29.69 kB / 0.7633 GB, free: 3.152 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.488e-05/0.004521, allocations: 314.8 kB / 0.7636 GB, free: 2.836 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.11e-05/0.004542, allocations: 11.98 kB / 0.7636 GB, free: 2.824 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.678e-05/0.004559, allocations: 7.938 kB / 0.7636 GB, free: 2.816 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.009e-05/0.004609, allocations: 33.33 kB / 0.7637 GB, free: 2.781 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.689e-06/0.004614, allocations: 7.375 kB / 0.7637 GB, free: 2.777 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7) (initialization): time 6.954e-05/0.004683, allocations: 53.62 kB / 0.7637 GB, free: 2.719 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.205e-05/0.004695, allocations: 8 kB / 0.7637 GB, free: 2.711 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.0047, allocations: 3.984 kB / 0.7637 GB, free: 2.707 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.308e-05/0.004713, allocations: 0 / 0.7637 GB, free: 2.707 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.8e-05/0.004781, allocations: 15.98 kB / 0.7637 GB, free: 2.691 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.468e-06/0.004786, allocations: 0 / 0.7637 GB, free: 2.691 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.643e-05/0.004822, allocations: 10.69 kB / 0.7638 GB, free: 2.684 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.735e-06/0.00483, allocations: 8.531 kB / 0.7638 GB, free: 2.676 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,sub.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.401e-05/0.004894, allocations: 113.8 kB / 0.7639 GB, free: 2.555 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.589e-05/0.00491, allocations: 4 kB / 0.7639 GB, free: 2.551 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.275e-05/0.004933, allocations: 16.44 kB / 0.7639 GB, free: 2.535 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.004935, allocations: 0 / 0.7639 GB, free: 2.535 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.004938, allocations: 3.984 kB / 0.7639 GB, free: 2.531 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.004941, allocations: 0.625 kB / 0.7639 GB, free: 2.531 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001065/0.005047, allocations: 85.83 kB / 0.764 GB, free: 2.43 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.42e-07/0.005048, allocations: 1.406 kB / 0.764 GB, free: 2.43 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.691e-05/0.005095, allocations: 23.92 kB / 0.764 GB, free: 2.406 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.005098, allocations: 7.938 kB / 0.764 GB, free: 2.398 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.241e-06/0.005104, allocations: 4.609 kB / 0.764 GB, free: 2.395 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.31e-07/0.005104, allocations: 0 / 0.764 GB, free: 2.395 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.21e-07/0.005105, allocations: 2.531 kB / 0.764 GB, free: 2.395 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001052/0.00521, allocations: 155.5 kB / 0.7642 GB, free: 2.227 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 1.218e-05/0.005222, allocations: 15.83 kB / 0.7642 GB, free: 2.211 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.017e-05/0.005232, allocations: 0 / 0.7642 GB, free: 2.211 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.537e-05/0.005278, allocations: 7.984 kB / 0.7642 GB, free: 2.203 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.273e-05/0.00533, allocations: 26.72 kB / 0.7642 GB, free: 2.18 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.638e-06/0.005335, allocations: 4 kB / 0.7642 GB, free: 2.176 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.572e-05/0.005351, allocations: 20.83 kB / 0.7642 GB, free: 2.152 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5e-08/0.005351, allocations: 0 / 0.7642 GB, free: 2.152 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001188/0.00547, allocations: 12 kB / 0.7642 GB, free: 2.141 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 (sub.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.784e-05/0.005547, allocations: 88.3 kB / 0.7643 GB, free: 2.047 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 7.721e-05/0.005625, allocations: 29.97 kB / 0.7644 GB, free: 2.016 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.005626, allocations: 0 / 0.7644 GB, free: 2.016 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.828e-05/0.005665, allocations: 38.14 kB / 0.7644 GB, free: 1.977 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001259/0.00579, allocations: 15.98 kB / 0.7644 GB, free: 1.961 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002408/0.006031, allocations: 166.4 kB / 0.7646 GB, free: 1.77 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.323e-05/0.006064, allocations: 59.34 kB / 0.7646 GB, free: 1.691 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 4.12e-05/0.006106, allocations: 15.45 kB / 0.7646 GB, free: 1.68 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.554e-05/0.006181, allocations: 67.95 kB / 0.7647 GB, free: 1.613 MB / 0.7136 GB Notification: Performance of SimCode: time 4.91e-07/0.006182, allocations: 0.6562 kB / 0.7647 GB, free: 1.613 MB / 0.7136 GB Notification: Performance of Templates: time 0.002915/0.009096, allocations: 1.704 MB / 0.7664 GB, free: 15.99 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Integers_Validation_Subtract.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.173625418916345]