Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.001419/0.001419, 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.001597/0.001597, allocations: 193 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.504/1.504, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.639/2.639, allocations: 443.4 MB / 0.7321 GB, free: 12.28 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.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_10_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_10_Buildings.Utilities.Math.Examples.Splice") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002/0.002, allocations: 63.89 kB / 1.061 GB, free: 2.988 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8049/0.8069, allocations: 160.8 MB / 1.218 GB, free: 3.723 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Splice): time 0.003284/0.8102, allocations: 1.513 MB / 1.22 GB, free: 2.539 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001351/0.8115, allocations: 0.6614 MB / 1.221 GB, free: 2.02 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.406e-05/0.8116, allocations: 0 / 1.221 GB, free: 2.02 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.718e-05/0.8116, allocations: 0 / 1.221 GB, free: 2.02 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 5.515e-05/0.8117, allocations: 9.219 kB / 1.221 GB, free: 2.012 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004229/0.8121, allocations: 82.22 kB / 1.221 GB, free: 1.957 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 9.829e-05/0.8122, allocations: 38.55 kB / 1.221 GB, free: 1.934 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001146/0.8123, allocations: 15.38 kB / 1.221 GB, free: 1.926 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 8.033e-05/0.8124, allocations: 18.05 kB / 1.221 GB, free: 1.914 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 6.062e-05/0.8125, allocations: 21.11 kB / 1.221 GB, free: 1.898 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.385e-05/0.8125, allocations: 3.062 kB / 1.221 GB, free: 1.898 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002228/0.8127, allocations: 105.1 kB / 1.221 GB, free: 1.844 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.65e-05/0.8127, allocations: 5.5 kB / 1.221 GB, free: 1.84 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.757e-05/0.8127, allocations: 23.64 kB / 1.221 GB, free: 1.82 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002108/0.813, allocations: 78.67 kB / 1.221 GB, free: 1.777 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.813, allocations: 1.125 kB / 1.221 GB, free: 1.777 MB / 0.92 GB Notification: Performance of FrontEnd: time 8.32e-07/0.813, allocations: 3.938 kB / 1.221 GB, free: 1.773 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.222e-06/0.813, allocations: 0 / 1.221 GB, free: 1.773 MB / 0.92 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.0005403/0.8135, allocations: 373.1 kB / 1.221 GB, free: 1.379 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.919e-05/0.8135, allocations: 13.5 kB / 1.221 GB, free: 1.375 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.348e-05/0.8136, allocations: 7.172 kB / 1.221 GB, free: 1.371 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001522/0.8137, allocations: 163.9 kB / 1.222 GB, free: 1.176 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.32e-05/0.8138, allocations: 1.438 kB / 1.222 GB, free: 1.176 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.342e-05/0.8138, allocations: 6.406 kB / 1.222 GB, free: 1.172 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001644/0.8139, allocations: 59.05 kB / 1.222 GB, free: 1.121 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.175e-06/0.8139, allocations: 0 / 1.222 GB, free: 1.121 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.164e-05/0.814, allocations: 9.094 kB / 1.222 GB, free: 1.113 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.56e-06/0.814, allocations: 1.125 kB / 1.222 GB, free: 1.113 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.372e-05/0.8141, allocations: 23.42 kB / 1.222 GB, free: 1.105 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004064/0.8145, allocations: 285.9 kB / 1.222 GB, free: 0.793 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 9.855e-05/0.8146, allocations: 36.12 kB / 1.222 GB, free: 0.7578 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.661e-05/0.8146, allocations: 18.38 kB / 1.222 GB, free: 0.7422 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005591/0.8152, allocations: 0.5582 MB / 1.222 GB, free: 76 kB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.998e-05/0.8152, allocations: 31.69 kB / 1.222 GB, free: 36 kB / 0.92 GB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/0.8152, allocations: 0 / 1.222 GB, free: 36 kB / 0.92 GB Notification: Performance of matching and sorting (n=2): time 0.0002784/0.8155, allocations: 68.06 kB / 1.223 GB, free: 15.98 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.498e-05/0.8155, allocations: 59.47 kB / 1.223 GB, free: 15.91 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001139/0.8156, allocations: 122 kB / 1.223 GB, free: 15.8 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.645e-05/0.8157, allocations: 26.7 kB / 1.223 GB, free: 15.77 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 5.262e-05/0.8157, allocations: 86.2 kB / 1.223 GB, free: 15.68 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.862e-05/0.8157, allocations: 8.922 kB / 1.223 GB, free: 15.68 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.697e-05/0.8158, allocations: 16.22 kB / 1.223 GB, free: 15.66 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001399/0.8159, allocations: 319.8 kB / 1.223 GB, free: 15.34 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.408e-05/0.816, allocations: 9.75 kB / 1.223 GB, free: 15.33 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.753e-05/0.816, allocations: 13.83 kB / 1.223 GB, free: 15.32 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.66e-05/0.8161, allocations: 30.25 kB / 1.223 GB, free: 15.3 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.8161, allocations: 0 / 1.223 GB, free: 15.3 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001301/0.8162, allocations: 58.64 kB / 1.223 GB, free: 15.26 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.616e-05/0.8162, allocations: 9.531 kB / 1.223 GB, free: 15.25 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.8162, allocations: 0 / 1.223 GB, free: 15.25 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.432e-05/0.8163, allocations: 1.062 kB / 1.223 GB, free: 15.25 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.56e-05/0.8163, allocations: 16.14 kB / 1.223 GB, free: 15.24 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.8163, allocations: 0 / 1.223 GB, free: 15.24 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.66e-05/0.8164, allocations: 2.219 kB / 1.223 GB, free: 15.24 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.907e-06/0.8164, allocations: 1.062 kB / 1.223 GB, free: 15.24 MB / 0.9356 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.0001088/0.8165, allocations: 115.8 kB / 1.223 GB, free: 15.12 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.744e-05/0.8165, allocations: 7.172 kB / 1.223 GB, free: 15.12 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002075/0.8167, allocations: 61.86 kB / 1.223 GB, free: 15.07 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/0.8167, allocations: 4.969 kB / 1.223 GB, free: 15.06 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.8167, allocations: 0 / 1.223 GB, free: 15.06 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.8167, allocations: 0 / 1.223 GB, free: 15.06 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002621/0.817, allocations: 173.1 kB / 1.224 GB, free: 14.85 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.817, allocations: 1.062 kB / 1.224 GB, free: 14.85 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.311e-05/0.8171, allocations: 12.14 kB / 1.224 GB, free: 14.84 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.8171, allocations: 0 / 1.224 GB, free: 14.84 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.596e-06/0.8171, allocations: 0.9688 kB / 1.224 GB, free: 14.84 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.105e-06/0.8171, allocations: 1.031 kB / 1.224 GB, free: 14.84 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.8171, allocations: 0 / 1.224 GB, free: 14.84 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002262/0.8173, allocations: 157.9 kB / 1.224 GB, free: 14.69 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 6.792e-05/0.8174, allocations: 82.16 kB / 1.224 GB, free: 14.59 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.398e-05/0.8174, allocations: 1.219 kB / 1.224 GB, free: 14.59 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.329e-05/0.8175, allocations: 2.25 kB / 1.224 GB, free: 14.59 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.969e-05/0.8175, allocations: 3.984 kB / 1.224 GB, free: 14.59 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.617e-06/0.8175, allocations: 1 kB / 1.224 GB, free: 14.59 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 8.239e-05/0.8176, allocations: 98.42 kB / 1.224 GB, free: 14.5 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1e-07/0.8176, allocations: 4 kB / 1.224 GB, free: 14.5 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.000249/0.8178, allocations: 17.41 kB / 1.224 GB, free: 14.49 MB / 0.9356 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.0001874/0.818, allocations: 101.3 kB / 1.224 GB, free: 14.4 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0001589/0.8182, allocations: 26.27 kB / 1.224 GB, free: 14.39 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.8182, allocations: 3.938 kB / 1.224 GB, free: 14.39 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 4.816e-05/0.8182, allocations: 12.23 kB / 1.224 GB, free: 14.38 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002255/0.8185, allocations: 9.438 kB / 1.224 GB, free: 14.38 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004479/0.8189, allocations: 128.4 kB / 1.224 GB, free: 14.25 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003638/0.8193, allocations: 0.6839 MB / 1.225 GB, free: 13.55 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 2.615e-05/0.8193, allocations: 7.047 kB / 1.225 GB, free: 13.54 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.272e-05/0.8193, allocations: 12.34 kB / 1.225 GB, free: 13.53 MB / 0.9356 GB Notification: Performance of SimCode: time 3.9e-07/0.8193, allocations: 1.188 kB / 1.225 GB, free: 13.53 MB / 0.9356 GB Notification: Performance of Templates: time 0.003482/0.8228, allocations: 0.508 MB / 1.225 GB, free: 13.27 MB / 0.9356 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Utilities.Math.Examples.Splice.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Utilities.Math.Examples.Splice.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Examples.Splice.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Examples.Splice.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Examples.Splice.sim & ./Buildings_10_Buildings.Utilities.Math.Examples.Splice -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Examples.Splice.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Examples.Splice_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Examples_Splice.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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.477991605177522]