Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001361/0.001361, allocations: 104.2 kB / 16.45 MB, free: 6.449 MB / 14.72 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.00139/0.00139, allocations: 210.4 kB / 19.43 MB, free: 3.637 MB / 14.72 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.491/1.491, allocations: 230.6 MB / 252.8 MB, free: 9.145 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.264/3.264, allocations: 0.49 GB / 0.7915 GB, free: 33.34 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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.Functions.Examples.SpliceFunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y",fileNamePrefix="Buildings_12_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_12_Buildings.Utilities.Math.Functions.Examples.SpliceFunction") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00211/0.00211, allocations: 71.78 kB / 1.149 GB, free: 26.09 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3397/0.3418, allocations: 176.1 MB / 1.321 GB, free: 2.781 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunction): time 0.001994/0.3438, allocations: 0.5864 MB / 1.322 GB, free: 2.195 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001891/0.3457, allocations: 1.334 MB / 1.323 GB, free: 0.8438 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.006e-05/0.3457, allocations: 0 / 1.323 GB, free: 0.8438 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 1.323e-05/0.3458, allocations: 0 / 1.323 GB, free: 0.8438 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 6.593e-06/0.3458, allocations: 0 / 1.323 GB, free: 0.8438 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004712/0.3462, allocations: 83.66 kB / 1.323 GB, free: 0.7617 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 5.59e-05/0.3463, allocations: 0 / 1.323 GB, free: 0.7617 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 4.339e-05/0.3463, allocations: 4 kB / 1.323 GB, free: 0.7578 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 1.474e-05/0.3463, allocations: 4 kB / 1.323 GB, free: 0.7539 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 5.474e-05/0.3464, allocations: 0 / 1.323 GB, free: 0.7539 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 9.668e-06/0.3464, allocations: 0 / 1.323 GB, free: 0.7539 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000337/0.3467, allocations: 111.9 kB / 1.323 GB, free: 0.6445 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.092e-05/0.3468, allocations: 0 / 1.323 GB, free: 0.6445 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 2.578e-05/0.3468, allocations: 3.938 kB / 1.323 GB, free: 0.6406 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001737/0.347, allocations: 63.86 kB / 1.323 GB, free: 0.5781 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.347, allocations: 0 / 1.323 GB, free: 0.5781 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.823e-06/0.347, allocations: 3.938 kB / 1.323 GB, free: 0.5742 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.286e-05/0.347, allocations: 0 / 1.323 GB, free: 0.5742 MB / 1.014 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.0004581/0.3474, allocations: 335.3 kB / 1.324 GB, free: 204 kB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.495e-05/0.3475, allocations: 11.98 kB / 1.324 GB, free: 192 kB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.08e-05/0.3475, allocations: 4.938 kB / 1.324 GB, free: 188 kB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001536/0.3477, allocations: 164.4 kB / 1.324 GB, free: 15.98 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.395e-05/0.3477, allocations: 384 / 1.324 GB, free: 15.98 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.491e-05/0.3477, allocations: 4.312 kB / 1.324 GB, free: 15.98 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001106/0.3478, allocations: 30.02 kB / 1.324 GB, free: 15.95 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.577e-06/0.3478, allocations: 0 / 1.324 GB, free: 15.95 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.195e-05/0.3478, allocations: 8 kB / 1.324 GB, free: 15.94 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.717e-06/0.3478, allocations: 0 / 1.324 GB, free: 15.94 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.146e-05/0.3478, allocations: 4 kB / 1.324 GB, free: 15.93 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001594/0.348, allocations: 145.7 kB / 1.324 GB, free: 15.74 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 5.235e-05/0.3481, allocations: 18.61 kB / 1.324 GB, free: 15.71 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.789e-05/0.3481, allocations: 8.797 kB / 1.324 GB, free: 15.7 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006574/0.3487, allocations: 0.5662 MB / 1.325 GB, free: 15.01 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.602e-05/0.3488, allocations: 38.5 kB / 1.325 GB, free: 14.96 MB / 1.029 GB Notification: Performance of pre-optimization done (n=1): time 1.042e-06/0.3488, allocations: 0 / 1.325 GB, free: 14.96 MB / 1.029 GB Notification: Performance of matching and sorting (n=1): time 0.0001479/0.3489, allocations: 33.7 kB / 1.325 GB, free: 14.92 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.15e-05/0.349, allocations: 51.41 kB / 1.325 GB, free: 14.86 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.942e-05/0.349, allocations: 89.86 kB / 1.325 GB, free: 14.76 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.617e-05/0.349, allocations: 25.7 kB / 1.325 GB, free: 14.73 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 3.611e-05/0.3491, allocations: 80.14 kB / 1.325 GB, free: 14.65 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.824e-05/0.3491, allocations: 12.08 kB / 1.325 GB, free: 14.64 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.04e-05/0.3491, allocations: 9.719 kB / 1.325 GB, free: 14.62 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001333/0.3493, allocations: 314.8 kB / 1.325 GB, free: 14.3 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.254e-05/0.3493, allocations: 3.938 kB / 1.325 GB, free: 14.3 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.132e-06/0.3493, allocations: 4 kB / 1.325 GB, free: 14.3 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.756e-05/0.3493, allocations: 12.86 kB / 1.325 GB, free: 14.28 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.3493, allocations: 0 / 1.325 GB, free: 14.28 MB / 1.029 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.872e-05/0.3494, allocations: 33.77 kB / 1.325 GB, free: 14.24 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.645e-05/0.3494, allocations: 11.88 kB / 1.325 GB, free: 14.23 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/0.3494, allocations: 0 / 1.325 GB, free: 14.23 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.812e-05/0.3494, allocations: 4 kB / 1.325 GB, free: 14.23 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.363e-05/0.3495, allocations: 0 / 1.325 GB, free: 14.23 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.315e-06/0.3495, allocations: 3.984 kB / 1.325 GB, free: 14.22 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.062e-05/0.3495, allocations: 0 / 1.325 GB, free: 14.22 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.909e-06/0.3495, allocations: 0 / 1.325 GB, free: 14.22 MB / 1.029 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 0.0001676/0.3497, allocations: 117.7 kB / 1.325 GB, free: 14.1 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.536e-06/0.3497, allocations: 7.969 kB / 1.326 GB, free: 14.09 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.52e-05/0.3498, allocations: 36.83 kB / 1.326 GB, free: 14.05 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.018e-06/0.3498, allocations: 3.984 kB / 1.326 GB, free: 14.04 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.3498, allocations: 0 / 1.326 GB, free: 14.04 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/0.3498, allocations: 7.984 kB / 1.326 GB, free: 14.04 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001178/0.3499, allocations: 145.7 kB / 1.326 GB, free: 13.84 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.3499, allocations: 0 / 1.326 GB, free: 13.84 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.488e-05/0.3499, allocations: 0 / 1.326 GB, free: 13.84 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.845e-06/0.3499, allocations: 7.938 kB / 1.326 GB, free: 13.84 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.881e-06/0.3499, allocations: 4.031 kB / 1.326 GB, free: 13.83 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.3499, allocations: 0 / 1.326 GB, free: 13.83 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.3499, allocations: 0 / 1.326 GB, free: 13.83 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.696e-05/0.35, allocations: 61.06 kB / 1.326 GB, free: 13.75 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 4.292e-05/0.35, allocations: 81.11 kB / 1.326 GB, free: 13.66 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.191e-05/0.3501, allocations: 3.938 kB / 1.326 GB, free: 13.65 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.297e-06/0.3501, allocations: 0 / 1.326 GB, free: 13.65 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.614e-05/0.3501, allocations: 4.031 kB / 1.326 GB, free: 13.65 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.474e-06/0.3501, allocations: 0 / 1.326 GB, free: 13.65 MB / 1.029 GB Notification: Performance of sorting global known variables: time 3.456e-05/0.3501, allocations: 79.27 kB / 1.326 GB, free: 13.57 MB / 1.029 GB Notification: Performance of sort global known variables: time 6e-08/0.3501, allocations: 0 / 1.326 GB, free: 13.57 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002089/0.3503, allocations: 11.94 kB / 1.326 GB, free: 13.56 MB / 1.029 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.0002001/0.3505, allocations: 111.2 kB / 1.326 GB, free: 13.44 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 8.037e-05/0.3506, allocations: 7.984 kB / 1.326 GB, free: 13.43 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.3506, allocations: 64 / 1.326 GB, free: 13.43 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.163e-05/0.3506, allocations: 11.94 kB / 1.326 GB, free: 13.42 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001254/0.3507, allocations: 5.812 kB / 1.326 GB, free: 13.41 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002251/0.351, allocations: 80.84 kB / 1.326 GB, free: 13.31 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002992/0.3513, allocations: 0.6729 MB / 1.327 GB, free: 12.61 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 2.276e-05/0.3513, allocations: 3.984 kB / 1.327 GB, free: 12.61 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.506e-05/0.3513, allocations: 7.438 kB / 1.327 GB, free: 12.6 MB / 1.029 GB Notification: Performance of SimCode: time 5.61e-07/0.3513, allocations: 4.062 kB / 1.327 GB, free: 12.59 MB / 1.029 GB Notification: Performance of Templates: time 0.002786/0.3541, allocations: 392.5 kB / 1.327 GB, free: 12.21 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.sim & ./Buildings_12_Buildings.Utilities.Math.Functions.Examples.SpliceFunction -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Functions.Examples.SpliceFunction_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Functions_Examples_SpliceFunction.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.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: 8.80305642588064]