Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.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.0009075/0.0009075, allocations: 80.75 kB / 19.94 MB, free: 4.547 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.0009994/0.0009994, allocations: 181 kB / 23.36 MB, free: 1.129 MB / 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.013/1.013, allocations: 177.1 MB / 203.8 MB, free: 5.449 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.282/2.282, allocations: 438.8 MB / 0.6826 GB, free: 13.62 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.Functions.Examples.SpliceFunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SpliceFunction") translateModel(Buildings.Utilities.Math.Functions.Examples.SpliceFunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SpliceFunction") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.555e-06/2.555e-06, allocations: 0 / 0.8386 GB, free: 14.17 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.554e-05/2.809e-05, allocations: 2.312 kB / 0.8386 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunction): time 0.001786/0.001814, allocations: 0.6078 MB / 0.8392 GB, free: 13.56 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.001881/0.003695, allocations: 1.322 MB / 0.8405 GB, free: 12.22 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.137e-05/0.003717, allocations: 0 / 0.8405 GB, free: 12.22 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 1.836e-05/0.003735, allocations: 3.938 kB / 0.8405 GB, free: 12.22 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 8.566e-06/0.003744, allocations: 0 / 0.8405 GB, free: 12.22 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004828/0.004226, allocations: 75.67 kB / 0.8406 GB, free: 12.14 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 5.433e-05/0.004281, allocations: 3.984 kB / 0.8406 GB, free: 12.14 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 4.975e-05/0.00433, allocations: 4 kB / 0.8406 GB, free: 12.14 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 3.23e-05/0.004363, allocations: 4 kB / 0.8406 GB, free: 12.13 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 5.545e-05/0.004418, allocations: 0 / 0.8406 GB, free: 12.13 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.007e-05/0.004428, allocations: 3.938 kB / 0.8406 GB, free: 12.13 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002591/0.004687, allocations: 103.9 kB / 0.8407 GB, free: 12.03 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 1.155e-05/0.004699, allocations: 4 kB / 0.8407 GB, free: 12.02 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 1.227e-05/0.004711, allocations: 0 / 0.8407 GB, free: 12.02 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0001541/0.004865, allocations: 71.78 kB / 0.8408 GB, free: 11.95 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.004869, allocations: 0 / 0.8408 GB, free: 11.95 MB / 0.8073 GB Notification: Performance of FrontEnd: time 8.71e-07/0.00487, allocations: 0 / 0.8408 GB, free: 11.95 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 4.589e-06/0.004875, allocations: 0 / 0.8408 GB, free: 11.95 MB / 0.8073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003333/0.005208, allocations: 236.6 kB / 0.841 GB, free: 11.7 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.83e-05/0.005256, allocations: 12.62 kB / 0.841 GB, free: 11.69 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.792e-05/0.005284, allocations: 0.9375 kB / 0.841 GB, free: 11.69 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.72e-05/0.005361, allocations: 105.7 kB / 0.8411 GB, free: 11.56 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.47e-05/0.005376, allocations: 384 / 0.8411 GB, free: 11.56 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.018e-05/0.005386, allocations: 4.375 kB / 0.8411 GB, free: 11.55 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.871e-05/0.005485, allocations: 26.27 kB / 0.8411 GB, free: 11.52 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.093e-05/0.005496, allocations: 192 / 0.8411 GB, free: 11.52 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.876e-06/0.005505, allocations: 384 / 0.8411 GB, free: 11.52 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.746e-06/0.005513, allocations: 3.938 kB / 0.8412 GB, free: 11.52 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.365e-05/0.005527, allocations: 8 kB / 0.8412 GB, free: 11.51 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001017/0.005629, allocations: 61.38 kB / 0.8412 GB, free: 11.44 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 5.347e-05/0.005682, allocations: 22.55 kB / 0.8412 GB, free: 11.41 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.469e-05/0.005697, allocations: 8.797 kB / 0.8412 GB, free: 11.39 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002924/0.005989, allocations: 44.03 kB / 0.8413 GB, free: 11.35 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.807e-05/0.006017, allocations: 30.56 kB / 0.8413 GB, free: 11.31 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=1): time 1.864e-06/0.006019, allocations: 0 / 0.8413 GB, free: 11.31 MB / 0.8073 GB Notification: Performance of matching and sorting (n=1): time 0.0001264/0.006146, allocations: 37.7 kB / 0.8414 GB, free: 11.27 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.959e-05/0.006185, allocations: 59.39 kB / 0.8414 GB, free: 11.2 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.642e-05/0.006222, allocations: 93.84 kB / 0.8415 GB, free: 11.1 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.617e-05/0.006238, allocations: 25.7 kB / 0.8415 GB, free: 11.07 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.731e-05/0.006265, allocations: 84.08 kB / 0.8416 GB, free: 10.98 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 4.36e-05/0.006309, allocations: 3.953 kB / 0.8416 GB, free: 10.98 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.612e-05/0.006335, allocations: 13.72 kB / 0.8416 GB, free: 10.96 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001019/0.006437, allocations: 314.8 kB / 0.8419 GB, free: 10.64 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.865e-06/0.006445, allocations: 0 / 0.8419 GB, free: 10.64 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.073e-06/0.006452, allocations: 128 / 0.8419 GB, free: 10.64 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.537e-05/0.006477, allocations: 12.92 kB / 0.8419 GB, free: 10.62 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.006479, allocations: 0 / 0.8419 GB, free: 10.62 MB / 0.8073 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.526e-05/0.006514, allocations: 33.69 kB / 0.842 GB, free: 10.59 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.118e-05/0.006525, allocations: 8 kB / 0.842 GB, free: 10.58 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.677e-06/0.006529, allocations: 0 / 0.842 GB, free: 10.58 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.223e-05/0.006541, allocations: 0 / 0.842 GB, free: 10.58 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.287e-05/0.006584, allocations: 3.938 kB / 0.842 GB, free: 10.57 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.798e-06/0.006588, allocations: 3.984 kB / 0.842 GB, free: 10.57 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.074e-06/0.006595, allocations: 0 / 0.842 GB, free: 10.57 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.265e-06/0.006603, allocations: 7.938 kB / 0.842 GB, free: 10.56 MB / 0.8073 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 (1): * Single equations (assignments): 1 * 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 4.837e-05/0.006651, allocations: 109.9 kB / 0.8421 GB, free: 10.45 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.767e-06/0.006655, allocations: 0 / 0.8421 GB, free: 10.45 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.249e-05/0.006718, allocations: 40.69 kB / 0.8421 GB, free: 10.39 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.006719, allocations: 0 / 0.8421 GB, free: 10.39 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.553e-06/0.006721, allocations: 0 / 0.8421 GB, free: 10.39 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.274e-06/0.006723, allocations: 0 / 0.8421 GB, free: 10.39 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.248e-05/0.006775, allocations: 65.84 kB / 0.8422 GB, free: 10.31 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.006776, allocations: 0 / 0.8422 GB, free: 10.31 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.384e-06/0.006784, allocations: 8.016 kB / 0.8422 GB, free: 10.3 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.006786, allocations: 4 kB / 0.8422 GB, free: 10.3 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.906e-06/0.006789, allocations: 0 / 0.8422 GB, free: 10.3 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.41e-07/0.006789, allocations: 0 / 0.8422 GB, free: 10.3 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.00679, allocations: 3.938 kB / 0.8422 GB, free: 10.3 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.366e-05/0.006834, allocations: 57.02 kB / 0.8423 GB, free: 10.22 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 6.142e-06/0.00684, allocations: 11.97 kB / 0.8423 GB, free: 10.21 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.953e-06/0.006847, allocations: 3.984 kB / 0.8423 GB, free: 10.21 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.507e-06/0.00685, allocations: 0 / 0.8423 GB, free: 10.21 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.728e-06/0.00686, allocations: 0 / 0.8423 GB, free: 10.21 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.244e-06/0.006862, allocations: 8.031 kB / 0.8423 GB, free: 10.2 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 6.693e-06/0.006869, allocations: 4.859 kB / 0.8423 GB, free: 10.19 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.006869, allocations: 0 / 0.8423 GB, free: 10.19 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001052/0.006974, allocations: 11.94 kB / 0.8423 GB, free: 10.18 MB / 0.8073 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 (1): * Single equations (assignments): 1 * 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.0001164/0.007091, allocations: 92.41 kB / 0.8424 GB, free: 10.08 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 4.759e-05/0.007138, allocations: 12.8 kB / 0.8424 GB, free: 10.07 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.00714, allocations: 0 / 0.8424 GB, free: 10.07 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 5.761e-06/0.007146, allocations: 8.859 kB / 0.8424 GB, free: 10.05 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 4.999e-05/0.007196, allocations: 10.3 kB / 0.8424 GB, free: 10.05 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001573/0.007353, allocations: 78.42 kB / 0.8425 GB, free: 9.941 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.638e-05/0.007379, allocations: 51.36 kB / 0.8425 GB, free: 9.871 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 1.46e-05/0.007394, allocations: 0 / 0.8425 GB, free: 9.871 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.617e-05/0.00742, allocations: 51.38 kB / 0.8426 GB, free: 9.82 MB / 0.8073 GB Notification: Performance of SimCode: time 5.91e-07/0.007421, allocations: 0 / 0.8426 GB, free: 9.82 MB / 0.8073 GB Notification: Performance of Templates: time 0.001867/0.009287, allocations: 472.4 kB / 0.843 GB, free: 9.359 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SpliceFunction -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SpliceFunction_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_SpliceFunction.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.031127866823226]