Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001383/0.001383, allocations: 104.3 kB / 19.7 MB, free: 2.156 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.001585/0.001585, allocations: 212.3 kB / 22.99 MB, free: 4.984 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.527/1.527, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.316/3.316, allocations: 0.49 GB / 0.7959 GB, free: 35.54 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.Examples.Splice,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|splice.x|splice.y",fileNamePrefix="Buildings_12_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_12_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.002073/0.002073, allocations: 67.94 kB / 1.155 GB, free: 25.28 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4139/0.416, allocations: 176.1 MB / 1.327 GB, free: 0.9922 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Splice): time 0.003237/0.4192, allocations: 1.516 MB / 1.329 GB, free: 15.47 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.00168/0.4209, allocations: 0.6856 MB / 1.329 GB, free: 14.78 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.613e-05/0.421, allocations: 4 kB / 1.329 GB, free: 14.78 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 4.769e-05/0.421, allocations: 3.938 kB / 1.329 GB, free: 14.77 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 8.815e-05/0.4211, allocations: 15.91 kB / 1.329 GB, free: 14.76 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005406/0.4216, allocations: 91.67 kB / 1.329 GB, free: 14.67 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001434/0.4218, allocations: 43.84 kB / 1.329 GB, free: 14.62 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001338/0.4219, allocations: 15.92 kB / 1.329 GB, free: 14.61 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001394/0.422, allocations: 23.86 kB / 1.329 GB, free: 14.59 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 7.278e-05/0.4221, allocations: 15.92 kB / 1.329 GB, free: 14.57 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.526e-05/0.4221, allocations: 8 kB / 1.329 GB, free: 14.56 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002717/0.4224, allocations: 115.9 kB / 1.33 GB, free: 14.45 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 2.641e-05/0.4224, allocations: 11.92 kB / 1.33 GB, free: 14.44 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 3.664e-05/0.4225, allocations: 11.94 kB / 1.33 GB, free: 14.43 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002359/0.4227, allocations: 99.69 kB / 1.33 GB, free: 14.33 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 7.103e-06/0.4227, allocations: 0 / 1.33 GB, free: 14.33 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.174e-06/0.4227, allocations: 0 / 1.33 GB, free: 14.33 MB / 1.029 GB Notification: Performance of Transformations before backend: time 8.375e-06/0.4227, allocations: 0 / 1.33 GB, free: 14.33 MB / 1.029 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.0006676/0.4234, allocations: 295.5 kB / 1.33 GB, free: 14.01 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.527e-05/0.4234, allocations: 12.03 kB / 1.33 GB, free: 14 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001902/0.4236, allocations: 20.88 kB / 1.33 GB, free: 13.98 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002735/0.4239, allocations: 118.5 kB / 1.33 GB, free: 13.84 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.986e-05/0.4239, allocations: 8.312 kB / 1.33 GB, free: 13.83 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.195e-05/0.4239, allocations: 384 / 1.33 GB, free: 13.83 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002019/0.4241, allocations: 57.98 kB / 1.33 GB, free: 13.77 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.335e-05/0.4242, allocations: 0 / 1.33 GB, free: 13.77 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.44e-05/0.4242, allocations: 4 kB / 1.33 GB, free: 13.77 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/0.4242, allocations: 0 / 1.33 GB, free: 13.77 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001013/0.4243, allocations: 27.97 kB / 1.33 GB, free: 13.74 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004472/0.4247, allocations: 228.4 kB / 1.33 GB, free: 13.48 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001091/0.4248, allocations: 30.56 kB / 1.33 GB, free: 13.45 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.547e-05/0.4249, allocations: 12.92 kB / 1.33 GB, free: 13.43 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002677/0.4252, allocations: 35.95 kB / 1.33 GB, free: 13.39 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.538e-05/0.4252, allocations: 34.56 kB / 1.331 GB, free: 13.35 MB / 1.029 GB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.4252, allocations: 0 / 1.331 GB, free: 13.35 MB / 1.029 GB Notification: Performance of matching and sorting (n=2): time 0.0002847/0.4255, allocations: 73.56 kB / 1.331 GB, free: 13.27 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.624e-05/0.4255, allocations: 51.41 kB / 1.331 GB, free: 13.21 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001035/0.4256, allocations: 113.8 kB / 1.331 GB, free: 13.09 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 5.607e-05/0.4257, allocations: 25.7 kB / 1.331 GB, free: 13.06 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.188e-05/0.4258, allocations: 92.08 kB / 1.331 GB, free: 12.96 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.225e-05/0.4258, allocations: 11.89 kB / 1.331 GB, free: 12.95 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.738e-05/0.4258, allocations: 17.7 kB / 1.331 GB, free: 12.93 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001571/0.426, allocations: 314.8 kB / 1.331 GB, free: 12.61 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.39e-05/0.426, allocations: 12 kB / 1.331 GB, free: 12.6 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.536e-05/0.4261, allocations: 12.11 kB / 1.331 GB, free: 12.59 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.904e-05/0.4261, allocations: 24.84 kB / 1.331 GB, free: 12.56 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/0.4261, allocations: 4 kB / 1.331 GB, free: 12.56 MB / 1.029 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001259/0.4263, allocations: 61.58 kB / 1.331 GB, free: 12.49 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.578e-05/0.4263, allocations: 4 kB / 1.331 GB, free: 12.49 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.4263, allocations: 0 / 1.331 GB, free: 12.49 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.781e-05/0.4263, allocations: 3.984 kB / 1.331 GB, free: 12.48 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.021e-05/0.4264, allocations: 8.078 kB / 1.331 GB, free: 12.48 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.716e-06/0.4264, allocations: 8 kB / 1.331 GB, free: 12.47 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.816e-05/0.4264, allocations: 0 / 1.331 GB, free: 12.47 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.244e-06/0.4264, allocations: 0 / 1.331 GB, free: 12.47 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 (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 0.0001016/0.4265, allocations: 114.3 kB / 1.331 GB, free: 12.35 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.322e-05/0.4265, allocations: 0 / 1.331 GB, free: 12.35 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001743/0.4267, allocations: 69.23 kB / 1.331 GB, free: 12.27 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.548e-06/0.4267, allocations: 4 kB / 1.331 GB, free: 12.26 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.4267, allocations: 0 / 1.331 GB, free: 12.26 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.063e-06/0.4267, allocations: 3.984 kB / 1.331 GB, free: 12.26 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001496/0.4269, allocations: 117.3 kB / 1.332 GB, free: 12.11 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.4269, allocations: 0 / 1.332 GB, free: 12.11 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.07e-05/0.4269, allocations: 8 kB / 1.332 GB, free: 12.11 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.754e-06/0.4269, allocations: 0 / 1.332 GB, free: 12.11 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.643e-06/0.4269, allocations: 0 / 1.332 GB, free: 12.11 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.298e-06/0.4269, allocations: 4 kB / 1.332 GB, free: 12.1 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.4269, allocations: 0 / 1.332 GB, free: 12.1 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001788/0.4271, allocations: 151.4 kB / 1.332 GB, free: 11.94 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.032e-05/0.4271, allocations: 4 kB / 1.332 GB, free: 11.93 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.317e-05/0.4271, allocations: 4.031 kB / 1.332 GB, free: 11.93 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.096e-05/0.4272, allocations: 8.312 kB / 1.332 GB, free: 11.92 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.161e-05/0.4272, allocations: 7.984 kB / 1.332 GB, free: 11.91 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.986e-06/0.4272, allocations: 0 / 1.332 GB, free: 11.91 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.347e-05/0.4273, allocations: 91.22 kB / 1.332 GB, free: 11.82 MB / 1.029 GB Notification: Performance of sort global known variables: time 6e-08/0.4273, allocations: 0 / 1.332 GB, free: 11.82 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002408/0.4275, allocations: 27.81 kB / 1.332 GB, free: 11.8 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 (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.0002012/0.4277, allocations: 103.2 kB / 1.332 GB, free: 11.69 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001588/0.4279, allocations: 31.97 kB / 1.332 GB, free: 11.66 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.4279, allocations: 0 / 1.332 GB, free: 11.66 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 5.626e-05/0.428, allocations: 12 kB / 1.332 GB, free: 11.64 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002272/0.4282, allocations: 7.875 kB / 1.332 GB, free: 11.64 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004097/0.4286, allocations: 145.7 kB / 1.332 GB, free: 11.47 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.901e-05/0.4287, allocations: 67.25 kB / 1.332 GB, free: 11.39 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 2.365e-05/0.4287, allocations: 0 / 1.332 GB, free: 11.39 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.783e-05/0.4287, allocations: 15.56 kB / 1.332 GB, free: 11.37 MB / 1.029 GB Notification: Performance of SimCode: time 2.9e-07/0.4287, allocations: 0 / 1.332 GB, free: 11.37 MB / 1.029 GB Notification: Performance of Templates: time 0.003489/0.4322, allocations: 0.5582 MB / 1.333 GB, free: 10.81 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Examples.Splice.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Examples.Splice.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Examples.Splice.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Examples.Splice.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Examples.Splice.sim & ./Buildings_12_Buildings.Utilities.Math.Examples.Splice -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Examples.Splice.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.Splice_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Examples_Splice.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.449121863988694]