Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.Examples.Splice.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001403/0.001403, allocations: 110 kB / 18.93 MB, free: 2.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001567/0.001567, allocations: 192 kB / 22.23 MB, free: 5.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.425/1.425, allocations: 225.6 MB / 251 MB, free: 13.01 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.76/2.76, allocations: 476.7 MB / 0.7646 GB, free: 9.863 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_11_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_11_Buildings.Utilities.Math.Examples.Splice") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002068/0.002068, allocations: 71.91 kB / 1.11 GB, free: 6.285 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.845/0.847, allocations: 168.8 MB / 1.274 GB, free: 4.152 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Splice): time 0.002746/0.8498, allocations: 1.518 MB / 1.276 GB, free: 2.629 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001205/0.851, allocations: 0.6638 MB / 1.276 GB, free: 1.961 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.938e-05/0.851, allocations: 0 / 1.276 GB, free: 1.961 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.579e-05/0.8511, allocations: 3.938 kB / 1.276 GB, free: 1.957 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 5.148e-05/0.8511, allocations: 3.938 kB / 1.276 GB, free: 1.953 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003736/0.8515, allocations: 83.72 kB / 1.277 GB, free: 1.871 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 8.322e-05/0.8516, allocations: 39.86 kB / 1.277 GB, free: 1.832 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001092/0.8517, allocations: 23.62 kB / 1.277 GB, free: 1.812 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 8.011e-05/0.8518, allocations: 11.94 kB / 1.277 GB, free: 1.801 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 6.408e-05/0.8518, allocations: 19.86 kB / 1.277 GB, free: 1.781 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.228e-05/0.8518, allocations: 4 kB / 1.277 GB, free: 1.777 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002129/0.852, allocations: 103.9 kB / 1.277 GB, free: 1.676 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.456e-05/0.8521, allocations: 3.984 kB / 1.277 GB, free: 1.672 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.508e-05/0.8521, allocations: 19.88 kB / 1.277 GB, free: 1.652 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001934/0.8523, allocations: 78.52 kB / 1.277 GB, free: 1.578 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/0.8523, allocations: 3.984 kB / 1.277 GB, free: 1.574 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.503e-06/0.8523, allocations: 0 / 1.277 GB, free: 1.574 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.192e-05/0.8523, allocations: 4 kB / 1.277 GB, free: 1.57 MB / 0.9669 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.0005016/0.8528, allocations: 290 kB / 1.277 GB, free: 1.258 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.814e-05/0.8528, allocations: 8.031 kB / 1.277 GB, free: 1.25 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.711e-05/0.8529, allocations: 8.891 kB / 1.277 GB, free: 1.242 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001245/0.853, allocations: 122.4 kB / 1.277 GB, free: 1.098 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.785e-05/0.853, allocations: 4.375 kB / 1.277 GB, free: 1.094 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.772e-05/0.853, allocations: 4.375 kB / 1.277 GB, free: 1.09 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001693/0.8532, allocations: 57.98 kB / 1.277 GB, free: 1.027 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/0.8532, allocations: 4 kB / 1.277 GB, free: 1.023 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.618e-06/0.8532, allocations: 0 / 1.277 GB, free: 1.023 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.8532, allocations: 0 / 1.277 GB, free: 1.023 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.802e-05/0.8533, allocations: 23.98 kB / 1.277 GB, free: 1 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004066/0.8537, allocations: 255.8 kB / 1.278 GB, free: 0.707 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001009/0.8538, allocations: 26.58 kB / 1.278 GB, free: 0.6719 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.122e-05/0.8539, allocations: 24.91 kB / 1.278 GB, free: 0.6445 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002732/0.8542, allocations: 35.97 kB / 1.278 GB, free: 0.6094 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.064e-05/0.8542, allocations: 30.56 kB / 1.278 GB, free: 0.5703 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.8542, allocations: 0 / 1.278 GB, free: 0.5703 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0002744/0.8545, allocations: 65.61 kB / 1.278 GB, free: 0.5 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.791e-05/0.8545, allocations: 55.53 kB / 1.278 GB, free: 444 kB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001152/0.8546, allocations: 129.8 kB / 1.278 GB, free: 304 kB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.999e-05/0.8547, allocations: 25.7 kB / 1.278 GB, free: 272 kB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.714e-05/0.8547, allocations: 88.14 kB / 1.278 GB, free: 180 kB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.488e-05/0.8547, allocations: 3.953 kB / 1.278 GB, free: 176 kB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.559e-05/0.8548, allocations: 17.72 kB / 1.278 GB, free: 152 kB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001636/0.855, allocations: 318.8 kB / 1.278 GB, free: 15.83 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.853e-05/0.855, allocations: 12 kB / 1.278 GB, free: 15.82 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.537e-05/0.8551, allocations: 11.98 kB / 1.278 GB, free: 15.8 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.406e-05/0.8551, allocations: 24.84 kB / 1.278 GB, free: 15.78 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.8551, allocations: 0 / 1.278 GB, free: 15.78 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001316/0.8553, allocations: 57.58 kB / 1.278 GB, free: 15.71 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.377e-05/0.8553, allocations: 8 kB / 1.278 GB, free: 15.71 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.057e-06/0.8553, allocations: 0 / 1.278 GB, free: 15.71 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.535e-05/0.8553, allocations: 4.094 kB / 1.278 GB, free: 15.7 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.652e-05/0.8554, allocations: 7.984 kB / 1.279 GB, free: 15.7 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.421e-06/0.8554, allocations: 0 / 1.279 GB, free: 15.7 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.288e-05/0.8554, allocations: 12 kB / 1.279 GB, free: 15.68 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.164e-06/0.8554, allocations: 3.938 kB / 1.279 GB, free: 15.68 MB / 0.9825 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 8.218e-05/0.8555, allocations: 113.8 kB / 1.279 GB, free: 15.56 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.832e-05/0.8555, allocations: 3.953 kB / 1.279 GB, free: 15.55 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001734/0.8557, allocations: 69.23 kB / 1.279 GB, free: 15.48 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.811e-06/0.8557, allocations: 4 kB / 1.279 GB, free: 15.48 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.8557, allocations: 0 / 1.279 GB, free: 15.48 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.8557, allocations: 3.984 kB / 1.279 GB, free: 15.47 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001724/0.8559, allocations: 144.7 kB / 1.279 GB, free: 15.29 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.8559, allocations: 0 / 1.279 GB, free: 15.29 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.531e-05/0.856, allocations: 4 kB / 1.279 GB, free: 15.29 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.393e-06/0.856, allocations: 0 / 1.279 GB, free: 15.29 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.883e-06/0.856, allocations: 0 / 1.279 GB, free: 15.29 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.856, allocations: 0 / 1.279 GB, free: 15.29 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/0.856, allocations: 3.984 kB / 1.279 GB, free: 15.28 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001833/0.8561, allocations: 159.5 kB / 1.279 GB, free: 15.11 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.375e-05/0.8562, allocations: 8 kB / 1.279 GB, free: 15.1 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.339e-05/0.8562, allocations: 0 / 1.279 GB, free: 15.1 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.261e-05/0.8562, allocations: 3.938 kB / 1.279 GB, free: 15.1 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.999e-05/0.8563, allocations: 3.984 kB / 1.279 GB, free: 15.09 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.526e-06/0.8563, allocations: 4 kB / 1.279 GB, free: 15.09 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.006e-05/0.8564, allocations: 95.3 kB / 1.279 GB, free: 15 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8.1e-08/0.8564, allocations: 0 / 1.279 GB, free: 15 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002342/0.8566, allocations: 19.88 kB / 1.279 GB, free: 14.98 MB / 0.9825 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.0001487/0.8567, allocations: 99.25 kB / 1.279 GB, free: 14.87 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001587/0.8569, allocations: 23.98 kB / 1.279 GB, free: 14.85 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.8569, allocations: 3.938 kB / 1.279 GB, free: 14.84 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 7.246e-05/0.857, allocations: 11.98 kB / 1.279 GB, free: 14.83 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003584/0.8573, allocations: 12.12 kB / 1.279 GB, free: 14.82 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004303/0.8578, allocations: 134.7 kB / 1.279 GB, free: 14.66 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004117/0.8582, allocations: 0.6846 MB / 1.28 GB, free: 13.95 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.514e-05/0.8582, allocations: 3.984 kB / 1.28 GB, free: 13.95 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.544e-05/0.8582, allocations: 11.44 kB / 1.28 GB, free: 13.93 MB / 0.9825 GB Notification: Performance of SimCode: time 4.01e-07/0.8582, allocations: 3.938 kB / 1.28 GB, free: 13.93 MB / 0.9825 GB Notification: Performance of Templates: time 0.003079/0.8613, allocations: 0.4995 MB / 1.281 GB, free: 13.43 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Utilities.Math.Examples.Splice.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Math.Examples.Splice.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.Splice.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.Splice.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.Splice.sim & ./Buildings_11_Buildings.Utilities.Math.Examples.Splice -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Examples.Splice.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.Splice_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_Splice.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.557652917690575]