Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.Examples.Splice.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001828/0.001828, allocations: 113.8 kB / 17.61 MB, free: 4.703 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002232/0.002232, allocations: 186 kB / 20.78 MB, free: 1.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.465/1.465, allocations: 225.6 MB / 249.4 MB, free: 3.117 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.789/2.789, allocations: 476.7 MB / 0.7629 GB, free: 15.1 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_11_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_11_Buildings.Utilities.Math.Examples.Splice") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001979/0.001979, allocations: 71.88 kB / 1.107 GB, free: 4.523 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.007/1.009, allocations: 168.7 MB / 1.272 GB, free: 7.891 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Splice): time 0.002818/1.012, allocations: 1.518 MB / 1.273 GB, free: 6.848 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001113/1.013, allocations: 0.6547 MB / 1.274 GB, free: 6.398 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.331e-05/1.013, allocations: 0.8125 kB / 1.274 GB, free: 6.398 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.383e-05/1.013, allocations: 11.03 kB / 1.274 GB, free: 6.391 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 5.031e-05/1.013, allocations: 4.938 kB / 1.274 GB, free: 6.387 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003555/1.013, allocations: 80.91 kB / 1.274 GB, free: 6.348 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 7.863e-05/1.013, allocations: 35.61 kB / 1.274 GB, free: 6.332 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001093/1.014, allocations: 17.05 kB / 1.274 GB, free: 6.324 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.475e-05/1.014, allocations: 19.25 kB / 1.274 GB, free: 6.312 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.165e-05/1.014, allocations: 27.3 kB / 1.274 GB, free: 6.297 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.384e-05/1.014, allocations: 3.156 kB / 1.274 GB, free: 6.297 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000197/1.014, allocations: 96.84 kB / 1.274 GB, free: 6.273 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.473e-05/1.014, allocations: 6.312 kB / 1.274 GB, free: 6.27 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.844e-05/1.014, allocations: 24.95 kB / 1.274 GB, free: 6.25 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001794/1.014, allocations: 77.03 kB / 1.274 GB, free: 6.23 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/1.014, allocations: 3.938 kB / 1.274 GB, free: 6.227 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.552e-06/1.014, allocations: 1.219 kB / 1.274 GB, free: 6.227 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.452e-06/1.014, allocations: 3.141 kB / 1.274 GB, free: 6.227 MB / 0.9981 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.0004132/1.015, allocations: 364.9 kB / 1.275 GB, free: 5.848 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.983e-05/1.015, allocations: 9.344 kB / 1.275 GB, free: 5.848 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.118e-05/1.015, allocations: 15.42 kB / 1.275 GB, free: 5.836 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.596e-05/1.015, allocations: 168.9 kB / 1.275 GB, free: 5.637 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.158e-06/1.015, allocations: 2.438 kB / 1.275 GB, free: 5.637 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.63e-05/1.015, allocations: 6.344 kB / 1.275 GB, free: 5.633 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001417/1.015, allocations: 53.42 kB / 1.275 GB, free: 5.594 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.168e-05/1.015, allocations: 0.9375 kB / 1.275 GB, free: 5.594 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.668e-06/1.015, allocations: 4 kB / 1.275 GB, free: 5.59 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.89e-06/1.015, allocations: 0.8438 kB / 1.275 GB, free: 5.59 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.94e-05/1.015, allocations: 28.45 kB / 1.275 GB, free: 5.582 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003288/1.015, allocations: 288 kB / 1.275 GB, free: 5.285 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 8.458e-05/1.015, allocations: 32.14 kB / 1.275 GB, free: 5.258 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.396e-05/1.015, allocations: 14.86 kB / 1.275 GB, free: 5.246 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003589/1.016, allocations: 0.5602 MB / 1.276 GB, free: 4.586 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.416e-05/1.016, allocations: 35.72 kB / 1.276 GB, free: 4.543 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/1.016, allocations: 0 / 1.276 GB, free: 4.543 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2): time 0.0002426/1.016, allocations: 62.47 kB / 1.276 GB, free: 4.504 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.881e-05/1.016, allocations: 51.97 kB / 1.276 GB, free: 4.441 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.46e-05/1.016, allocations: 124.7 kB / 1.276 GB, free: 4.332 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 7.905e-06/1.016, allocations: 26.48 kB / 1.276 GB, free: 4.301 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 2.893e-05/1.016, allocations: 91.14 kB / 1.276 GB, free: 4.211 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.449e-05/1.016, allocations: 5.469 kB / 1.276 GB, free: 4.207 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.995e-05/1.016, allocations: 22.41 kB / 1.276 GB, free: 4.184 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.567e-05/1.016, allocations: 318.2 kB / 1.277 GB, free: 3.867 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.313e-05/1.016, allocations: 16.59 kB / 1.277 GB, free: 3.859 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.197e-05/1.016, allocations: 9.438 kB / 1.277 GB, free: 3.855 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.13e-05/1.016, allocations: 33.77 kB / 1.277 GB, free: 3.836 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/1.016, allocations: 0.9062 kB / 1.277 GB, free: 3.836 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001061/1.017, allocations: 55.84 kB / 1.277 GB, free: 3.797 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.637e-05/1.017, allocations: 5.406 kB / 1.277 GB, free: 3.797 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/1.017, allocations: 0 / 1.277 GB, free: 3.797 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.697e-05/1.017, allocations: 4.906 kB / 1.277 GB, free: 3.793 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.739e-05/1.017, allocations: 6.781 kB / 1.277 GB, free: 3.793 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.949e-06/1.017, allocations: 0 / 1.277 GB, free: 3.793 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.346e-05/1.017, allocations: 7.781 kB / 1.277 GB, free: 3.789 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.595e-06/1.017, allocations: 4.781 kB / 1.277 GB, free: 3.785 MB / 0.9981 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 4.831e-05/1.017, allocations: 116.8 kB / 1.277 GB, free: 3.664 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.556e-05/1.017, allocations: 6.484 kB / 1.277 GB, free: 3.66 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001553/1.017, allocations: 62.34 kB / 1.277 GB, free: 3.613 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/1.017, allocations: 0 / 1.277 GB, free: 3.613 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/1.017, allocations: 0.6875 kB / 1.277 GB, free: 3.613 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.788e-06/1.017, allocations: 0.625 kB / 1.277 GB, free: 3.613 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001278/1.017, allocations: 169.8 kB / 1.277 GB, free: 3.414 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/1.017, allocations: 4.719 kB / 1.277 GB, free: 3.41 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.168e-05/1.017, allocations: 6.234 kB / 1.277 GB, free: 3.41 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.422e-06/1.017, allocations: 0 / 1.277 GB, free: 3.41 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.414e-06/1.017, allocations: 0.7188 kB / 1.277 GB, free: 3.41 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/1.017, allocations: 1.266 kB / 1.277 GB, free: 3.41 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/1.017, allocations: 0.6562 kB / 1.277 GB, free: 3.41 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001368/1.017, allocations: 163.8 kB / 1.277 GB, free: 3.258 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.169e-05/1.017, allocations: 82.17 kB / 1.277 GB, free: 3.164 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.313e-05/1.017, allocations: 0 / 1.277 GB, free: 3.164 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.073e-05/1.017, allocations: 1.938 kB / 1.277 GB, free: 3.164 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.077e-05/1.017, allocations: 1.281 kB / 1.277 GB, free: 3.164 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.911e-06/1.017, allocations: 1.875 kB / 1.277 GB, free: 3.164 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 4.305e-05/1.017, allocations: 94.42 kB / 1.278 GB, free: 3.086 MB / 0.9981 GB Notification: Performance of sort global known variables: time 6e-08/1.017, allocations: 0 / 1.278 GB, free: 3.086 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002301/1.018, allocations: 21.22 kB / 1.278 GB, free: 3.074 MB / 0.9981 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.0001546/1.018, allocations: 106.3 kB / 1.278 GB, free: 2.984 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001513/1.018, allocations: 22.78 kB / 1.278 GB, free: 2.98 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/1.018, allocations: 4.75 kB / 1.278 GB, free: 2.977 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 4.287e-05/1.018, allocations: 9.375 kB / 1.278 GB, free: 2.977 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002137/1.018, allocations: 5.5 kB / 1.278 GB, free: 2.973 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003047/1.019, allocations: 144.9 kB / 1.278 GB, free: 2.852 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001058/1.019, allocations: 0.6859 MB / 1.278 GB, free: 2.152 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 2.669e-05/1.019, allocations: 6.984 kB / 1.278 GB, free: 2.148 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.913e-05/1.019, allocations: 12.88 kB / 1.278 GB, free: 2.137 MB / 0.9981 GB Notification: Performance of SimCode: time 4.2e-07/1.019, allocations: 0 / 1.278 GB, free: 2.137 MB / 0.9981 GB Notification: Performance of Templates: time 0.003016/1.022, allocations: 0.5036 MB / 1.279 GB, free: 2.055 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Utilities.Math.Examples.Splice.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Math.Examples.Splice.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.Splice.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.Splice.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.Splice.sim & ./Buildings_11_Buildings.Utilities.Math.Examples.Splice -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Examples.Splice.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.Splice_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_Splice.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Examples.Splice.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.041707439348102]