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.001394/0.001394, allocations: 78.72 kB / 19.76 MB, free: 1.875 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.001607/0.001607, allocations: 158.6 kB / 23.01 MB, free: 4.598 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.426/1.426, allocations: 177.2 MB / 203.4 MB, free: 8.922 MB / 190.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 2.747/2.747, allocations: 377.9 MB / 0.6228 GB, free: 12.56 MB / 0.5919 GB " [Timeout remaining time 177] 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.002253/0.002253, allocations: 63.91 kB / 0.9819 GB, free: 12.18 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9163/0.9185, allocations: 176.1 MB / 1.154 GB, free: 33.34 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Splice): time 0.003614/0.9221, allocations: 1.516 MB / 1.155 GB, free: 32.29 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.001776/0.9239, allocations: 0.6889 MB / 1.156 GB, free: 31.84 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.542e-05/0.924, allocations: 2.375 kB / 1.156 GB, free: 31.84 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 4.28e-05/0.924, allocations: 3.938 kB / 1.156 GB, free: 31.84 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 5.844e-05/0.9241, allocations: 7.922 kB / 1.156 GB, free: 31.83 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005833/0.9247, allocations: 97.06 kB / 1.156 GB, free: 31.79 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0001265/0.9248, allocations: 40.86 kB / 1.156 GB, free: 31.77 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001159/0.9249, allocations: 9.625 kB / 1.156 GB, free: 31.76 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001164/0.925, allocations: 27.86 kB / 1.156 GB, free: 31.75 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 6.09e-05/0.9251, allocations: 13.88 kB / 1.156 GB, free: 31.74 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 1.536e-05/0.9251, allocations: 5.719 kB / 1.156 GB, free: 31.74 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002926/0.9254, allocations: 113.2 kB / 1.156 GB, free: 31.71 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 1.678e-05/0.9254, allocations: 2.875 kB / 1.156 GB, free: 31.71 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 3.073e-05/0.9255, allocations: 18.09 kB / 1.156 GB, free: 31.7 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.000235/0.9257, allocations: 100.8 kB / 1.156 GB, free: 31.66 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.9257, allocations: 0 / 1.156 GB, free: 31.66 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.563e-06/0.9257, allocations: 2.875 kB / 1.156 GB, free: 31.66 MB / 1.076 GB Notification: Performance of Transformations before backend: time 5.289e-06/0.9257, allocations: 0 / 1.156 GB, free: 31.66 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.0004483/0.9262, allocations: 307.2 kB / 1.157 GB, free: 31.36 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.792e-05/0.9262, allocations: 8.406 kB / 1.157 GB, free: 31.36 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002089/0.9264, allocations: 16.92 kB / 1.157 GB, free: 31.36 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002246/0.9266, allocations: 111.2 kB / 1.157 GB, free: 31.23 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.291e-05/0.9266, allocations: 2.875 kB / 1.157 GB, free: 31.23 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.856e-05/0.9267, allocations: 6.938 kB / 1.157 GB, free: 31.23 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001922/0.9268, allocations: 52.06 kB / 1.157 GB, free: 31.19 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.284e-05/0.9269, allocations: 0 / 1.157 GB, free: 31.19 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.303e-05/0.9269, allocations: 4 kB / 1.157 GB, free: 31.18 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.622e-06/0.9269, allocations: 7.328 kB / 1.157 GB, free: 31.18 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001527/0.927, allocations: 28.28 kB / 1.157 GB, free: 31.17 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000337/0.9274, allocations: 222.5 kB / 1.157 GB, free: 30.95 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000127/0.9275, allocations: 30.8 kB / 1.157 GB, free: 30.92 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.76e-05/0.9276, allocations: 18.08 kB / 1.157 GB, free: 30.91 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003168/0.9279, allocations: 36.61 kB / 1.157 GB, free: 30.91 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.528e-05/0.9279, allocations: 38.5 kB / 1.157 GB, free: 30.86 MB / 1.076 GB Notification: Performance of pre-optimization done (n=2): time 1.603e-06/0.9279, allocations: 0 / 1.157 GB, free: 30.86 MB / 1.076 GB Notification: Performance of matching and sorting (n=2): time 0.0003389/0.9282, allocations: 66.25 kB / 1.157 GB, free: 30.82 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.134e-05/0.9283, allocations: 58.06 kB / 1.157 GB, free: 30.75 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.125e-05/0.9283, allocations: 107.7 kB / 1.158 GB, free: 30.65 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 9.558e-06/0.9284, allocations: 25.7 kB / 1.158 GB, free: 30.62 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 3.537e-05/0.9284, allocations: 90.33 kB / 1.158 GB, free: 30.53 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 1.905e-05/0.9284, allocations: 3.953 kB / 1.158 GB, free: 30.53 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.752e-05/0.9285, allocations: 19.67 kB / 1.158 GB, free: 30.51 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 4.213e-05/0.9285, allocations: 321.5 kB / 1.158 GB, free: 30.19 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.848e-05/0.9286, allocations: 12.28 kB / 1.158 GB, free: 30.18 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.156e-05/0.9286, allocations: 9.125 kB / 1.158 GB, free: 30.18 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001285/0.9288, allocations: 25.36 kB / 1.158 GB, free: 30.17 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.9288, allocations: 0 / 1.158 GB, free: 30.17 MB / 1.076 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001942/0.929, allocations: 56.53 kB / 1.158 GB, free: 30.13 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.636e-05/0.929, allocations: 7.688 kB / 1.158 GB, free: 30.13 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.441e-06/0.929, allocations: 4.094 kB / 1.158 GB, free: 30.12 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.612e-05/0.929, allocations: 3.938 kB / 1.158 GB, free: 30.12 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.377e-05/0.9291, allocations: 8.328 kB / 1.158 GB, free: 30.12 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.441e-06/0.9291, allocations: 0 / 1.158 GB, free: 30.12 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.077e-05/0.9291, allocations: 2.562 kB / 1.158 GB, free: 30.12 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.737e-06/0.9292, allocations: 3.938 kB / 1.158 GB, free: 30.12 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 5.868e-05/0.9292, allocations: 119.5 kB / 1.158 GB, free: 30 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.53e-05/0.9293, allocations: 2.688 kB / 1.158 GB, free: 30 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000208/0.9295, allocations: 65.45 kB / 1.158 GB, free: 29.95 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/0.9295, allocations: 0 / 1.158 GB, free: 29.95 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.9295, allocations: 0 / 1.158 GB, free: 29.95 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.9295, allocations: 3.984 kB / 1.158 GB, free: 29.94 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001601/0.9296, allocations: 113.1 kB / 1.158 GB, free: 29.81 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.9296, allocations: 0 / 1.158 GB, free: 29.81 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.501e-05/0.9297, allocations: 8.75 kB / 1.158 GB, free: 29.81 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.766e-06/0.9297, allocations: 0 / 1.158 GB, free: 29.81 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.478e-06/0.9297, allocations: 4 kB / 1.158 GB, free: 29.81 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.9297, allocations: 0 / 1.158 GB, free: 29.81 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.9297, allocations: 0 / 1.158 GB, free: 29.81 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001942/0.9299, allocations: 166 kB / 1.159 GB, free: 29.66 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 1.185e-05/0.9299, allocations: 2.812 kB / 1.159 GB, free: 29.66 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.861e-05/0.9299, allocations: 3.234 kB / 1.159 GB, free: 29.66 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001166/0.9301, allocations: 2.812 kB / 1.159 GB, free: 29.66 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.873e-05/0.9301, allocations: 3.938 kB / 1.159 GB, free: 29.65 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.302e-06/0.9301, allocations: 0 / 1.159 GB, free: 29.65 MB / 1.076 GB Notification: Performance of sorting global known variables: time 4.128e-05/0.9301, allocations: 90.98 kB / 1.159 GB, free: 29.57 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9301, allocations: 0 / 1.159 GB, free: 29.57 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0004583/0.9306, allocations: 18.61 kB / 1.159 GB, free: 29.57 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.0001662/0.9308, allocations: 116.5 kB / 1.159 GB, free: 29.47 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0001964/0.931, allocations: 28.53 kB / 1.159 GB, free: 29.46 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.931, allocations: 2.656 kB / 1.159 GB, free: 29.46 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 7.445e-05/0.931, allocations: 5.438 kB / 1.159 GB, free: 29.46 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003772/0.9314, allocations: 15.98 kB / 1.159 GB, free: 29.45 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003713/0.9318, allocations: 137.9 kB / 1.159 GB, free: 29.33 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.73e-05/0.9319, allocations: 69.86 kB / 1.159 GB, free: 29.25 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 3.441e-05/0.9319, allocations: 2.562 kB / 1.159 GB, free: 29.25 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.669e-05/0.9319, allocations: 10.97 kB / 1.159 GB, free: 29.25 MB / 1.076 GB Notification: Performance of SimCode: time 4.71e-07/0.9319, allocations: 0 / 1.159 GB, free: 29.25 MB / 1.076 GB Notification: Performance of Templates: time 0.004068/0.936, allocations: 0.5274 MB / 1.16 GB, free: 29.15 MB / 1.076 GB " [Timeout remaining time 299] 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 ida -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: 8.516716758953407]