Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001161/0.001161, allocations: 93.06 kB / 19.65 MB, free: 276 kB / 13.93 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.001289/0.001289, allocations: 165 kB / 23.02 MB, free: 1.551 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 0.9554/0.9554, allocations: 177.1 MB / 203.4 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.13/2.13, allocations: 429.5 MB / 0.6733 GB, free: 4.004 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Utilities.Math.Examples.Splice") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.794e-06/1.794e-06, allocations: 0 / 0.8782 GB, free: 6.129 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.267e-05/3.447e-05, allocations: 4.703 kB / 0.8782 GB, free: 6.125 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Splice): time 0.002954/0.002989, allocations: 1.557 MB / 0.8797 GB, free: 4.578 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001197/0.004186, allocations: 0.7174 MB / 0.8804 GB, free: 3.863 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.171e-05/0.004248, allocations: 0 / 0.8804 GB, free: 3.863 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.66e-05/0.004284, allocations: 3.938 kB / 0.8804 GB, free: 3.859 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 5.934e-05/0.004344, allocations: 7.875 kB / 0.8804 GB, free: 3.852 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004518/0.004795, allocations: 103.5 kB / 0.8805 GB, free: 3.75 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001185/0.004914, allocations: 39.86 kB / 0.8805 GB, free: 3.711 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000103/0.005017, allocations: 11.98 kB / 0.8806 GB, free: 3.699 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001187/0.005136, allocations: 24.91 kB / 0.8806 GB, free: 3.676 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 5.083e-05/0.005186, allocations: 19.86 kB / 0.8806 GB, free: 3.656 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.643e-05/0.005203, allocations: 5.031 kB / 0.8806 GB, free: 3.652 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000214/0.005417, allocations: 103.9 kB / 0.8807 GB, free: 3.551 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.503e-05/0.005432, allocations: 9.109 kB / 0.8807 GB, free: 3.543 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.734e-05/0.005459, allocations: 11.92 kB / 0.8807 GB, free: 3.531 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0002086/0.005668, allocations: 107.6 kB / 0.8808 GB, free: 3.426 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.775e-06/0.005671, allocations: 1.125 kB / 0.8808 GB, free: 3.426 MB / 0.8386 GB Notification: Performance of FrontEnd: time 8.12e-07/0.005671, allocations: 0 / 0.8808 GB, free: 3.426 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.599e-06/0.005676, allocations: 0 / 0.8808 GB, free: 3.426 MB / 0.8386 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.0004447/0.006121, allocations: 401.2 kB / 0.8812 GB, free: 3 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.544e-05/0.006166, allocations: 8.031 kB / 0.8812 GB, free: 2.992 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001608/0.006327, allocations: 21.53 kB / 0.8812 GB, free: 2.973 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001705/0.006497, allocations: 124.5 kB / 0.8814 GB, free: 2.824 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.358e-05/0.006511, allocations: 7.969 kB / 0.8814 GB, free: 2.82 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.356e-05/0.006525, allocations: 384 / 0.8814 GB, free: 2.82 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001368/0.006661, allocations: 58.95 kB / 0.8814 GB, free: 2.754 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.107e-05/0.006672, allocations: 192 / 0.8814 GB, free: 2.754 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.076e-05/0.006683, allocations: 384 / 0.8814 GB, free: 2.754 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.072e-05/0.006694, allocations: 3.938 kB / 0.8814 GB, free: 2.75 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.899e-05/0.006733, allocations: 11.98 kB / 0.8814 GB, free: 2.738 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003374/0.00707, allocations: 263.7 kB / 0.8817 GB, free: 2.445 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 6.325e-05/0.007134, allocations: 38.98 kB / 0.8817 GB, free: 2.395 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.639e-05/0.00716, allocations: 12.47 kB / 0.8817 GB, free: 2.379 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000206/0.007366, allocations: 41.09 kB / 0.8818 GB, free: 2.34 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.86e-05/0.007395, allocations: 38.52 kB / 0.8818 GB, free: 2.293 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.007396, allocations: 0 / 0.8818 GB, free: 2.293 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0001832/0.007579, allocations: 54.27 kB / 0.8819 GB, free: 2.234 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.862e-05/0.007608, allocations: 51.41 kB / 0.8819 GB, free: 2.172 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001075/0.007715, allocations: 171.1 kB / 0.8821 GB, free: 1.988 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.391e-05/0.007729, allocations: 25.7 kB / 0.8821 GB, free: 1.957 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 7.228e-05/0.007801, allocations: 142.8 kB / 0.8822 GB, free: 1.812 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.041e-05/0.007822, allocations: 5.484 kB / 0.8822 GB, free: 1.809 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.78e-05/0.007859, allocations: 19.38 kB / 0.8823 GB, free: 1.781 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001584/0.008018, allocations: 496.1 kB / 0.8827 GB, free: 1.285 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.835e-05/0.008036, allocations: 7.984 kB / 0.8827 GB, free: 1.277 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.177e-05/0.008048, allocations: 4.688 kB / 0.8827 GB, free: 1.273 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.852e-05/0.008086, allocations: 16.59 kB / 0.8828 GB, free: 1.254 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.077e-06/0.008091, allocations: 4 kB / 0.8828 GB, free: 1.25 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.098e-05/0.008172, allocations: 45.81 kB / 0.8828 GB, free: 1.199 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.521e-05/0.008187, allocations: 11.98 kB / 0.8828 GB, free: 1.188 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.008191, allocations: 0 / 0.8828 GB, free: 1.188 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.717e-05/0.008209, allocations: 0 / 0.8828 GB, free: 1.188 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.592e-05/0.008274, allocations: 4 kB / 0.8828 GB, free: 1.184 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.626e-06/0.008283, allocations: 4 kB / 0.8828 GB, free: 1.18 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.047e-05/0.008304, allocations: 0 / 0.8828 GB, free: 1.18 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.981e-06/0.00831, allocations: 0 / 0.8828 GB, free: 1.18 MB / 0.8386 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 7.339e-05/0.008383, allocations: 156.6 kB / 0.883 GB, free: 1.016 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.864e-05/0.008412, allocations: 11.92 kB / 0.883 GB, free: 1.004 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001127/0.008524, allocations: 53.25 kB / 0.883 GB, free: 0.9492 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.945e-06/0.008527, allocations: 4 kB / 0.883 GB, free: 0.9453 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.008531, allocations: 0 / 0.883 GB, free: 0.9453 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.866e-06/0.008534, allocations: 0 / 0.883 GB, free: 0.9453 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001508/0.008685, allocations: 128.6 kB / 0.8832 GB, free: 0.7852 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.008686, allocations: 0 / 0.8832 GB, free: 0.7852 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.91e-05/0.008715, allocations: 7.938 kB / 0.8832 GB, free: 0.7773 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.444e-06/0.008718, allocations: 0 / 0.8832 GB, free: 0.7773 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.913e-06/0.008724, allocations: 0 / 0.8832 GB, free: 0.7773 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.008727, allocations: 3.984 kB / 0.8832 GB, free: 0.7734 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.008728, allocations: 0 / 0.8832 GB, free: 0.7734 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001205/0.008849, allocations: 191.9 kB / 0.8834 GB, free: 0.5664 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.083e-05/0.00886, allocations: 11.89 kB / 0.8834 GB, free: 0.5547 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.299e-05/0.008873, allocations: 3.984 kB / 0.8834 GB, free: 0.5508 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.117e-05/0.008924, allocations: 0 / 0.8834 GB, free: 0.5508 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.093e-05/0.008955, allocations: 3.984 kB / 0.8834 GB, free: 0.5469 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.21e-06/0.00896, allocations: 4 kB / 0.8834 GB, free: 0.543 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 5.135e-05/0.009011, allocations: 131.2 kB / 0.8835 GB, free: 424 kB / 0.8386 GB Notification: Performance of sort global known variables: time 1e-07/0.009011, allocations: 0 / 0.8835 GB, free: 424 kB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002729/0.009284, allocations: 15.94 kB / 0.8835 GB, free: 408 kB / 0.8386 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.0001544/0.009439, allocations: 119.1 kB / 0.8836 GB, free: 276 kB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 8.266e-05/0.009521, allocations: 11.69 kB / 0.8836 GB, free: 260 kB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.212e-06/0.009523, allocations: 0 / 0.8836 GB, free: 260 kB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.977e-05/0.009552, allocations: 23.61 kB / 0.8837 GB, free: 232 kB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002383/0.009791, allocations: 4 kB / 0.8837 GB, free: 228 kB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005081/0.0103, allocations: 142.1 kB / 0.8838 GB, free: 56 kB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.433e-05/0.01035, allocations: 59.47 kB / 0.8839 GB, free: 15.98 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 2.257e-05/0.01038, allocations: 8 kB / 0.8839 GB, free: 15.97 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.515e-05/0.0104, allocations: 8.5 kB / 0.8839 GB, free: 15.96 MB / 0.8542 GB Notification: Performance of SimCode: time 4.51e-07/0.0104, allocations: 0 / 0.8839 GB, free: 15.96 MB / 0.8542 GB Notification: Performance of Templates: time 0.00262/0.01302, allocations: 0.5453 MB / 0.8844 GB, free: 15.42 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.Splice.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.Splice.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.Splice.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.Splice.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.Splice.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.Splice -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.Splice.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.Splice_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_Splice.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.429898703936487]