Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001021/0.001021, 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.001584/0.001584, 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.107/1.107, allocations: 177.1 MB / 203.8 MB, free: 5.48 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.557/2.557, allocations: 438.8 MB / 0.6827 GB, free: 13.64 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.Examples.Splice,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|splice.x|splice.y",fileNamePrefix="Buildings_latest_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_latest_Buildings.Utilities.Math.Examples.Splice") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 0.8386 GB, free: 14.22 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.352e-05/2.521e-05, allocations: 6.312 kB / 0.8386 GB, free: 14.21 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Splice): time 0.003252/0.003277, allocations: 1.596 MB / 0.8402 GB, free: 12.6 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.001363/0.00464, allocations: 0.7319 MB / 0.8409 GB, free: 11.86 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.224e-05/0.004702, allocations: 0 / 0.8409 GB, free: 11.86 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 3.299e-05/0.004735, allocations: 3.938 kB / 0.8409 GB, free: 11.86 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 6.066e-05/0.004796, allocations: 3.938 kB / 0.8409 GB, free: 11.86 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004506/0.005246, allocations: 91.52 kB / 0.841 GB, free: 11.77 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0001143/0.005361, allocations: 39.86 kB / 0.841 GB, free: 11.73 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 9.362e-05/0.005454, allocations: 11.98 kB / 0.841 GB, free: 11.71 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001352/0.005589, allocations: 27.91 kB / 0.8411 GB, free: 11.69 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 5.061e-05/0.00564, allocations: 15.98 kB / 0.8411 GB, free: 11.67 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.476e-05/0.005655, allocations: 4 kB / 0.8411 GB, free: 11.67 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002785/0.005933, allocations: 123.8 kB / 0.8412 GB, free: 11.55 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 1.447e-05/0.005948, allocations: 7.984 kB / 0.8412 GB, free: 11.54 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 2.079e-05/0.005969, allocations: 8 kB / 0.8412 GB, free: 11.53 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0002044/0.006173, allocations: 107.6 kB / 0.8413 GB, free: 11.43 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.006178, allocations: 3.984 kB / 0.8413 GB, free: 11.42 MB / 0.8073 GB Notification: Performance of FrontEnd: time 8.11e-07/0.006178, allocations: 0 / 0.8413 GB, free: 11.42 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.517e-06/0.006182, allocations: 0 / 0.8413 GB, free: 11.42 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000365/0.006547, allocations: 272.5 kB / 0.8416 GB, free: 11.13 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.905e-05/0.006586, allocations: 12.62 kB / 0.8416 GB, free: 11.12 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001358/0.006722, allocations: 16.92 kB / 0.8416 GB, free: 11.11 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001417/0.006863, allocations: 109.8 kB / 0.8417 GB, free: 10.97 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.215e-05/0.006876, allocations: 8.375 kB / 0.8417 GB, free: 10.96 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.534e-06/0.006883, allocations: 384 / 0.8417 GB, free: 10.96 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001111/0.006994, allocations: 62.88 kB / 0.8418 GB, free: 10.89 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.714e-06/0.007002, allocations: 4.188 kB / 0.8418 GB, free: 10.89 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.304e-06/0.007009, allocations: 384 / 0.8418 GB, free: 10.89 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.316e-06/0.007018, allocations: 3.938 kB / 0.8418 GB, free: 10.89 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.582e-05/0.007043, allocations: 7.984 kB / 0.8418 GB, free: 10.88 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002374/0.007281, allocations: 168.2 kB / 0.842 GB, free: 10.7 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 4.674e-05/0.007328, allocations: 26.5 kB / 0.842 GB, free: 10.66 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.75e-05/0.007345, allocations: 8.922 kB / 0.842 GB, free: 10.65 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001807/0.007526, allocations: 40.03 kB / 0.842 GB, free: 10.61 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.624e-05/0.007552, allocations: 34.5 kB / 0.8421 GB, free: 10.57 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=2): time 1.473e-06/0.007553, allocations: 0 / 0.8421 GB, free: 10.57 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2): time 0.0001276/0.007681, allocations: 41.75 kB / 0.8421 GB, free: 10.52 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.025e-05/0.007711, allocations: 55.41 kB / 0.8422 GB, free: 10.46 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.457e-05/0.007786, allocations: 114.7 kB / 0.8423 GB, free: 10.33 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.167e-05/0.007798, allocations: 25.7 kB / 0.8423 GB, free: 10.3 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 4.303e-05/0.007841, allocations: 92.08 kB / 0.8424 GB, free: 10.21 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.831e-05/0.007859, allocations: 7.938 kB / 0.8424 GB, free: 10.2 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.381e-05/0.007923, allocations: 13.72 kB / 0.8424 GB, free: 10.18 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 8.822e-05/0.008011, allocations: 314.8 kB / 0.8427 GB, free: 9.863 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.244e-05/0.008023, allocations: 4 kB / 0.8427 GB, free: 9.859 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.227e-06/0.008033, allocations: 0 / 0.8427 GB, free: 9.859 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.408e-05/0.008067, allocations: 16.91 kB / 0.8427 GB, free: 9.84 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.008069, allocations: 0 / 0.8427 GB, free: 9.84 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.815e-05/0.008137, allocations: 45.56 kB / 0.8428 GB, free: 9.789 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.262e-05/0.008149, allocations: 4 kB / 0.8428 GB, free: 9.785 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.008154, allocations: 0 / 0.8428 GB, free: 9.785 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.411e-05/0.008168, allocations: 4 kB / 0.8428 GB, free: 9.781 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.614e-05/0.008224, allocations: 4 kB / 0.8428 GB, free: 9.777 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.875e-06/0.008227, allocations: 0 / 0.8428 GB, free: 9.777 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.001e-05/0.008247, allocations: 3.938 kB / 0.8428 GB, free: 9.773 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.571e-06/0.008253, allocations: 0 / 0.8428 GB, free: 9.773 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 (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.35e-05/0.008316, allocations: 121.9 kB / 0.8429 GB, free: 9.645 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.449e-05/0.008341, allocations: 3.938 kB / 0.8429 GB, free: 9.641 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.292e-05/0.008433, allocations: 49.2 kB / 0.843 GB, free: 9.59 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.008435, allocations: 0 / 0.843 GB, free: 9.59 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.593e-06/0.008437, allocations: 0 / 0.843 GB, free: 9.59 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.00844, allocations: 0 / 0.843 GB, free: 9.59 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00013/0.00857, allocations: 73.88 kB / 0.843 GB, free: 9.5 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.008572, allocations: 0 / 0.843 GB, free: 9.5 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.865e-05/0.0086, allocations: 4 kB / 0.843 GB, free: 9.496 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/0.008604, allocations: 3.984 kB / 0.843 GB, free: 9.492 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.262e-06/0.00861, allocations: 8.031 kB / 0.843 GB, free: 9.484 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.065e-06/0.008613, allocations: 3.938 kB / 0.843 GB, free: 9.48 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.008616, allocations: 3.984 kB / 0.8431 GB, free: 9.477 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.93e-05/0.008705, allocations: 127.6 kB / 0.8432 GB, free: 9.336 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.112e-05/0.008717, allocations: 7.984 kB / 0.8432 GB, free: 9.328 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.222e-05/0.008729, allocations: 4 kB / 0.8432 GB, free: 9.324 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.62e-05/0.008785, allocations: 3.938 kB / 0.8432 GB, free: 9.32 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.296e-05/0.008808, allocations: 0 / 0.8432 GB, free: 9.32 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.859e-06/0.008813, allocations: 7.938 kB / 0.8432 GB, free: 9.312 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 2.156e-05/0.008834, allocations: 20.83 kB / 0.8432 GB, free: 9.289 MB / 0.8073 GB Notification: Performance of sort global known variables: time 1.01e-07/0.008834, allocations: 32 / 0.8432 GB, free: 9.289 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002434/0.009078, allocations: 19.94 kB / 0.8432 GB, free: 9.27 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 (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.0001422/0.00922, allocations: 92.34 kB / 0.8433 GB, free: 9.172 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 6.042e-05/0.009281, allocations: 12.86 kB / 0.8433 GB, free: 9.156 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.746e-06/0.009283, allocations: 0 / 0.8433 GB, free: 9.156 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 1.782e-05/0.009301, allocations: 12.84 kB / 0.8433 GB, free: 9.141 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000163/0.009464, allocations: 0.6562 kB / 0.8433 GB, free: 9.141 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004085/0.009873, allocations: 144.6 kB / 0.8435 GB, free: 8.973 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.403e-05/0.009907, allocations: 59.34 kB / 0.8435 GB, free: 8.895 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 1.885e-05/0.009925, allocations: 4 kB / 0.8435 GB, free: 8.891 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.123e-05/0.009957, allocations: 51.31 kB / 0.8436 GB, free: 8.84 MB / 0.8073 GB Notification: Performance of SimCode: time 6.21e-07/0.009957, allocations: 0 / 0.8436 GB, free: 8.84 MB / 0.8073 GB Notification: Performance of Templates: time 0.002048/0.01201, allocations: 0.5858 MB / 0.8442 GB, free: 8.258 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.Splice.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.Splice.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.Splice.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.Splice.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.Splice.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.Splice -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.Splice.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.Splice_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.44650620687753]