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.001787/0.001787, allocations: 80.41 kB / 20.23 MB, free: 4.199 MB / 18.57 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.002156/0.002156, allocations: 161.7 kB / 23.55 MB, free: 0.8906 MB / 18.57 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.481/1.481, allocations: 177.1 MB / 203.9 MB, free: 5.582 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.863/2.863, allocations: 377.8 MB / 0.6232 GB, free: 8.527 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 0.8108 GB, free: 2.078 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.804e-05/2.963e-05, allocations: 2.312 kB / 0.8108 GB, free: 2.074 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Splice): time 0.003062/0.003092, allocations: 1.52 MB / 0.8123 GB, free: 0.5625 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001594/0.004686, allocations: 0.6956 MB / 0.813 GB, free: 15.86 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.695e-05/0.004753, allocations: 0.6562 kB / 0.813 GB, free: 15.86 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 3.696e-05/0.004789, allocations: 3.938 kB / 0.813 GB, free: 15.86 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 6.661e-05/0.004856, allocations: 12.5 kB / 0.813 GB, free: 15.85 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.000497/0.005353, allocations: 92.64 kB / 0.8131 GB, free: 15.76 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0001163/0.005469, allocations: 39.86 kB / 0.8131 GB, free: 15.72 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 9.258e-05/0.005562, allocations: 12.73 kB / 0.8131 GB, free: 15.71 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001258/0.005688, allocations: 30.31 kB / 0.8132 GB, free: 15.68 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 5.13e-05/0.005739, allocations: 11.98 kB / 0.8132 GB, free: 15.67 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.673e-05/0.005756, allocations: 4 kB / 0.8132 GB, free: 15.66 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002496/0.006005, allocations: 115.8 kB / 0.8133 GB, free: 15.55 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 1.649e-05/0.006022, allocations: 4 kB / 0.8133 GB, free: 15.55 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 3.59e-05/0.006058, allocations: 15.92 kB / 0.8133 GB, free: 15.53 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0002536/0.006312, allocations: 109 kB / 0.8134 GB, free: 15.43 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.956e-06/0.006314, allocations: 0 / 0.8134 GB, free: 15.43 MB / 0.7761 GB Notification: Performance of FrontEnd: time 7.11e-07/0.006315, allocations: 0 / 0.8134 GB, free: 15.43 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.739e-06/0.00632, allocations: 0 / 0.8134 GB, free: 15.43 MB / 0.7761 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.0005082/0.006828, allocations: 299.5 kB / 0.8137 GB, free: 15.11 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.076e-05/0.006869, allocations: 8.031 kB / 0.8137 GB, free: 15.1 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001717/0.00704, allocations: 20.88 kB / 0.8137 GB, free: 15.08 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002337/0.007274, allocations: 123.4 kB / 0.8138 GB, free: 14.93 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.778e-05/0.007292, allocations: 4.375 kB / 0.8138 GB, free: 14.93 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.519e-05/0.007307, allocations: 4.312 kB / 0.8138 GB, free: 14.93 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001661/0.007473, allocations: 54.23 kB / 0.8139 GB, free: 14.87 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.466e-06/0.007482, allocations: 1.094 kB / 0.8139 GB, free: 14.87 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.261e-05/0.007494, allocations: 4.375 kB / 0.8139 GB, free: 14.86 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.646e-06/0.007503, allocations: 3.938 kB / 0.8139 GB, free: 14.86 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001015/0.007605, allocations: 29.14 kB / 0.8139 GB, free: 14.83 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003609/0.007965, allocations: 216.5 kB / 0.8141 GB, free: 14.59 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001023/0.008068, allocations: 32.3 kB / 0.8142 GB, free: 14.55 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.944e-05/0.008127, allocations: 20.91 kB / 0.8142 GB, free: 14.53 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000273/0.0084, allocations: 37.88 kB / 0.8142 GB, free: 14.49 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.691e-05/0.008437, allocations: 34.56 kB / 0.8143 GB, free: 14.45 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=2): time 9.92e-07/0.008438, allocations: 0 / 0.8143 GB, free: 14.45 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2): time 0.0002904/0.008729, allocations: 66.77 kB / 0.8143 GB, free: 14.38 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.495e-05/0.008773, allocations: 51.41 kB / 0.8144 GB, free: 14.32 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000117/0.00889, allocations: 114.9 kB / 0.8145 GB, free: 14.2 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.031e-05/0.008911, allocations: 25.7 kB / 0.8145 GB, free: 14.16 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 7.314e-05/0.008984, allocations: 92.08 kB / 0.8146 GB, free: 14.07 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.971e-05/0.009004, allocations: 8.953 kB / 0.8146 GB, free: 14.06 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.321e-05/0.009037, allocations: 9.719 kB / 0.8146 GB, free: 14.05 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001953/0.009232, allocations: 323.8 kB / 0.8149 GB, free: 13.72 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.489e-05/0.009277, allocations: 4 kB / 0.8149 GB, free: 13.72 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.316e-05/0.00932, allocations: 16.83 kB / 0.8149 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.124e-05/0.009411, allocations: 25.69 kB / 0.815 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.009413, allocations: 0 / 0.815 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001431/0.009556, allocations: 58.84 kB / 0.815 GB, free: 13.61 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.851e-05/0.009575, allocations: 8 kB / 0.815 GB, free: 13.61 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.509e-06/0.009579, allocations: 0.8438 kB / 0.815 GB, free: 13.61 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.815e-05/0.009597, allocations: 0 / 0.815 GB, free: 13.61 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.614e-05/0.009663, allocations: 13.08 kB / 0.815 GB, free: 13.59 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.479e-06/0.009668, allocations: 0 / 0.815 GB, free: 13.59 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.229e-05/0.00971, allocations: 11.94 kB / 0.8151 GB, free: 13.58 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.603e-06/0.009717, allocations: 1.375 kB / 0.8151 GB, free: 13.58 MB / 0.7761 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 9.726e-05/0.009814, allocations: 109.8 kB / 0.8152 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.379e-05/0.009848, allocations: 11.89 kB / 0.8152 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001853/0.01003, allocations: 70.72 kB / 0.8152 GB, free: 13.38 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.01004, allocations: 0 / 0.8152 GB, free: 13.38 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.975e-06/0.01004, allocations: 0 / 0.8152 GB, free: 13.38 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.225e-06/0.01004, allocations: 6.844 kB / 0.8152 GB, free: 13.38 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001632/0.0102, allocations: 113.4 kB / 0.8154 GB, free: 13.24 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.0102, allocations: 0 / 0.8154 GB, free: 13.24 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.939e-05/0.01025, allocations: 11.92 kB / 0.8154 GB, free: 13.23 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.444e-06/0.01026, allocations: 0 / 0.8154 GB, free: 13.23 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.586e-06/0.01027, allocations: 3.984 kB / 0.8154 GB, free: 13.22 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.01027, allocations: 0 / 0.8154 GB, free: 13.22 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.01027, allocations: 0 / 0.8154 GB, free: 13.22 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004328/0.0107, allocations: 152.5 kB / 0.8155 GB, free: 13.06 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.648e-05/0.01072, allocations: 13.83 kB / 0.8155 GB, free: 13.05 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.294e-05/0.01073, allocations: 0 / 0.8155 GB, free: 13.05 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.167e-05/0.01079, allocations: 0 / 0.8155 GB, free: 13.05 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.542e-05/0.01083, allocations: 3.938 kB / 0.8155 GB, free: 13.04 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.821e-06/0.01083, allocations: 7.984 kB / 0.8155 GB, free: 13.04 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 6.527e-05/0.0109, allocations: 87.91 kB / 0.8156 GB, free: 12.95 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.0109, allocations: 0 / 0.8156 GB, free: 12.95 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002554/0.01115, allocations: 12.59 kB / 0.8156 GB, free: 12.94 MB / 0.7761 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.0001912/0.01135, allocations: 110 kB / 0.8157 GB, free: 12.82 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001355/0.01148, allocations: 23.98 kB / 0.8158 GB, free: 12.8 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.462e-06/0.01148, allocations: 0 / 0.8158 GB, free: 12.8 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 5.196e-05/0.01153, allocations: 15.98 kB / 0.8158 GB, free: 12.78 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002296/0.01176, allocations: 2.438 kB / 0.8158 GB, free: 12.78 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003803/0.01214, allocations: 147.1 kB / 0.8159 GB, free: 12.61 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.797e-05/0.01222, allocations: 71.27 kB / 0.816 GB, free: 12.52 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.7e-05/0.01225, allocations: 4 kB / 0.816 GB, free: 12.52 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.723e-05/0.01228, allocations: 8.5 kB / 0.816 GB, free: 12.51 MB / 0.7761 GB Notification: Performance of SimCode: time 5.01e-07/0.01228, allocations: 0.9375 kB / 0.816 GB, free: 12.51 MB / 0.7761 GB Notification: Performance of Templates: time 0.003217/0.01549, allocations: 0.5425 MB / 0.8165 GB, free: 11.99 MB / 0.7761 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 -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/jenkins/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: 7.745797988027334]