Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.Examples.Splice.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.001196/0.001196, 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.001413/0.001413, 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 0.9755/0.9755, allocations: 177.1 MB / 204.6 MB, free: 5.484 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.983/1.983, allocations: 377.9 MB / 0.624 GB, free: 8.34 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.Utilities.Math.Examples.Splice,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|splice.x|splice.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.Splice") translateModel(Buildings.Utilities.Math.Examples.Splice,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|splice.x|splice.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.Splice") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 0.7656 kB / 0.7601 GB, free: 6.578 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.079e-05/2.223e-05, allocations: 2.312 kB / 0.7601 GB, free: 6.574 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Splice): time 0.002341/0.002363, allocations: 1.602 MB / 0.7616 GB, free: 4.98 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001278/0.003641, allocations: 0.7192 MB / 0.7623 GB, free: 4.266 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.851e-05/0.003729, allocations: 0.6562 kB / 0.7623 GB, free: 4.266 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 4.579e-05/0.003775, allocations: 4.562 kB / 0.7623 GB, free: 4.262 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 7.944e-05/0.003854, allocations: 12.52 kB / 0.7623 GB, free: 4.254 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005073/0.004362, allocations: 97.48 kB / 0.7624 GB, free: 4.16 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.000131/0.004493, allocations: 32.08 kB / 0.7625 GB, free: 4.137 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 9.824e-05/0.004591, allocations: 19.92 kB / 0.7625 GB, free: 4.117 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001229/0.004714, allocations: 24.72 kB / 0.7625 GB, free: 4.094 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 4.551e-05/0.004759, allocations: 11.92 kB / 0.7625 GB, free: 4.082 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.249e-05/0.004772, allocations: 4.75 kB / 0.7625 GB, free: 4.078 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002192/0.004991, allocations: 123.8 kB / 0.7626 GB, free: 3.957 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.598e-05/0.005007, allocations: 8.719 kB / 0.7627 GB, free: 3.949 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 2.157e-05/0.005028, allocations: 11.94 kB / 0.7627 GB, free: 3.938 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0003235/0.005352, allocations: 97.94 kB / 0.7628 GB, free: 3.844 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 2.384e-06/0.005354, allocations: 3.938 kB / 0.7628 GB, free: 3.84 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.082e-06/0.005355, allocations: 4 kB / 0.7628 GB, free: 3.836 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.188e-06/0.00536, allocations: 0 / 0.7628 GB, free: 3.836 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004024/0.005762, allocations: 264.6 kB / 0.763 GB, free: 3.555 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.424e-05/0.005806, allocations: 17.58 kB / 0.763 GB, free: 3.539 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001476/0.005954, allocations: 12.94 kB / 0.763 GB, free: 3.527 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001784/0.006132, allocations: 121.7 kB / 0.7632 GB, free: 3.383 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.488e-06/0.006142, allocations: 384 / 0.7632 GB, free: 3.383 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.294e-06/0.006149, allocations: 5.625 kB / 0.7632 GB, free: 3.379 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001132/0.006262, allocations: 58.94 kB / 0.7632 GB, free: 3.312 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/0.006273, allocations: 192 / 0.7632 GB, free: 3.312 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.923e-06/0.00628, allocations: 1.562 kB / 0.7632 GB, free: 3.312 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.834e-06/0.006287, allocations: 3.938 kB / 0.7632 GB, free: 3.309 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.654e-05/0.006314, allocations: 11.94 kB / 0.7632 GB, free: 3.297 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002357/0.00655, allocations: 161.2 kB / 0.7634 GB, free: 3.125 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 3.875e-05/0.006588, allocations: 22.64 kB / 0.7634 GB, free: 3.094 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.524e-05/0.006604, allocations: 19.59 kB / 0.7634 GB, free: 3.074 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001702/0.006774, allocations: 36.03 kB / 0.7635 GB, free: 3.039 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.421e-05/0.006798, allocations: 38.5 kB / 0.7635 GB, free: 2.992 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 1.373e-06/0.006799, allocations: 0 / 0.7635 GB, free: 2.992 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.0001269/0.006926, allocations: 40.44 kB / 0.7635 GB, free: 2.949 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.892e-05/0.006955, allocations: 55.41 kB / 0.7636 GB, free: 2.883 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.772e-05/0.007023, allocations: 114.7 kB / 0.7637 GB, free: 2.758 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 9.799e-06/0.007033, allocations: 25.7 kB / 0.7637 GB, free: 2.727 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.835e-05/0.007071, allocations: 91.97 kB / 0.7638 GB, free: 2.633 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.03e-05/0.007091, allocations: 11.94 kB / 0.7638 GB, free: 2.621 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.538e-05/0.007117, allocations: 13.7 kB / 0.7638 GB, free: 2.602 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.243e-05/0.007199, allocations: 315.7 kB / 0.7641 GB, free: 2.285 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.998e-06/0.007209, allocations: 0 / 0.7641 GB, free: 2.285 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.011e-05/0.007219, allocations: 5 kB / 0.7642 GB, free: 2.281 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.762e-05/0.007247, allocations: 16.84 kB / 0.7642 GB, free: 2.262 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.00725, allocations: 0.875 kB / 0.7642 GB, free: 2.262 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.559e-05/0.007305, allocations: 37.64 kB / 0.7642 GB, free: 2.219 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.497e-05/0.00732, allocations: 8.547 kB / 0.7642 GB, free: 2.211 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.111e-06/0.007326, allocations: 7.375 kB / 0.7642 GB, free: 2.207 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.391e-05/0.00734, allocations: 0 / 0.7642 GB, free: 2.207 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.816e-05/0.007398, allocations: 7.938 kB / 0.7642 GB, free: 2.199 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.007404, allocations: 0 / 0.7642 GB, free: 2.199 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.684e-05/0.007421, allocations: 4 kB / 0.7642 GB, free: 2.195 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.154e-06/0.007428, allocations: 4 kB / 0.7642 GB, free: 2.191 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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.154e-05/0.007489, allocations: 105.8 kB / 0.7643 GB, free: 2.078 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.007e-05/0.007509, allocations: 11.92 kB / 0.7643 GB, free: 2.066 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001016/0.007611, allocations: 44.25 kB / 0.7644 GB, free: 2.02 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.142e-06/0.007617, allocations: 4 kB / 0.7644 GB, free: 2.016 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.566e-06/0.007621, allocations: 3.984 kB / 0.7644 GB, free: 2.012 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/0.007624, allocations: 0 / 0.7644 GB, free: 2.012 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.482e-05/0.007718, allocations: 69.88 kB / 0.7645 GB, free: 1.926 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.00772, allocations: 4 kB / 0.7645 GB, free: 1.922 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.213e-05/0.007742, allocations: 4 kB / 0.7645 GB, free: 1.918 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.007744, allocations: 0 / 0.7645 GB, free: 1.918 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.529e-06/0.007749, allocations: 1.656 kB / 0.7645 GB, free: 1.918 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.198e-06/0.007753, allocations: 7.875 kB / 0.7645 GB, free: 1.91 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.007754, allocations: 0 / 0.7645 GB, free: 1.91 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.296e-05/0.007827, allocations: 131.5 kB / 0.7646 GB, free: 1.766 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 6.422e-06/0.007833, allocations: 6.594 kB / 0.7646 GB, free: 1.762 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.225e-06/0.007841, allocations: 3.984 kB / 0.7646 GB, free: 1.758 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.93e-05/0.007871, allocations: 3.938 kB / 0.7646 GB, free: 1.754 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.537e-05/0.007896, allocations: 8 kB / 0.7646 GB, free: 1.746 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.216e-06/0.007899, allocations: 0 / 0.7646 GB, free: 1.746 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.746e-05/0.007917, allocations: 16.83 kB / 0.7646 GB, free: 1.727 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5e-08/0.007917, allocations: 0 / 0.7646 GB, free: 1.727 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001432/0.00806, allocations: 23.73 kB / 0.7647 GB, free: 1.707 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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 0.000128/0.008188, allocations: 92.34 kB / 0.7648 GB, free: 1.609 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 5.562e-05/0.008244, allocations: 16.8 kB / 0.7648 GB, free: 1.59 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.008247, allocations: 0 / 0.7648 GB, free: 1.59 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.415e-05/0.008261, allocations: 12.84 kB / 0.7648 GB, free: 1.574 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001148/0.008376, allocations: 11.88 kB / 0.7648 GB, free: 1.562 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003908/0.008766, allocations: 135.6 kB / 0.7649 GB, free: 1.406 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.629e-05/0.008803, allocations: 59.34 kB / 0.765 GB, free: 1.328 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 1.968e-05/0.008822, allocations: 7.922 kB / 0.765 GB, free: 1.32 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.553e-05/0.008858, allocations: 55.38 kB / 0.765 GB, free: 1.266 MB / 0.7136 GB Notification: Performance of SimCode: time 9.32e-07/0.008859, allocations: 0 / 0.765 GB, free: 1.266 MB / 0.7136 GB Notification: Performance of Templates: time 0.002181/0.01104, allocations: 0.5708 MB / 0.7656 GB, free: 0.7266 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Examples.Splice.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Examples.Splice.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Examples.Splice.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Examples.Splice.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Examples.Splice.sim & ./Buildings_12_Buildings.Utilities.Math.Examples.Splice -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Examples.Splice.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.Splice_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Examples_Splice.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.108927004039288]