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.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001564/0.001564, allocations: 103.8 kB / 18.19 MB, free: 3.879 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001693/0.001693, allocations: 188.4 kB / 21.34 MB, free: 0.7383 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.441/1.441, allocations: 225.6 MB / 249.9 MB, free: 13.42 MB / 206.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.149/3.149, allocations: 489.7 MB / 0.7761 GB, free: 33.7 MB / 0.6231 GB [Timeout remaining time 87] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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=501,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=501,variableFilter="time|splice.x|splice.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.Splice") [Timeout 300] Notification: Performance of FrontEnd - loaded program: time 0.001947/0.001947, allocations: 64.23 kB / 1.127 GB, free: 36.65 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3431/0.345, allocations: 172.1 MB / 1.295 GB, free: 11.61 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Splice): time 0.003864/0.3489, allocations: 1.512 MB / 1.296 GB, free: 10.09 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001214/0.3501, allocations: 0.6427 MB / 1.297 GB, free: 9.441 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.797e-05/0.3501, allocations: 0 / 1.297 GB, free: 9.441 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.877e-05/0.3502, allocations: 11.94 kB / 1.297 GB, free: 9.43 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 5.373e-05/0.3502, allocations: 3.938 kB / 1.297 GB, free: 9.426 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004006/0.3506, allocations: 79.72 kB / 1.297 GB, free: 9.348 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 8.714e-05/0.3507, allocations: 39.86 kB / 1.297 GB, free: 9.309 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000105/0.3508, allocations: 15.92 kB / 1.297 GB, free: 9.293 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 8.386e-05/0.3509, allocations: 19.92 kB / 1.297 GB, free: 9.273 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.624e-05/0.351, allocations: 11.94 kB / 1.297 GB, free: 9.262 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.686e-05/0.351, allocations: 7.938 kB / 1.297 GB, free: 9.254 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002149/0.3512, allocations: 99.88 kB / 1.297 GB, free: 9.156 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.828e-05/0.3512, allocations: 11.94 kB / 1.297 GB, free: 9.145 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.328e-05/0.3512, allocations: 19.86 kB / 1.297 GB, free: 9.125 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002064/0.3515, allocations: 83.77 kB / 1.297 GB, free: 9.043 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.3515, allocations: 0 / 1.297 GB, free: 9.043 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.192e-06/0.3515, allocations: 0 / 1.297 GB, free: 9.043 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.561e-06/0.3515, allocations: 4 kB / 1.297 GB, free: 9.039 MB / 0.9981 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.0005598/0.352, allocations: 363.2 kB / 1.298 GB, free: 8.637 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.299e-05/0.3521, allocations: 8.031 kB / 1.298 GB, free: 8.629 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.914e-05/0.3521, allocations: 4.938 kB / 1.298 GB, free: 8.625 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001645/0.3523, allocations: 188.2 kB / 1.298 GB, free: 8.402 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.282e-05/0.3523, allocations: 384 / 1.298 GB, free: 8.402 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.547e-05/0.3523, allocations: 4.375 kB / 1.298 GB, free: 8.398 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000167/0.3525, allocations: 54 kB / 1.298 GB, free: 8.34 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.907e-06/0.3525, allocations: 0 / 1.298 GB, free: 8.34 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.022e-05/0.3525, allocations: 3.938 kB / 1.298 GB, free: 8.336 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.3525, allocations: 0 / 1.298 GB, free: 8.336 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.933e-05/0.3526, allocations: 31.97 kB / 1.298 GB, free: 8.305 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004275/0.353, allocations: 288.7 kB / 1.298 GB, free: 7.973 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 9.622e-05/0.3531, allocations: 26.58 kB / 1.298 GB, free: 7.938 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.941e-05/0.3532, allocations: 12.91 kB / 1.298 GB, free: 7.922 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005687/0.3537, allocations: 0.5583 MB / 1.299 GB, free: 7.234 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.291e-05/0.3538, allocations: 38.55 kB / 1.299 GB, free: 7.188 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=2): time 1.373e-06/0.3538, allocations: 0 / 1.299 GB, free: 7.188 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2): time 0.0002635/0.354, allocations: 69.56 kB / 1.299 GB, free: 7.113 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.935e-05/0.3541, allocations: 55.41 kB / 1.299 GB, free: 7.047 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001134/0.3542, allocations: 121.8 kB / 1.299 GB, free: 6.918 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.55e-05/0.3542, allocations: 25.7 kB / 1.299 GB, free: 6.887 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 6.354e-05/0.3543, allocations: 88.27 kB / 1.299 GB, free: 6.797 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.859e-05/0.3543, allocations: 11.89 kB / 1.299 GB, free: 6.785 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.018e-05/0.3543, allocations: 21.7 kB / 1.299 GB, free: 6.758 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001447/0.3545, allocations: 314.8 kB / 1.3 GB, free: 6.441 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.154e-05/0.3545, allocations: 15.98 kB / 1.3 GB, free: 6.426 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.314e-05/0.3546, allocations: 4 kB / 1.3 GB, free: 6.422 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.721e-05/0.3546, allocations: 32.78 kB / 1.3 GB, free: 6.387 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.3546, allocations: 4.062 kB / 1.3 GB, free: 6.383 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001395/0.3548, allocations: 57.64 kB / 1.3 GB, free: 6.32 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.585e-05/0.3548, allocations: 4 kB / 1.3 GB, free: 6.316 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/0.3548, allocations: 0 / 1.3 GB, free: 6.316 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.521e-05/0.3548, allocations: 3.984 kB / 1.3 GB, free: 6.312 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.006e-05/0.3549, allocations: 4 kB / 1.3 GB, free: 6.309 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.66e-06/0.3549, allocations: 3.938 kB / 1.3 GB, free: 6.305 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.826e-05/0.3549, allocations: 8 kB / 1.3 GB, free: 6.297 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.584e-06/0.3549, allocations: 0 / 1.3 GB, free: 6.297 MB / 0.9981 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.762e-05/0.355, allocations: 121.8 kB / 1.3 GB, free: 6.168 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.704e-05/0.3551, allocations: 0 / 1.3 GB, free: 6.168 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001861/0.3552, allocations: 69.14 kB / 1.3 GB, free: 6.094 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.3552, allocations: 0 / 1.3 GB, free: 6.094 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.3553, allocations: 3.938 kB / 1.3 GB, free: 6.09 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.144e-06/0.3553, allocations: 0 / 1.3 GB, free: 6.09 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001862/0.3554, allocations: 173.5 kB / 1.3 GB, free: 5.871 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.3554, allocations: 0 / 1.3 GB, free: 5.871 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.621e-05/0.3555, allocations: 8.031 kB / 1.3 GB, free: 5.863 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.255e-06/0.3555, allocations: 0 / 1.3 GB, free: 5.863 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.322e-06/0.3555, allocations: 0 / 1.3 GB, free: 5.863 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-06/0.3555, allocations: 0 / 1.3 GB, free: 5.863 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.3555, allocations: 4 kB / 1.3 GB, free: 5.859 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000188/0.3557, allocations: 151.4 kB / 1.3 GB, free: 5.695 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.617e-05/0.3558, allocations: 89.06 kB / 1.3 GB, free: 5.59 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.377e-05/0.3558, allocations: 4.031 kB / 1.3 GB, free: 5.586 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.374e-05/0.3558, allocations: 3.984 kB / 1.3 GB, free: 5.582 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.137e-05/0.3559, allocations: 0 / 1.3 GB, free: 5.582 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.657e-06/0.3559, allocations: 4 kB / 1.3 GB, free: 5.578 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 6.484e-05/0.3559, allocations: 91.27 kB / 1.3 GB, free: 5.488 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/0.3559, allocations: 0 / 1.3 GB, free: 5.488 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002347/0.3562, allocations: 15.94 kB / 1.3 GB, free: 5.473 MB / 0.9981 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.000179/0.3564, allocations: 107.7 kB / 1.3 GB, free: 5.359 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001418/0.3565, allocations: 27.97 kB / 1.301 GB, free: 5.332 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.3565, allocations: 0 / 1.301 GB, free: 5.332 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 4.996e-05/0.3565, allocations: 11.94 kB / 1.301 GB, free: 5.32 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002196/0.3568, allocations: 8 kB / 1.301 GB, free: 5.312 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000385/0.3572, allocations: 164.2 kB / 1.301 GB, free: 5.117 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003251/0.3575, allocations: 0.6847 MB / 1.301 GB, free: 4.406 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.462e-05/0.3575, allocations: 7.438 kB / 1.301 GB, free: 4.398 MB / 0.9981 GB Notification: Performance of SimCode: time 3.71e-07/0.3575, allocations: 0 / 1.301 GB, free: 4.398 MB / 0.9981 GB Notification: Performance of Templates: time 0.002441/0.3599, allocations: 0.7284 MB / 1.302 GB, free: 3.672 MB / 0.9981 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=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.Splice.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.Splice_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_Splice.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Examples.Splice.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] [Timeout remaining time 300] Reference file matches