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.001292/0.001292, allocations: 92.22 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.001183/0.001183, allocations: 173 kB / 23.02 MB, free: 1.547 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.9955/0.9955, allocations: 177.1 MB / 203.4 MB, free: 5.633 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.039/2.039, allocations: 429.5 MB / 0.6732 GB, free: 4.051 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.974e-06/1.974e-06, allocations: 3.938 kB / 0.8782 GB, free: 6.312 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.019e-05/3.216e-05, allocations: 6.078 kB / 0.8782 GB, free: 6.309 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Splice): time 0.002529/0.002561, allocations: 1.557 MB / 0.8797 GB, free: 4.762 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0009506/0.003511, allocations: 0.7224 MB / 0.8804 GB, free: 4.039 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.223e-05/0.003564, allocations: 1.344 kB / 0.8804 GB, free: 4.039 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.335e-05/0.003597, allocations: 3.938 kB / 0.8804 GB, free: 4.035 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 5.228e-05/0.003649, allocations: 3.938 kB / 0.8804 GB, free: 4.031 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004326/0.004082, allocations: 100.4 kB / 0.8805 GB, free: 3.934 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001154/0.004197, allocations: 44.5 kB / 0.8805 GB, free: 3.891 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 9.551e-05/0.004293, allocations: 11.98 kB / 0.8806 GB, free: 3.879 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001129/0.004406, allocations: 29.48 kB / 0.8806 GB, free: 3.852 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 4.515e-05/0.004451, allocations: 7.984 kB / 0.8806 GB, free: 3.844 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.532e-05/0.004466, allocations: 4 kB / 0.8806 GB, free: 3.84 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001734/0.00464, allocations: 107.9 kB / 0.8807 GB, free: 3.734 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.326e-05/0.004653, allocations: 13.33 kB / 0.8807 GB, free: 3.723 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.439e-05/0.004677, allocations: 11.98 kB / 0.8807 GB, free: 3.711 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001782/0.004855, allocations: 111.6 kB / 0.8808 GB, free: 3.602 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.915e-06/0.004858, allocations: 3.156 kB / 0.8808 GB, free: 3.602 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.192e-06/0.00486, allocations: 0 / 0.8808 GB, free: 3.602 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.22e-06/0.004865, allocations: 0 / 0.8808 GB, free: 3.602 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.0004015/0.005266, allocations: 396.3 kB / 0.8812 GB, free: 3.18 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.229e-05/0.005309, allocations: 8.031 kB / 0.8812 GB, free: 3.172 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001337/0.005442, allocations: 16.89 kB / 0.8812 GB, free: 3.156 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001567/0.005599, allocations: 120.6 kB / 0.8813 GB, free: 3.012 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.889e-06/0.005609, allocations: 384 / 0.8814 GB, free: 3.012 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.386e-06/0.005617, allocations: 4.969 kB / 0.8814 GB, free: 3.008 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001212/0.005738, allocations: 64.22 kB / 0.8814 GB, free: 2.938 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.306e-06/0.005747, allocations: 4.188 kB / 0.8814 GB, free: 2.934 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.458e-06/0.005756, allocations: 384 / 0.8814 GB, free: 2.934 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.047e-06/0.005765, allocations: 3.938 kB / 0.8814 GB, free: 2.93 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.106e-05/0.005796, allocations: 16 kB / 0.8814 GB, free: 2.914 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002929/0.006089, allocations: 271.7 kB / 0.8817 GB, free: 2.613 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 5.829e-05/0.006148, allocations: 34.94 kB / 0.8817 GB, free: 2.566 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.886e-05/0.006166, allocations: 7.688 kB / 0.8817 GB, free: 2.555 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001873/0.006354, allocations: 44.02 kB / 0.8818 GB, free: 2.512 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.541e-05/0.006379, allocations: 37.39 kB / 0.8818 GB, free: 2.465 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 1.603e-06/0.006381, allocations: 0 / 0.8818 GB, free: 2.465 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0001613/0.006542, allocations: 49.59 kB / 0.8819 GB, free: 2.41 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.92e-05/0.006571, allocations: 55.41 kB / 0.8819 GB, free: 2.344 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.686e-05/0.006648, allocations: 169.9 kB / 0.8821 GB, free: 2.16 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.0003013/0.006949, allocations: 25.7 kB / 0.8821 GB, free: 2.129 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.826e-05/0.006998, allocations: 138.8 kB / 0.8822 GB, free: 1.988 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.647e-05/0.007014, allocations: 3.953 kB / 0.8822 GB, free: 1.984 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.08e-05/0.007045, allocations: 23.38 kB / 0.8823 GB, free: 1.953 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001/0.007145, allocations: 496.1 kB / 0.8827 GB, free: 1.457 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.426e-05/0.007159, allocations: 4 kB / 0.8827 GB, free: 1.453 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.098e-06/0.007168, allocations: 128 / 0.8827 GB, free: 1.453 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.082e-05/0.007199, allocations: 19.75 kB / 0.8828 GB, free: 1.43 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.007201, allocations: 0 / 0.8828 GB, free: 1.43 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.097e-05/0.007262, allocations: 53.52 kB / 0.8828 GB, free: 1.371 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.374e-05/0.007276, allocations: 4 kB / 0.8828 GB, free: 1.367 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.00728, allocations: 0 / 0.8828 GB, free: 1.367 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.24e-05/0.007293, allocations: 0 / 0.8828 GB, free: 1.367 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.127e-05/0.007354, allocations: 8 kB / 0.8828 GB, free: 1.359 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.14e-06/0.007359, allocations: 0 / 0.8828 GB, free: 1.359 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.703e-05/0.007376, allocations: 7.984 kB / 0.8828 GB, free: 1.352 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.251e-06/0.007382, allocations: 4.031 kB / 0.8828 GB, free: 1.348 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 6.486e-05/0.007447, allocations: 156.6 kB / 0.883 GB, free: 1.184 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.568e-05/0.007463, allocations: 7.938 kB / 0.883 GB, free: 1.176 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.998e-05/0.007563, allocations: 53.23 kB / 0.883 GB, free: 1.121 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.704e-06/0.007565, allocations: 0 / 0.883 GB, free: 1.121 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.007569, allocations: 4 kB / 0.883 GB, free: 1.117 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.007572, allocations: 0 / 0.883 GB, free: 1.117 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.281e-05/0.007665, allocations: 120.6 kB / 0.8832 GB, free: 0.9648 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.007666, allocations: 4 kB / 0.8832 GB, free: 0.9609 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.127e-05/0.007687, allocations: 11.92 kB / 0.8832 GB, free: 0.9492 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.063e-06/0.007689, allocations: 4.031 kB / 0.8832 GB, free: 0.9453 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.683e-06/0.007696, allocations: 3.938 kB / 0.8832 GB, free: 0.9414 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.007698, allocations: 0 / 0.8832 GB, free: 0.9414 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.0077, allocations: 0 / 0.8832 GB, free: 0.9414 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.018e-05/0.00779, allocations: 187.9 kB / 0.8834 GB, free: 0.7383 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 7.273e-06/0.007797, allocations: 7.891 kB / 0.8834 GB, free: 0.7305 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.082e-05/0.007808, allocations: 4 kB / 0.8834 GB, free: 0.7266 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.658e-05/0.007834, allocations: 0 / 0.8834 GB, free: 0.7266 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.618e-05/0.007871, allocations: 0 / 0.8834 GB, free: 0.7266 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.657e-06/0.007874, allocations: 7.922 kB / 0.8834 GB, free: 0.7188 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.795e-05/0.007912, allocations: 135.6 kB / 0.8835 GB, free: 0.5859 MB / 0.8386 GB Notification: Performance of sort global known variables: time 5e-08/0.007912, allocations: 0 / 0.8835 GB, free: 0.5859 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001614/0.008074, allocations: 15.94 kB / 0.8835 GB, free: 0.5703 MB / 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.000155/0.008229, allocations: 111.2 kB / 0.8836 GB, free: 460 kB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 8.331e-05/0.008312, allocations: 15.67 kB / 0.8836 GB, free: 440 kB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.008314, allocations: 0 / 0.8836 GB, free: 440 kB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.707e-05/0.008331, allocations: 15.69 kB / 0.8837 GB, free: 420 kB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001574/0.008488, allocations: 4.281 kB / 0.8837 GB, free: 416 kB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004851/0.008974, allocations: 150.1 kB / 0.8838 GB, free: 236 kB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.633e-05/0.00901, allocations: 55.36 kB / 0.8839 GB, free: 160 kB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.068e-05/0.009031, allocations: 7.984 kB / 0.8839 GB, free: 152 kB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.416e-05/0.009055, allocations: 8.5 kB / 0.8839 GB, free: 140 kB / 0.8386 GB Notification: Performance of SimCode: time 9.12e-07/0.009056, allocations: 0 / 0.8839 GB, free: 140 kB / 0.8386 GB Notification: Performance of Templates: time 0.002575/0.01163, allocations: 0.5976 MB / 0.8845 GB, free: 15.55 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.2275239690206945]