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.001422/0.001422, 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.001217/0.001217, allocations: 181 kB / 23.36 MB, free: 1.133 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.121/1.121, allocations: 177.1 MB / 203.8 MB, free: 5.473 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.464/2.464, allocations: 438.8 MB / 0.6827 GB, free: 13.61 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 1.944e-06/1.944e-06, allocations: 0 / 0.8387 GB, free: 14.12 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.956e-05/3.15e-05, allocations: 6.312 kB / 0.8387 GB, free: 14.12 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunction): time 0.002202/0.002234, allocations: 0.6565 MB / 0.8393 GB, free: 13.46 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.002031/0.004265, allocations: 1.326 MB / 0.8406 GB, free: 12.12 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.94e-05/0.004284, allocations: 0 / 0.8406 GB, free: 12.12 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 1.577e-05/0.0043, allocations: 0 / 0.8406 GB, free: 12.12 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 7.394e-06/0.004307, allocations: 0 / 0.8406 GB, free: 12.12 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003945/0.004702, allocations: 63.69 kB / 0.8407 GB, free: 12.06 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 4.855e-05/0.00475, allocations: 3.984 kB / 0.8407 GB, free: 12.05 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 4.114e-05/0.004792, allocations: 0 / 0.8407 GB, free: 12.05 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 3.303e-05/0.004825, allocations: 8 kB / 0.8407 GB, free: 12.05 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 4.447e-05/0.004869, allocations: 0 / 0.8407 GB, free: 12.05 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 9.799e-06/0.004879, allocations: 0 / 0.8407 GB, free: 12.05 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003552/0.005234, allocations: 111.9 kB / 0.8408 GB, free: 11.94 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 1.256e-05/0.005247, allocations: 7.938 kB / 0.8408 GB, free: 11.93 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 1.204e-05/0.005259, allocations: 3.938 kB / 0.8408 GB, free: 11.93 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0001596/0.005418, allocations: 75.77 kB / 0.8409 GB, free: 11.85 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 2.906e-06/0.005421, allocations: 0 / 0.8409 GB, free: 11.85 MB / 0.8073 GB Notification: Performance of FrontEnd: time 9.62e-07/0.005422, allocations: 0 / 0.8409 GB, free: 11.85 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.877e-06/0.005426, allocations: 0 / 0.8409 GB, free: 11.85 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.0002502/0.005676, allocations: 232.6 kB / 0.8411 GB, free: 11.6 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.901e-05/0.005715, allocations: 12.62 kB / 0.8411 GB, free: 11.59 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.548e-05/0.005741, allocations: 0.9375 kB / 0.8411 GB, free: 11.59 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.049e-05/0.005811, allocations: 101.8 kB / 0.8412 GB, free: 11.46 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.085e-05/0.005822, allocations: 384 / 0.8412 GB, free: 11.46 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.081e-06/0.005828, allocations: 4.375 kB / 0.8412 GB, free: 11.46 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.774e-05/0.005906, allocations: 30.25 kB / 0.8412 GB, free: 11.43 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.715e-06/0.005914, allocations: 192 / 0.8412 GB, free: 11.43 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.932e-06/0.00592, allocations: 384 / 0.8412 GB, free: 11.43 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.652e-06/0.005926, allocations: 3.938 kB / 0.8412 GB, free: 11.42 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.311e-05/0.005939, allocations: 7.938 kB / 0.8413 GB, free: 11.41 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.465e-05/0.006024, allocations: 57.39 kB / 0.8413 GB, free: 11.34 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 4.525e-05/0.006069, allocations: 18.61 kB / 0.8413 GB, free: 11.32 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.219e-05/0.006081, allocations: 4.859 kB / 0.8413 GB, free: 11.31 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002575/0.006339, allocations: 48.02 kB / 0.8414 GB, free: 11.26 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.75e-05/0.006366, allocations: 34.55 kB / 0.8414 GB, free: 11.22 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=1): time 1.082e-06/0.006368, allocations: 0 / 0.8414 GB, free: 11.22 MB / 0.8073 GB Notification: Performance of matching and sorting (n=1): time 9.988e-05/0.006467, allocations: 41.64 kB / 0.8414 GB, free: 11.17 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.201e-05/0.006499, allocations: 55.41 kB / 0.8415 GB, free: 11.11 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001653/0.006665, allocations: 89.86 kB / 0.8416 GB, free: 11.01 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.008e-05/0.006675, allocations: 29.64 kB / 0.8416 GB, free: 10.97 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.362e-05/0.006698, allocations: 80.14 kB / 0.8417 GB, free: 10.89 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.893e-05/0.006727, allocations: 3.953 kB / 0.8417 GB, free: 10.89 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.894e-05/0.006756, allocations: 13.72 kB / 0.8417 GB, free: 10.87 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 9.572e-05/0.006852, allocations: 318.8 kB / 0.842 GB, free: 10.55 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.715e-06/0.00686, allocations: 0 / 0.842 GB, free: 10.55 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.282e-06/0.006866, allocations: 0 / 0.842 GB, free: 10.55 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.28e-05/0.006899, allocations: 16.98 kB / 0.842 GB, free: 10.53 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.006901, allocations: 0 / 0.842 GB, free: 10.53 MB / 0.8073 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.034e-05/0.006951, allocations: 29.7 kB / 0.8421 GB, free: 10.49 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.432e-05/0.006965, allocations: 8 kB / 0.8421 GB, free: 10.48 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.00697, allocations: 0 / 0.8421 GB, free: 10.48 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.608e-05/0.006986, allocations: 7.984 kB / 0.8421 GB, free: 10.48 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.815e-05/0.007024, allocations: 0 / 0.8421 GB, free: 10.48 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.767e-06/0.007028, allocations: 3.984 kB / 0.8421 GB, free: 10.47 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.146e-05/0.007039, allocations: 0 / 0.8421 GB, free: 10.47 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.784e-06/0.007047, allocations: 7.938 kB / 0.8421 GB, free: 10.46 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 6.058e-05/0.007108, allocations: 109.9 kB / 0.8422 GB, free: 10.35 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.562e-06/0.007114, allocations: 0 / 0.8422 GB, free: 10.35 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.546e-05/0.0072, allocations: 40.64 kB / 0.8422 GB, free: 10.3 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.007203, allocations: 3.984 kB / 0.8422 GB, free: 10.29 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.933e-06/0.007205, allocations: 0 / 0.8422 GB, free: 10.29 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.007208, allocations: 0 / 0.8422 GB, free: 10.29 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.656e-05/0.007274, allocations: 65.84 kB / 0.8423 GB, free: 10.21 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.007276, allocations: 0 / 0.8423 GB, free: 10.21 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.653e-05/0.007293, allocations: 0 / 0.8423 GB, free: 10.21 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.897e-06/0.007296, allocations: 8.031 kB / 0.8423 GB, free: 10.2 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.987e-06/0.0073, allocations: 0 / 0.8423 GB, free: 10.2 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.007302, allocations: 0 / 0.8423 GB, free: 10.2 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.007303, allocations: 0 / 0.8423 GB, free: 10.2 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.645e-05/0.007369, allocations: 61.05 kB / 0.8424 GB, free: 10.12 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 6.212e-06/0.007375, allocations: 4 kB / 0.8424 GB, free: 10.12 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.235e-06/0.007384, allocations: 3.938 kB / 0.8424 GB, free: 10.12 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.035e-06/0.007392, allocations: 0 / 0.8424 GB, free: 10.12 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.079e-05/0.007402, allocations: 0 / 0.8424 GB, free: 10.12 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.836e-06/0.007405, allocations: 0 / 0.8424 GB, free: 10.12 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 8.416e-06/0.007414, allocations: 12.83 kB / 0.8424 GB, free: 10.1 MB / 0.8073 GB Notification: Performance of sort global known variables: time 1e-07/0.007414, allocations: 0 / 0.8424 GB, free: 10.1 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001884/0.007602, allocations: 15.92 kB / 0.8424 GB, free: 10.09 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.0001666/0.007769, allocations: 92.41 kB / 0.8425 GB, free: 9.988 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 5.598e-05/0.007825, allocations: 8.859 kB / 0.8425 GB, free: 9.977 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.007827, allocations: 0 / 0.8425 GB, free: 9.977 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 7.324e-06/0.007835, allocations: 8.859 kB / 0.8425 GB, free: 9.965 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 6.385e-05/0.007899, allocations: 3.938 kB / 0.8425 GB, free: 9.961 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001726/0.008071, allocations: 82.5 kB / 0.8426 GB, free: 9.852 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.417e-05/0.008105, allocations: 55.34 kB / 0.8426 GB, free: 9.777 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 2.22e-05/0.008128, allocations: 0 / 0.8426 GB, free: 9.777 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.212e-05/0.00816, allocations: 51.38 kB / 0.8427 GB, free: 9.727 MB / 0.8073 GB Notification: Performance of SimCode: time 7.11e-07/0.00816, allocations: 0 / 0.8427 GB, free: 9.727 MB / 0.8073 GB Notification: Performance of Templates: time 0.00284/0.011, allocations: 478.4 kB / 0.8431 GB, free: 9.262 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 -s gbode -gbm=radauIIA3 -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.37924260366708]