Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Add.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.001132/0.001132, 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.001606/0.001606, allocations: 161 kB / 24.16 MB, free: 336 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.018/1.018, allocations: 177.2 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 2.024/2.024, allocations: 377.9 MB / 0.624 GB, free: 8.344 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.Add,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|add1.u1|add1.u2|add1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Add") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Add,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|add1.u1|add1.u2|add1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Add") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.645e-06/2.645e-06, allocations: 0 / 0.7601 GB, free: 6.566 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.016e-05/3.28e-05, allocations: 2.812 kB / 0.7601 GB, free: 6.562 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Add): time 0.00195/0.001982, allocations: 0.8288 MB / 0.7609 GB, free: 5.758 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0009247/0.002907, allocations: 0.9086 MB / 0.7618 GB, free: 4.84 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.284e-05/0.00295, allocations: 4 kB / 0.7618 GB, free: 4.836 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 3.109e-05/0.002981, allocations: 11.86 kB / 0.7618 GB, free: 4.824 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 8.138e-05/0.003062, allocations: 6.344 kB / 0.7618 GB, free: 4.82 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001486/0.003211, allocations: 45.3 kB / 0.7618 GB, free: 4.777 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0001037/0.003315, allocations: 95.47 kB / 0.7619 GB, free: 4.695 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 8.818e-05/0.003403, allocations: 11.98 kB / 0.7619 GB, free: 4.684 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001079/0.003511, allocations: 55.67 kB / 0.762 GB, free: 4.633 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 6.18e-05/0.003572, allocations: 37.11 kB / 0.762 GB, free: 4.598 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.219e-05/0.003595, allocations: 9.438 kB / 0.762 GB, free: 4.59 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 1.202e-05/0.003607, allocations: 8 kB / 0.762 GB, free: 4.582 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 2.158e-05/0.003628, allocations: 19.91 kB / 0.7621 GB, free: 4.562 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 2.443e-05/0.003653, allocations: 23.97 kB / 0.7621 GB, free: 4.539 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001043/0.003757, allocations: 68.97 kB / 0.7622 GB, free: 4.473 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 3.025e-06/0.00376, allocations: 0 / 0.7622 GB, free: 4.473 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.503e-06/0.003761, allocations: 0 / 0.7622 GB, free: 4.473 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 7.524e-06/0.003769, allocations: 4 kB / 0.7622 GB, free: 4.469 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.0003725/0.004141, allocations: 281.5 kB / 0.7624 GB, free: 4.172 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.526e-05/0.004177, allocations: 13.06 kB / 0.7624 GB, free: 4.16 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.123e-05/0.004208, allocations: 8.922 kB / 0.7624 GB, free: 4.152 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.318e-05/0.004291, allocations: 113.8 kB / 0.7626 GB, free: 4.016 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.712e-05/0.004308, allocations: 5.062 kB / 0.7626 GB, free: 4.012 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.287e-06/0.004317, allocations: 4.375 kB / 0.7626 GB, free: 4.008 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001458/0.004463, allocations: 92.67 kB / 0.7627 GB, free: 3.91 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.625e-06/0.004471, allocations: 3.938 kB / 0.7627 GB, free: 3.906 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.808e-06/0.004481, allocations: 4 kB / 0.7627 GB, free: 3.902 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.004486, allocations: 5.062 kB / 0.7627 GB, free: 3.898 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.382e-05/0.004529, allocations: 19.92 kB / 0.7627 GB, free: 3.879 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000287/0.004816, allocations: 208.9 kB / 0.7629 GB, free: 3.66 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002173/0.005034, allocations: 63.67 kB / 0.7629 GB, free: 3.59 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.928e-05/0.005063, allocations: 22.92 kB / 0.763 GB, free: 3.566 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.322e-05/0.005076, allocations: 4 kB / 0.763 GB, free: 3.562 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.101e-05/0.005097, allocations: 34.56 kB / 0.763 GB, free: 3.52 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 1.172e-06/0.005098, allocations: 0 / 0.763 GB, free: 3.52 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0001341/0.005232, allocations: 62.92 kB / 0.7631 GB, free: 3.453 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.677e-05/0.005259, allocations: 51.41 kB / 0.7631 GB, free: 3.391 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.778e-05/0.005357, allocations: 134.5 kB / 0.7632 GB, free: 3.246 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.086e-05/0.005368, allocations: 29.7 kB / 0.7633 GB, free: 3.211 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.948e-05/0.005397, allocations: 88.86 kB / 0.7634 GB, free: 3.121 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.033e-05/0.005418, allocations: 27.77 kB / 0.7634 GB, free: 3.094 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.991e-05/0.005447, allocations: 24.03 kB / 0.7634 GB, free: 3.066 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 6.637e-05/0.005514, allocations: 322.8 kB / 0.7637 GB, free: 2.742 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.768e-05/0.005531, allocations: 4 kB / 0.7637 GB, free: 2.738 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.965e-05/0.005551, allocations: 11.98 kB / 0.7637 GB, free: 2.727 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.421e-05/0.005595, allocations: 28.83 kB / 0.7638 GB, free: 2.695 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.005599, allocations: 10.67 kB / 0.7638 GB, free: 2.688 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7) (initialization): time 7.023e-05/0.005669, allocations: 54.16 kB / 0.7638 GB, free: 2.629 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.375e-05/0.005683, allocations: 4 kB / 0.7638 GB, free: 2.625 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.827e-06/0.005686, allocations: 0 / 0.7638 GB, free: 2.625 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.468e-06/0.005696, allocations: 0 / 0.7638 GB, free: 2.625 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.387e-05/0.00577, allocations: 31.91 kB / 0.7638 GB, free: 2.594 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.544e-06/0.005772, allocations: 1.281 kB / 0.7638 GB, free: 2.594 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.102e-05/0.005803, allocations: 4 kB / 0.7639 GB, free: 2.59 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.153e-06/0.00581, allocations: 4.062 kB / 0.7639 GB, free: 2.586 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,add1.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 5.57e-05/0.005866, allocations: 114.7 kB / 0.764 GB, free: 2.465 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.821e-05/0.005884, allocations: 8 kB / 0.764 GB, free: 2.457 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.802e-05/0.005902, allocations: 9.375 kB / 0.764 GB, free: 2.449 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.467e-06/0.005906, allocations: 7.984 kB / 0.764 GB, free: 2.441 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.854e-06/0.005908, allocations: 5.219 kB / 0.764 GB, free: 2.438 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.00591, allocations: 0 / 0.764 GB, free: 2.438 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.519e-05/0.006005, allocations: 89.81 kB / 0.7641 GB, free: 2.332 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.01e-07/0.006006, allocations: 0 / 0.7641 GB, free: 2.332 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.839e-05/0.006055, allocations: 21.59 kB / 0.7641 GB, free: 2.312 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.006056, allocations: 3.938 kB / 0.7641 GB, free: 2.309 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.414e-06/0.006064, allocations: 8 kB / 0.7641 GB, free: 2.301 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.624e-06/0.006065, allocations: 3.984 kB / 0.7641 GB, free: 2.297 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.006066, allocations: 0.6562 kB / 0.7641 GB, free: 2.297 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.353e-05/0.00616, allocations: 156.1 kB / 0.7643 GB, free: 2.129 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 8.787e-06/0.006169, allocations: 11.83 kB / 0.7643 GB, free: 2.117 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.898e-06/0.006178, allocations: 4.5 kB / 0.7643 GB, free: 2.113 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.041e-05/0.006229, allocations: 15.42 kB / 0.7643 GB, free: 2.102 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.221e-05/0.006281, allocations: 19.97 kB / 0.7643 GB, free: 2.082 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.158e-06/0.006285, allocations: 3.938 kB / 0.7643 GB, free: 2.078 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.692e-05/0.006302, allocations: 20.84 kB / 0.7643 GB, free: 2.055 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5.1e-08/0.006302, allocations: 0 / 0.7643 GB, free: 2.055 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001208/0.006423, allocations: 16 kB / 0.7644 GB, free: 2.039 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 (add1.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.298e-05/0.006496, allocations: 76.41 kB / 0.7644 GB, free: 1.957 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 7.914e-05/0.006575, allocations: 43.3 kB / 0.7645 GB, free: 1.914 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.006577, allocations: 0 / 0.7645 GB, free: 1.914 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 4.679e-05/0.006624, allocations: 28.84 kB / 0.7645 GB, free: 1.883 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001379/0.006762, allocations: 8 kB / 0.7645 GB, free: 1.875 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002452/0.007007, allocations: 182.2 kB / 0.7647 GB, free: 1.668 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.723e-05/0.007034, allocations: 55.36 kB / 0.7647 GB, free: 1.594 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 4.051e-05/0.007075, allocations: 16.48 kB / 0.7647 GB, free: 1.582 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.219e-05/0.007147, allocations: 67.36 kB / 0.7648 GB, free: 1.516 MB / 0.7136 GB Notification: Performance of SimCode: time 5.11e-07/0.007148, allocations: 0 / 0.7648 GB, free: 1.516 MB / 0.7136 GB Notification: Performance of Templates: time 0.002963/0.01011, allocations: 1.694 MB / 0.7665 GB, free: 15.91 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Add.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Add.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Add -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Add_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Integers_Validation_Add.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.102874604053795]