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.0009789/0.0009789, 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.001592/0.001592, allocations: 161 kB / 24.17 MB, free: 328 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.036/1.036, allocations: 177.1 MB / 204.6 MB, free: 5.461 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.073/2.073, allocations: 377.9 MB / 0.624 GB, free: 8.359 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.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 3.216e-06/3.216e-06, allocations: 0.9844 kB / 0.7601 GB, free: 6.586 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.97e-05/3.291e-05, allocations: 2.312 kB / 0.7601 GB, free: 6.582 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Subtract): time 0.002483/0.002516, allocations: 0.8325 MB / 0.7609 GB, free: 5.773 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001272/0.003788, allocations: 0.9117 MB / 0.7618 GB, free: 4.852 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.062e-05/0.003839, allocations: 0 / 0.7618 GB, free: 4.852 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 3.788e-05/0.003876, allocations: 8.719 kB / 0.7618 GB, free: 4.844 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0001006/0.003977, allocations: 11.77 kB / 0.7618 GB, free: 4.836 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001776/0.004155, allocations: 36.7 kB / 0.7618 GB, free: 4.801 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0001323/0.004287, allocations: 89.23 kB / 0.7619 GB, free: 4.723 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001024/0.004389, allocations: 22.12 kB / 0.7619 GB, free: 4.703 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001287/0.004518, allocations: 51.33 kB / 0.762 GB, free: 4.656 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 9.14e-05/0.004609, allocations: 39.33 kB / 0.762 GB, free: 4.621 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.525e-05/0.004635, allocations: 9.25 kB / 0.762 GB, free: 4.613 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 1.524e-05/0.00465, allocations: 8 kB / 0.762 GB, free: 4.605 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 3.081e-05/0.004681, allocations: 23.92 kB / 0.7621 GB, free: 4.582 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 3.539e-05/0.004716, allocations: 29.06 kB / 0.7621 GB, free: 4.555 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001237/0.00484, allocations: 63.73 kB / 0.7621 GB, free: 4.492 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 2.836e-06/0.004843, allocations: 0 / 0.7621 GB, free: 4.492 MB / 0.7136 GB Notification: Performance of FrontEnd: time 9.02e-07/0.004844, allocations: 0 / 0.7621 GB, free: 4.492 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.797e-06/0.004847, allocations: 1.25 kB / 0.7621 GB, free: 4.492 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.0004472/0.005295, allocations: 280.6 kB / 0.7624 GB, free: 4.195 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.876e-05/0.005333, allocations: 9.062 kB / 0.7624 GB, free: 4.188 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.083e-05/0.005374, allocations: 12.94 kB / 0.7624 GB, free: 4.176 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00011/0.005484, allocations: 125.6 kB / 0.7626 GB, free: 4.027 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.236e-05/0.005507, allocations: 4.906 kB / 0.7626 GB, free: 4.023 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.529e-05/0.005522, allocations: 9.938 kB / 0.7626 GB, free: 4.016 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002026/0.005724, allocations: 90.89 kB / 0.7627 GB, free: 3.918 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.084e-05/0.005735, allocations: 3.938 kB / 0.7627 GB, free: 3.914 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.039e-05/0.005746, allocations: 1.219 kB / 0.7627 GB, free: 3.914 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.002e-06/0.005752, allocations: 0 / 0.7627 GB, free: 3.914 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.69e-05/0.005818, allocations: 27.92 kB / 0.7627 GB, free: 3.887 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003977/0.006216, allocations: 197.6 kB / 0.7629 GB, free: 3.68 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003493/0.006565, allocations: 71.02 kB / 0.7629 GB, free: 3.602 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.594e-05/0.006611, allocations: 17.61 kB / 0.763 GB, free: 3.582 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.508e-05/0.006626, allocations: 0 / 0.763 GB, free: 3.582 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.717e-05/0.006654, allocations: 35.3 kB / 0.763 GB, free: 3.539 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 1.172e-06/0.006655, allocations: 0 / 0.763 GB, free: 3.539 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0002067/0.006862, allocations: 72.2 kB / 0.7631 GB, free: 3.465 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.552e-05/0.006897, allocations: 55.41 kB / 0.7631 GB, free: 3.398 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.921e-05/0.006986, allocations: 122.6 kB / 0.7632 GB, free: 3.266 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.613e-05/0.007002, allocations: 25.7 kB / 0.7633 GB, free: 3.234 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.434e-05/0.007047, allocations: 92.11 kB / 0.7633 GB, free: 3.141 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.12e-05/0.007078, allocations: 26.23 kB / 0.7634 GB, free: 3.117 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.947e-05/0.007127, allocations: 29.69 kB / 0.7634 GB, free: 3.082 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.272e-05/0.00722, allocations: 314.8 kB / 0.7637 GB, free: 2.766 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.332e-05/0.007253, allocations: 8 kB / 0.7637 GB, free: 2.758 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.596e-05/0.007279, allocations: 7.984 kB / 0.7637 GB, free: 2.75 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.413e-05/0.007354, allocations: 36.77 kB / 0.7637 GB, free: 2.711 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.007357, allocations: 6.25 kB / 0.7638 GB, free: 2.707 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001143/0.007471, allocations: 54.14 kB / 0.7638 GB, free: 2.648 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.428e-05/0.007486, allocations: 4 kB / 0.7638 GB, free: 2.645 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.00749, allocations: 4 kB / 0.7638 GB, free: 2.641 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.376e-05/0.007504, allocations: 0 / 0.7638 GB, free: 2.641 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001215/0.007626, allocations: 17.02 kB / 0.7638 GB, free: 2.625 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.547e-06/0.007629, allocations: 0 / 0.7638 GB, free: 2.625 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.255e-05/0.007682, allocations: 8.922 kB / 0.7638 GB, free: 2.617 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.073e-05/0.007692, allocations: 12 kB / 0.7638 GB, free: 2.605 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 8.254e-05/0.007775, allocations: 114.4 kB / 0.764 GB, free: 2.484 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.068e-05/0.007806, allocations: 11.92 kB / 0.764 GB, free: 2.473 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.027e-05/0.007836, allocations: 19.19 kB / 0.764 GB, free: 2.457 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.794e-06/0.007838, allocations: 0 / 0.764 GB, free: 2.457 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.773e-06/0.00784, allocations: 0 / 0.764 GB, free: 2.457 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.876e-06/0.007842, allocations: 0 / 0.764 GB, free: 2.457 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000145/0.007987, allocations: 93.8 kB / 0.7641 GB, free: 2.348 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.007989, allocations: 0 / 0.7641 GB, free: 2.348 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001002/0.00809, allocations: 19.98 kB / 0.7641 GB, free: 2.328 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.208e-06/0.008094, allocations: 6.938 kB / 0.7641 GB, free: 2.324 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.436e-06/0.008102, allocations: 0 / 0.7641 GB, free: 2.324 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.008104, allocations: 80 / 0.7641 GB, free: 2.324 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.518e-06/0.008109, allocations: 7.969 kB / 0.7641 GB, free: 2.316 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001545/0.008263, allocations: 155.5 kB / 0.7643 GB, free: 2.148 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 1.881e-05/0.008282, allocations: 19.81 kB / 0.7643 GB, free: 2.129 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.421e-05/0.008296, allocations: 0 / 0.7643 GB, free: 2.129 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.276e-05/0.008389, allocations: 5.781 kB / 0.7643 GB, free: 2.125 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.854e-05/0.008458, allocations: 23.97 kB / 0.7643 GB, free: 2.102 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.817e-06/0.008466, allocations: 7.984 kB / 0.7643 GB, free: 2.094 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 2.815e-05/0.008494, allocations: 20.83 kB / 0.7643 GB, free: 2.07 MB / 0.7136 GB Notification: Performance of sort global known variables: time 9e-08/0.008495, allocations: 0 / 0.7643 GB, free: 2.07 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002064/0.008701, allocations: 12.91 kB / 0.7643 GB, free: 2.059 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 9.467e-05/0.008796, allocations: 81.08 kB / 0.7644 GB, free: 1.973 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001164/0.008912, allocations: 33.44 kB / 0.7645 GB, free: 1.938 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.329e-06/0.008916, allocations: 4.625 kB / 0.7645 GB, free: 1.934 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 6.047e-05/0.008977, allocations: 28.83 kB / 0.7645 GB, free: 1.902 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002146/0.009191, allocations: 17.89 kB / 0.7645 GB, free: 1.887 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003726/0.009564, allocations: 166.2 kB / 0.7647 GB, free: 1.695 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.805e-05/0.009612, allocations: 63.34 kB / 0.7647 GB, free: 1.613 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 6.116e-05/0.009673, allocations: 7.688 kB / 0.7647 GB, free: 1.609 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001061/0.009779, allocations: 68.02 kB / 0.7648 GB, free: 1.543 MB / 0.7136 GB Notification: Performance of SimCode: time 6.91e-07/0.00978, allocations: 0 / 0.7648 GB, free: 1.543 MB / 0.7136 GB Notification: Performance of Templates: time 0.003665/0.01345, allocations: 1.707 MB / 0.7665 GB, free: 15.92 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 -s gbode -gbm=radauIIA3 -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.25245860312134]