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.0007506/0.0007506, allocations: 76.17 kB / 9.931 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001067/0.001818, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 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.0006872/0.0006872, allocations: 165.2 kB / 11.26 MB, free: 2.906 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001332/0.002019, allocations: 459.6 kB / 11.71 MB, free: 2.453 MB / 13.93 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.959/0.959, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07901/1.038, allocations: 53.65 MB / 243.3 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.805/1.805, allocations: 378.2 MB / 0.6076 GB, free: 7.828 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4773/2.283, allocations: 123.3 MB / 0.728 GB, free: 5.812 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.182e-06/1.182e-06, allocations: 0 / 0.7293 GB, free: 4.508 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.639e-05/1.757e-05, allocations: 4.844 kB / 0.7293 GB, free: 4.504 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Splice): time 0.001805/0.001822, allocations: 1.607 MB / 0.7309 GB, free: 2.91 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0007715/0.002594, allocations: 0.7182 MB / 0.7316 GB, free: 2.195 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.214e-05/0.002636, allocations: 0 / 0.7316 GB, free: 2.195 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 2.253e-05/0.002658, allocations: 9.312 kB / 0.7316 GB, free: 2.188 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 2.531e-05/0.002684, allocations: 11.5 kB / 0.7316 GB, free: 2.18 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.000203/0.002887, allocations: 89.67 kB / 0.7317 GB, free: 2.094 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 8.402e-05/0.002971, allocations: 37.28 kB / 0.7318 GB, free: 2.066 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 7.668e-05/0.003047, allocations: 16.5 kB / 0.7318 GB, free: 2.051 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000101/0.003148, allocations: 34.88 kB / 0.7318 GB, free: 2.02 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 4.652e-05/0.003195, allocations: 15.92 kB / 0.7318 GB, free: 2.004 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.014e-05/0.003205, allocations: 0.5 kB / 0.7318 GB, free: 2.004 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001711/0.003376, allocations: 128.7 kB / 0.7319 GB, free: 1.879 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.129e-05/0.003387, allocations: 7.938 kB / 0.7319 GB, free: 1.871 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 1.497e-05/0.003402, allocations: 8 kB / 0.732 GB, free: 1.863 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001407/0.003543, allocations: 93.17 kB / 0.732 GB, free: 1.773 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.222e-05/0.003555, allocations: 0 / 0.732 GB, free: 1.773 MB / 0.698 GB Notification: Performance of FrontEnd: time 5.81e-07/0.003556, allocations: 0 / 0.732 GB, free: 1.773 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.206e-05/0.003568, allocations: 0 / 0.732 GB, free: 1.773 MB / 0.698 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.0003236/0.003891, allocations: 281 kB / 0.7323 GB, free: 1.477 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 2.897e-05/0.00392, allocations: 8.719 kB / 0.7323 GB, free: 1.469 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001299/0.00405, allocations: 93.97 kB / 0.7324 GB, free: 1.359 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001132/0.004163, allocations: 119.5 kB / 0.7325 GB, free: 1.219 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.526e-06/0.004172, allocations: 8.375 kB / 0.7325 GB, free: 1.211 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.971e-06/0.004178, allocations: 384 / 0.7325 GB, free: 1.211 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.391e-05/0.004262, allocations: 62.88 kB / 0.7326 GB, free: 1.141 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.962e-06/0.004268, allocations: 1.25 kB / 0.7326 GB, free: 1.141 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.843e-06/0.004275, allocations: 4.375 kB / 0.7326 GB, free: 1.137 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.00428, allocations: 3.938 kB / 0.7326 GB, free: 1.133 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.111e-05/0.004301, allocations: 13.05 kB / 0.7326 GB, free: 1.121 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001732/0.004474, allocations: 156.3 kB / 0.7328 GB, free: 0.9531 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 3.772e-05/0.004512, allocations: 27.19 kB / 0.7328 GB, free: 0.918 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.092e-05/0.004522, allocations: 9.797 kB / 0.7328 GB, free: 0.9062 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001402/0.004663, allocations: 36.72 kB / 0.7328 GB, free: 0.8711 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.886e-05/0.004681, allocations: 39.12 kB / 0.7329 GB, free: 0.8242 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 1.593e-06/0.004683, allocations: 1.812 kB / 0.7329 GB, free: 0.8242 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 9.08e-05/0.004774, allocations: 37.69 kB / 0.7329 GB, free: 0.7812 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.246e-05/0.004796, allocations: 51.41 kB / 0.733 GB, free: 0.7188 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.038e-05/0.004847, allocations: 118.6 kB / 0.7331 GB, free: 0.5898 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 8.406e-06/0.004855, allocations: 26.67 kB / 0.7331 GB, free: 0.5586 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 2.931e-05/0.004884, allocations: 96.03 kB / 0.7332 GB, free: 472 kB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.523e-05/0.0049, allocations: 7.938 kB / 0.7332 GB, free: 464 kB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.178e-05/0.004921, allocations: 18.2 kB / 0.7332 GB, free: 440 kB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.217e-05/0.004994, allocations: 311.9 kB / 0.7335 GB, free: 120 kB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.627e-06/0.005002, allocations: 7.938 kB / 0.7335 GB, free: 112 kB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.655e-06/0.00501, allocations: 4 kB / 0.7335 GB, free: 108 kB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.155e-05/0.005031, allocations: 13.66 kB / 0.7335 GB, free: 92 kB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.005033, allocations: 1.031 kB / 0.7335 GB, free: 92 kB / 0.698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 3.621e-05/0.005069, allocations: 37.64 kB / 0.7336 GB, free: 48 kB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.173e-05/0.005081, allocations: 10.8 kB / 0.7336 GB, free: 40 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.558e-06/0.005086, allocations: 0 / 0.7336 GB, free: 40 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.417e-06/0.005095, allocations: 5.781 kB / 0.7336 GB, free: 36 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.78e-05/0.005143, allocations: 4 kB / 0.7336 GB, free: 32 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.144e-06/0.005145, allocations: 0 / 0.7336 GB, free: 32 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.153e-05/0.005157, allocations: 0 / 0.7336 GB, free: 32 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.639e-06/0.005161, allocations: 3.938 kB / 0.7336 GB, free: 28 kB / 0.698 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.086e-05/0.005222, allocations: 123 kB / 0.7337 GB, free: 15.9 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.184e-05/0.005234, allocations: 3.938 kB / 0.7337 GB, free: 15.89 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.61e-05/0.0053, allocations: 47.23 kB / 0.7338 GB, free: 15.84 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.352e-06/0.005301, allocations: 0 / 0.7338 GB, free: 15.84 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.463e-06/0.005303, allocations: 3.938 kB / 0.7338 GB, free: 15.84 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.005305, allocations: 0 / 0.7338 GB, free: 15.84 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.506e-05/0.00538, allocations: 69.89 kB / 0.7338 GB, free: 15.75 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.21e-07/0.005381, allocations: 0.75 kB / 0.7338 GB, free: 15.75 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.705e-05/0.005398, allocations: 4 kB / 0.7338 GB, free: 15.75 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 7.594e-06/0.005406, allocations: 8.688 kB / 0.7338 GB, free: 15.74 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.005408, allocations: 3.938 kB / 0.7338 GB, free: 15.73 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.809e-06/0.005412, allocations: 4.734 kB / 0.7339 GB, free: 15.73 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.51e-07/0.005413, allocations: 0 / 0.7339 GB, free: 15.73 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-07/0.005414, allocations: 1.688 kB / 0.7339 GB, free: 15.73 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.043e-05/0.005474, allocations: 135.5 kB / 0.734 GB, free: 15.58 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.005e-06/0.005482, allocations: 4 kB / 0.734 GB, free: 15.58 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.644e-05/0.005508, allocations: 3.938 kB / 0.734 GB, free: 15.57 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.884e-05/0.005527, allocations: 0.5 kB / 0.734 GB, free: 15.57 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.724e-06/0.005529, allocations: 1.188 kB / 0.734 GB, free: 15.57 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.8e-05/0.005547, allocations: 16.84 kB / 0.734 GB, free: 15.55 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5e-08/0.005547, allocations: 0 / 0.734 GB, free: 15.55 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001256/0.005673, allocations: 24.42 kB / 0.734 GB, free: 15.53 MB / 0.7136 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.000103/0.005776, allocations: 93.06 kB / 0.7341 GB, free: 15.43 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 5.241e-05/0.005828, allocations: 13.33 kB / 0.7341 GB, free: 15.42 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/0.005833, allocations: 4.938 kB / 0.7341 GB, free: 15.41 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.209e-05/0.005845, allocations: 12.84 kB / 0.7341 GB, free: 15.4 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.649e-05/0.005941, allocations: 1.75 kB / 0.7342 GB, free: 15.4 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005854/0.006527, allocations: 143.2 kB / 0.7343 GB, free: 15.23 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.707e-05/0.006554, allocations: 51.36 kB / 0.7343 GB, free: 15.16 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 1.54e-05/0.006569, allocations: 4 kB / 0.7343 GB, free: 15.16 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.885e-05/0.006598, allocations: 51.36 kB / 0.7344 GB, free: 15.11 MB / 0.7136 GB Notification: Performance of SimCode: time 4.61e-07/0.006599, allocations: 7.938 kB / 0.7344 GB, free: 15.1 MB / 0.7136 GB Notification: Performance of Templates: time 0.001851/0.00845, allocations: 0.5749 MB / 0.735 GB, free: 14.56 MB / 0.7136 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Examples.Splice.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.Splice_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Utilities.Math.Examples.Splice/Buildings_12_Buildings.Utilities.Math.Examples.Splice.ref.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: 4.741599970497191]