Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_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_10_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.00145/0.00145, allocations: 100.1 kB / 15.88 MB, free: 12 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.001749/0.001749, allocations: 198.4 kB / 16.79 MB, free: 6.809 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.407/1.407, allocations: 222.9 MB / 240.5 MB, free: 4.586 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.691/2.691, allocations: 437 MB / 0.7106 GB, free: 5.324 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001429/0.001429, allocations: 63.91 kB / 0.8692 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6268/0.6283, allocations: 151.6 MB / 1.017 GB, free: 2.785 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Splice): time 0.003626/0.632, allocations: 1.576 MB / 1.019 GB, free: 1.203 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001368/0.6334, allocations: 0.6591 MB / 1.019 GB, free: 0.5352 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.294e-05/0.6334, allocations: 0 / 1.019 GB, free: 0.5352 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 4.433e-05/0.6335, allocations: 4 kB / 1.019 GB, free: 0.5312 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 7.105e-05/0.6336, allocations: 7.922 kB / 1.019 GB, free: 0.5234 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004434/0.6341, allocations: 55.88 kB / 1.02 GB, free: 480 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 8.826e-05/0.6342, allocations: 39.8 kB / 1.02 GB, free: 440 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001257/0.6343, allocations: 16 kB / 1.02 GB, free: 424 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 9.863e-05/0.6344, allocations: 11.98 kB / 1.02 GB, free: 412 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 7.457e-05/0.6345, allocations: 23.84 kB / 1.02 GB, free: 388 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.525e-05/0.6345, allocations: 4 kB / 1.02 GB, free: 384 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002152/0.6347, allocations: 91.91 kB / 1.02 GB, free: 292 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.63e-05/0.6347, allocations: 4 kB / 1.02 GB, free: 288 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 4.171e-05/0.6348, allocations: 23.84 kB / 1.02 GB, free: 264 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001697/0.635, allocations: 61.89 kB / 1.02 GB, free: 204 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/0.635, allocations: 0 / 1.02 GB, free: 204 kB / 0.7637 GB Notification: Performance of FrontEnd: time 1.553e-06/0.635, allocations: 0 / 1.02 GB, free: 204 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 6.001e-06/0.635, allocations: 4 kB / 1.02 GB, free: 200 kB / 0.7637 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.0006679/0.6357, allocations: 359.4 kB / 1.02 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.489e-05/0.6357, allocations: 8.031 kB / 1.02 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.724e-05/0.6358, allocations: 8.844 kB / 1.02 GB, free: 15.78 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001589/0.636, allocations: 168.3 kB / 1.02 GB, free: 15.58 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.825e-05/0.636, allocations: 4.375 kB / 1.02 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.241e-05/0.636, allocations: 384 / 1.02 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001802/0.6362, allocations: 65.92 kB / 1.02 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.6362, allocations: 0 / 1.02 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.142e-05/0.6362, allocations: 4 kB / 1.02 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.6362, allocations: 0 / 1.02 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001038/0.6363, allocations: 31.97 kB / 1.02 GB, free: 15.47 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004615/0.6368, allocations: 276.7 kB / 1.021 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001031/0.6369, allocations: 34.56 kB / 1.021 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.277e-05/0.637, allocations: 16.91 kB / 1.021 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005843/0.6376, allocations: 0.5623 MB / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.672e-05/0.6376, allocations: 30.56 kB / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 1.252e-06/0.6376, allocations: 0 / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0002846/0.6379, allocations: 73.61 kB / 1.021 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.948e-05/0.638, allocations: 51.41 kB / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001207/0.6381, allocations: 125.8 kB / 1.022 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.661e-05/0.6381, allocations: 25.7 kB / 1.022 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.765e-05/0.6382, allocations: 92.12 kB / 1.022 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.962e-05/0.6382, allocations: 3.906 kB / 1.022 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.025e-05/0.6383, allocations: 13.72 kB / 1.022 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001666/0.6384, allocations: 322.8 kB / 1.022 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.644e-05/0.6385, allocations: 16.03 kB / 1.022 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.535e-05/0.6385, allocations: 7.984 kB / 1.022 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.198e-05/0.6386, allocations: 28.78 kB / 1.022 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.6386, allocations: 0 / 1.022 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001295/0.6388, allocations: 53.69 kB / 1.022 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.484e-05/0.6388, allocations: 4 kB / 1.022 GB, free: 13.49 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.698e-06/0.6388, allocations: 0 / 1.022 GB, free: 13.49 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.172e-05/0.6388, allocations: 4.094 kB / 1.022 GB, free: 13.49 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.918e-05/0.6389, allocations: 7.984 kB / 1.022 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.6389, allocations: 0 / 1.022 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.238e-05/0.6389, allocations: 11.84 kB / 1.022 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.946e-06/0.639, allocations: 4 kB / 1.022 GB, free: 13.46 MB / 0.7794 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.486e-05/0.639, allocations: 113.8 kB / 1.022 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.577e-05/0.6391, allocations: 0 / 1.022 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001637/0.6392, allocations: 73.14 kB / 1.022 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.6392, allocations: 0 / 1.022 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.6393, allocations: 0 / 1.022 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.064e-06/0.6393, allocations: 0 / 1.022 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001635/0.6394, allocations: 173.6 kB / 1.022 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/0.6394, allocations: 0 / 1.022 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.361e-05/0.6395, allocations: 4 kB / 1.022 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.198e-06/0.6395, allocations: 0 / 1.022 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.362e-06/0.6395, allocations: 3.938 kB / 1.022 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.795e-06/0.6395, allocations: 7.938 kB / 1.022 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.689e-06/0.6395, allocations: 7.984 kB / 1.022 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001606/0.6397, allocations: 159.3 kB / 1.023 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.555e-05/0.6397, allocations: 81.02 kB / 1.023 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.625e-05/0.6398, allocations: 8 kB / 1.023 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.586e-05/0.6398, allocations: 0 / 1.023 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.035e-05/0.6399, allocations: 3.984 kB / 1.023 GB, free: 12.74 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.56e-06/0.6399, allocations: 4 kB / 1.023 GB, free: 12.74 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.735e-05/0.6399, allocations: 95.3 kB / 1.023 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6399, allocations: 0 / 1.023 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002347/0.6402, allocations: 19.94 kB / 1.023 GB, free: 12.62 MB / 0.7794 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.0001506/0.6403, allocations: 99.78 kB / 1.023 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001277/0.6405, allocations: 23.98 kB / 1.023 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.6405, allocations: 0 / 1.023 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 6.327e-05/0.6406, allocations: 23.98 kB / 1.023 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002146/0.6408, allocations: 0 / 1.023 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003052/0.6411, allocations: 162.1 kB / 1.023 GB, free: 12.28 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003077/0.6414, allocations: 0.6848 MB / 1.024 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.662e-05/0.6414, allocations: 11.44 kB / 1.024 GB, free: 11.56 MB / 0.7794 GB Notification: Performance of SimCode: time 3.41e-07/0.6414, allocations: 4.062 kB / 1.024 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of Templates: time 0.002118/0.6436, allocations: 0.7031 MB / 1.024 GB, free: 10.85 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Utilities.Math.Examples.Splice.makefile (rm -f Buildings_10_Buildings.Utilities.Math.Examples.Splice.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Examples.Splice.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Examples.Splice.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Examples.Splice.sim & ./Buildings_10_Buildings.Utilities.Math.Examples.Splice -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Examples.Splice.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Examples.Splice_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Examples_Splice.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Examples.Splice.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches