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.001845/0.001845, allocations: 79.03 kB / 19.76 MB, free: 2.031 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.002374/0.002374, allocations: 160.4 kB / 23.02 MB, free: 4.941 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.444/1.444, allocations: 177.2 MB / 203.4 MB, free: 8.953 MB / 190.1 MB " [Timeout remaining time 178] 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.863/2.863, allocations: 394.2 MB / 0.6386 GB, free: 11.9 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.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: 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.002278/0.002278, allocations: 67.88 kB / 1.009 GB, free: 14.45 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8185/0.8208, allocations: 181.8 MB / 1.187 GB, free: 16.14 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Splice): time 0.002567/0.8234, allocations: 1.522 MB / 1.188 GB, free: 15.09 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.001161/0.8246, allocations: 0.6881 MB / 1.189 GB, free: 14.64 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.725e-05/0.8246, allocations: 1.562 kB / 1.189 GB, free: 14.64 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 2.592e-05/0.8246, allocations: 4.781 kB / 1.189 GB, free: 14.64 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 5.166e-05/0.8247, allocations: 10.36 kB / 1.189 GB, free: 14.63 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003779/0.8251, allocations: 93.73 kB / 1.189 GB, free: 14.59 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 9.714e-05/0.8252, allocations: 44.34 kB / 1.189 GB, free: 14.57 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 9.077e-05/0.8253, allocations: 10.3 kB / 1.189 GB, free: 14.56 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 9.859e-05/0.8254, allocations: 23.48 kB / 1.189 GB, free: 14.55 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 4.83e-05/0.8254, allocations: 15.58 kB / 1.189 GB, free: 14.54 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 1.245e-05/0.8254, allocations: 3.281 kB / 1.189 GB, free: 14.54 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002187/0.8256, allocations: 111.3 kB / 1.189 GB, free: 14.52 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 1.365e-05/0.8256, allocations: 6.656 kB / 1.189 GB, free: 14.51 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 2.839e-05/0.8257, allocations: 17.7 kB / 1.189 GB, free: 14.5 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0002085/0.8259, allocations: 100.6 kB / 1.189 GB, free: 14.46 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.8259, allocations: 0.6875 kB / 1.189 GB, free: 14.46 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.803e-06/0.8259, allocations: 0 / 1.189 GB, free: 14.46 MB / 1.076 GB Notification: Performance of Transformations before backend: time 4.638e-06/0.8259, allocations: 7.875 kB / 1.189 GB, free: 14.46 MB / 1.076 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.000361/0.8263, allocations: 292.3 kB / 1.189 GB, free: 14.17 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.631e-05/0.8263, allocations: 9.375 kB / 1.189 GB, free: 14.17 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001508/0.8264, allocations: 15.66 kB / 1.189 GB, free: 14.17 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001534/0.8266, allocations: 120.3 kB / 1.19 GB, free: 14.04 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.155e-05/0.8266, allocations: 2.469 kB / 1.19 GB, free: 14.04 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.378e-06/0.8266, allocations: 6.25 kB / 1.19 GB, free: 14.03 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001371/0.8268, allocations: 53.5 kB / 1.19 GB, free: 13.99 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.879e-06/0.8268, allocations: 1.031 kB / 1.19 GB, free: 13.99 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.297e-06/0.8268, allocations: 4 kB / 1.19 GB, free: 13.99 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.8268, allocations: 5.781 kB / 1.19 GB, free: 13.98 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.468e-05/0.8269, allocations: 31.44 kB / 1.19 GB, free: 13.97 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002443/0.8271, allocations: 219.6 kB / 1.19 GB, free: 13.75 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 8.109e-05/0.8272, allocations: 29.61 kB / 1.19 GB, free: 13.73 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.499e-05/0.8272, allocations: 17.5 kB / 1.19 GB, free: 13.71 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002315/0.8275, allocations: 40.88 kB / 1.19 GB, free: 13.71 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.803e-05/0.8275, allocations: 36.23 kB / 1.19 GB, free: 13.66 MB / 1.076 GB Notification: Performance of pre-optimization done (n=2): time 1.132e-06/0.8275, allocations: 0 / 1.19 GB, free: 13.66 MB / 1.076 GB Notification: Performance of matching and sorting (n=2): time 0.0002264/0.8277, allocations: 58.62 kB / 1.19 GB, free: 13.63 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.203e-05/0.8277, allocations: 52.95 kB / 1.19 GB, free: 13.57 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.97e-05/0.8278, allocations: 117.8 kB / 1.19 GB, free: 13.46 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 6.632e-06/0.8278, allocations: 25.7 kB / 1.19 GB, free: 13.43 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 2.644e-05/0.8278, allocations: 92.67 kB / 1.19 GB, free: 13.34 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 1.392e-05/0.8278, allocations: 5.141 kB / 1.19 GB, free: 13.33 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.738e-05/0.8279, allocations: 14.53 kB / 1.19 GB, free: 13.32 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 4.164e-05/0.8279, allocations: 325.3 kB / 1.191 GB, free: 12.99 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.14e-05/0.828, allocations: 11.91 kB / 1.191 GB, free: 12.99 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.538e-05/0.828, allocations: 11.53 kB / 1.191 GB, free: 12.98 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.612e-05/0.8281, allocations: 25.89 kB / 1.191 GB, free: 12.97 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.8281, allocations: 0 / 1.191 GB, free: 12.97 MB / 1.076 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001105/0.8282, allocations: 57 kB / 1.191 GB, free: 12.93 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.124e-05/0.8282, allocations: 5.344 kB / 1.191 GB, free: 12.93 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.297e-06/0.8282, allocations: 4.094 kB / 1.191 GB, free: 12.93 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.206e-05/0.8282, allocations: 0 / 1.191 GB, free: 12.93 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.594e-05/0.8283, allocations: 6.719 kB / 1.191 GB, free: 12.93 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.779e-06/0.8283, allocations: 0.6562 kB / 1.191 GB, free: 12.93 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.184e-05/0.8283, allocations: 7.312 kB / 1.191 GB, free: 12.93 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.181e-06/0.8283, allocations: 0.6562 kB / 1.191 GB, free: 12.93 MB / 1.076 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.465e-05/0.8284, allocations: 116.9 kB / 1.191 GB, free: 12.8 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.522e-05/0.8284, allocations: 6.672 kB / 1.191 GB, free: 12.8 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001495/0.8285, allocations: 65.94 kB / 1.191 GB, free: 12.75 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.8285, allocations: 0 / 1.191 GB, free: 12.75 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.895e-06/0.8285, allocations: 1.156 kB / 1.191 GB, free: 12.75 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.8285, allocations: 0.7031 kB / 1.191 GB, free: 12.75 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.77e-05/0.8286, allocations: 117.2 kB / 1.191 GB, free: 12.62 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.21e-07/0.8286, allocations: 0 / 1.191 GB, free: 12.62 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.157e-05/0.8287, allocations: 7.141 kB / 1.191 GB, free: 12.62 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.8287, allocations: 3.984 kB / 1.191 GB, free: 12.61 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.58e-06/0.8287, allocations: 1.312 kB / 1.191 GB, free: 12.61 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.8287, allocations: 0.7031 kB / 1.191 GB, free: 12.61 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.8287, allocations: 1.156 kB / 1.191 GB, free: 12.61 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001275/0.8288, allocations: 160.3 kB / 1.191 GB, free: 12.46 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 9.006e-06/0.8288, allocations: 5.906 kB / 1.191 GB, free: 12.46 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.246e-05/0.8288, allocations: 1.125 kB / 1.191 GB, free: 12.46 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.163e-05/0.8289, allocations: 2.828 kB / 1.191 GB, free: 12.46 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.447e-05/0.8289, allocations: 2.328 kB / 1.191 GB, free: 12.46 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.947e-06/0.8289, allocations: 1.656 kB / 1.191 GB, free: 12.46 MB / 1.076 GB Notification: Performance of sorting global known variables: time 2.975e-05/0.829, allocations: 94.16 kB / 1.191 GB, free: 12.38 MB / 1.076 GB Notification: Performance of sort global known variables: time 7e-08/0.829, allocations: 0 / 1.191 GB, free: 12.38 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002403/0.8292, allocations: 15.64 kB / 1.191 GB, free: 12.38 MB / 1.076 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.0001273/0.8293, allocations: 111.2 kB / 1.192 GB, free: 12.28 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0001557/0.8295, allocations: 31.28 kB / 1.192 GB, free: 12.27 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.8295, allocations: 0 / 1.192 GB, free: 12.27 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 4.41e-05/0.8295, allocations: 13.33 kB / 1.192 GB, free: 12.27 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002103/0.8297, allocations: 5.812 kB / 1.192 GB, free: 12.26 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002603/0.83, allocations: 141.9 kB / 1.192 GB, free: 12.13 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.445e-05/0.83, allocations: 74.47 kB / 1.192 GB, free: 12.05 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 2.116e-05/0.8301, allocations: 5.844 kB / 1.192 GB, free: 12.05 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.908e-05/0.8301, allocations: 11.77 kB / 1.192 GB, free: 12.04 MB / 1.076 GB Notification: Performance of SimCode: time 2.81e-07/0.8301, allocations: 0 / 1.192 GB, free: 12.04 MB / 1.076 GB Notification: Performance of Templates: time 0.00281/0.8329, allocations: 0.5244 MB / 1.192 GB, free: 11.95 MB / 1.076 GB " [Timeout remaining time 299] 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=800 -s ida -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.Splice.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.Splice_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_Splice.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 8.5790657219477]