Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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=5000,variableFilter="time|splice.x|splice.y",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Examples.Splice") translateModel(Buildings.Utilities.Math.Examples.Splice,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|splice.x|splice.y",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Examples.Splice") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001047/0.001047, allocations: 99.5 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001514/0.001514, allocations: 185.5 kB / 16.92 MB, free: 6.703 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.485/1.485, allocations: 223.3 MB / 241 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.478/2.478, allocations: 390.9 MB / 0.667 GB, free: 2.414 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003699/0.0003702, allocations: 11.98 kB / 0.8166 GB, free: 13.28 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6394/0.6398, allocations: 142.4 MB / 0.9557 GB, free: 7.746 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Splice): time 0.00138/0.6412, allocations: 1.216 MB / 0.9569 GB, free: 6.781 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0008595/0.6421, allocations: 0.6412 MB / 0.9575 GB, free: 6.281 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.716e-05/0.6421, allocations: 1.125 kB / 0.9575 GB, free: 6.281 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.474e-05/0.6421, allocations: 7.938 kB / 0.9575 GB, free: 6.273 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.885e-05/0.6422, allocations: 5.219 kB / 0.9575 GB, free: 6.27 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000249/0.6424, allocations: 58.86 kB / 0.9576 GB, free: 6.23 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.173e-05/0.6425, allocations: 33.73 kB / 0.9576 GB, free: 6.211 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001003/0.6426, allocations: 9.875 kB / 0.9576 GB, free: 6.207 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.608e-05/0.6427, allocations: 21.64 kB / 0.9576 GB, free: 6.191 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.977e-05/0.6427, allocations: 12.56 kB / 0.9577 GB, free: 6.184 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.099e-05/0.6428, allocations: 1 kB / 0.9577 GB, free: 6.184 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001827/0.643, allocations: 98.91 kB / 0.9578 GB, free: 6.133 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.512e-05/0.643, allocations: 9.781 kB / 0.9578 GB, free: 6.125 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.939e-05/0.643, allocations: 32.95 kB / 0.9578 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001089/0.6431, allocations: 65.94 kB / 0.9579 GB, free: 6.051 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.147e-06/0.6431, allocations: 0 / 0.9579 GB, free: 6.051 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.513e-06/0.6431, allocations: 0 / 0.9579 GB, free: 6.051 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.744e-06/0.6432, allocations: 1 kB / 0.9579 GB, free: 6.051 MB / 0.7169 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.0003389/0.6435, allocations: 364.2 kB / 0.9582 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.335e-05/0.6435, allocations: 12.62 kB / 0.9582 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.605e-05/0.6436, allocations: 3.5 kB / 0.9582 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.123e-05/0.6437, allocations: 174.9 kB / 0.9584 GB, free: 5.453 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.123e-05/0.6437, allocations: 5.422 kB / 0.9584 GB, free: 5.449 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.12e-05/0.6437, allocations: 3.094 kB / 0.9584 GB, free: 5.449 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001345/0.6438, allocations: 64.39 kB / 0.9585 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.803e-06/0.6438, allocations: 0 / 0.9585 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.887e-06/0.6439, allocations: 5.969 kB / 0.9585 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.449e-06/0.6439, allocations: 0 / 0.9585 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.479e-05/0.644, allocations: 34.41 kB / 0.9585 GB, free: 5.375 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000292/0.6443, allocations: 280.4 kB / 0.9588 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 7.904e-05/0.6444, allocations: 37.2 kB / 0.9588 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.498e-05/0.6444, allocations: 17.56 kB / 0.9588 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00031/0.6447, allocations: 0.5591 MB / 0.9594 GB, free: 4.355 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.491e-05/0.6447, allocations: 32.16 kB / 0.9594 GB, free: 4.316 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.6448, allocations: 4 kB / 0.9594 GB, free: 4.312 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0002256/0.645, allocations: 73.42 kB / 0.9595 GB, free: 4.262 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.812e-05/0.645, allocations: 51.41 kB / 0.9595 GB, free: 4.199 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.984e-05/0.6451, allocations: 126.2 kB / 0.9596 GB, free: 4.082 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.813e-06/0.6451, allocations: 25.7 kB / 0.9597 GB, free: 4.051 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.506e-05/0.6451, allocations: 91.17 kB / 0.9597 GB, free: 3.961 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.433e-05/0.6452, allocations: 5.531 kB / 0.9597 GB, free: 3.957 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.97e-05/0.6452, allocations: 13.72 kB / 0.9598 GB, free: 3.938 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.223e-05/0.6452, allocations: 320.5 kB / 0.9601 GB, free: 3.617 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.29e-05/0.6453, allocations: 11.31 kB / 0.9601 GB, free: 3.613 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.455e-05/0.6453, allocations: 15.23 kB / 0.9601 GB, free: 3.605 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.6e-05/0.6454, allocations: 33.12 kB / 0.9601 GB, free: 3.586 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.532e-06/0.6454, allocations: 0 / 0.9601 GB, free: 3.586 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000113/0.6455, allocations: 63 kB / 0.9602 GB, free: 3.539 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.38e-05/0.6455, allocations: 7.188 kB / 0.9602 GB, free: 3.539 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.6456, allocations: 0 / 0.9602 GB, free: 3.539 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.123e-05/0.6456, allocations: 0 / 0.9602 GB, free: 3.539 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.623e-05/0.6456, allocations: 17.61 kB / 0.9602 GB, free: 3.527 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.398e-06/0.6457, allocations: 0 / 0.9602 GB, free: 3.527 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.54e-05/0.6457, allocations: 7.969 kB / 0.9602 GB, free: 3.523 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.7e-06/0.6457, allocations: 0 / 0.9602 GB, free: 3.523 MB / 0.7169 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 4.512e-05/0.6458, allocations: 112.4 kB / 0.9603 GB, free: 3.406 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.563e-05/0.6458, allocations: 6.375 kB / 0.9603 GB, free: 3.402 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001478/0.6459, allocations: 70.02 kB / 0.9604 GB, free: 3.344 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.764e-06/0.6459, allocations: 0 / 0.9604 GB, free: 3.344 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.646, allocations: 5.375 kB / 0.9604 GB, free: 3.34 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.913e-06/0.646, allocations: 3.938 kB / 0.9604 GB, free: 3.336 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001125/0.6461, allocations: 173.8 kB / 0.9606 GB, free: 3.125 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.6461, allocations: 0 / 0.9606 GB, free: 3.125 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.168e-05/0.6461, allocations: 9.484 kB / 0.9606 GB, free: 3.121 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.6461, allocations: 0 / 0.9606 GB, free: 3.121 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.412e-06/0.6462, allocations: 1.375 kB / 0.9606 GB, free: 3.121 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.6462, allocations: 0 / 0.9606 GB, free: 3.121 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.6462, allocations: 4.031 kB / 0.9606 GB, free: 3.117 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001332/0.6463, allocations: 153.5 kB / 0.9607 GB, free: 2.973 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.025e-05/0.6463, allocations: 86.39 kB / 0.9608 GB, free: 2.871 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.26e-05/0.6464, allocations: 1.375 kB / 0.9608 GB, free: 2.871 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.104e-05/0.6464, allocations: 2.75 kB / 0.9608 GB, free: 2.871 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.337e-05/0.6464, allocations: 9.391 kB / 0.9608 GB, free: 2.863 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.096e-06/0.6465, allocations: 0 / 0.9608 GB, free: 2.863 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.431e-05/0.6465, allocations: 94.27 kB / 0.9609 GB, free: 2.781 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6465, allocations: 0 / 0.9609 GB, free: 2.781 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002556/0.6468, allocations: 13.56 kB / 0.9609 GB, free: 2.777 MB / 0.7169 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.0001259/0.6469, allocations: 119.4 kB / 0.961 GB, free: 2.672 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.00013/0.647, allocations: 29.95 kB / 0.9611 GB, free: 2.66 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.647, allocations: 0 / 0.9611 GB, free: 2.66 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 4.569e-05/0.6471, allocations: 14.33 kB / 0.9611 GB, free: 2.656 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002149/0.6473, allocations: 3.578 kB / 0.9611 GB, free: 2.656 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002739/0.6476, allocations: 176.2 kB / 0.9613 GB, free: 2.484 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001129/0.6477, allocations: 0.6886 MB / 0.9619 GB, free: 1.777 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.086e-05/0.6477, allocations: 9.875 kB / 0.9619 GB, free: 1.77 MB / 0.7169 GB Notification: Performance of SimCode: time 2.6e-07/0.6478, allocations: 0 / 0.9619 GB, free: 1.77 MB / 0.7169 GB Notification: Performance of Templates: time 0.001952/0.6497, allocations: 0.7056 MB / 0.9626 GB, free: 1.418 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Examples.Splice.makefile (rm -f Buildings_9_Buildings.Utilities.Math.Examples.Splice.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Examples.Splice.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Examples.Splice.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Examples.Splice.sim & ./Buildings_9_Buildings.Utilities.Math.Examples.Splice -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Examples.Splice.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Examples.Splice_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Examples_Splice.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Examples.Splice.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches