Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.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.Functions.Examples.SpliceFunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Functions.Examples.SpliceFunction") translateModel(Buildings.Utilities.Math.Functions.Examples.SpliceFunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Functions.Examples.SpliceFunction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001168/0.001168, allocations: 106.9 kB / 16.37 MB, free: 6.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001146/0.001146, allocations: 193.8 kB / 17.31 MB, free: 5.824 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.224/1.224, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.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.213/2.213, allocations: 437.1 MB / 0.7112 GB, free: 4.332 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001145/0.001145, allocations: 63.66 kB / 0.8707 GB, free: 1.398 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2507/0.2518, allocations: 151.6 MB / 1.019 GB, free: 9.801 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunction): time 0.001484/0.2534, allocations: 0.5745 MB / 1.019 GB, free: 9.219 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001207/0.2546, allocations: 1.261 MB / 1.021 GB, free: 7.941 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.184e-05/0.2546, allocations: 0 / 1.021 GB, free: 7.941 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 1.12e-05/0.2546, allocations: 3.938 kB / 1.021 GB, free: 7.938 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 4.118e-06/0.2546, allocations: 0 / 1.021 GB, free: 7.938 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002765/0.2549, allocations: 67.73 kB / 1.021 GB, free: 7.871 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 3.45e-05/0.255, allocations: 4 kB / 1.021 GB, free: 7.867 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 3.372e-05/0.255, allocations: 4 kB / 1.021 GB, free: 7.863 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 1.012e-05/0.255, allocations: 4 kB / 1.021 GB, free: 7.859 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 2.936e-05/0.2551, allocations: 3.984 kB / 1.021 GB, free: 7.855 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 5.992e-06/0.2551, allocations: 0 / 1.021 GB, free: 7.855 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001881/0.2553, allocations: 91.91 kB / 1.021 GB, free: 7.766 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 7.253e-06/0.2553, allocations: 3.938 kB / 1.021 GB, free: 7.762 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 1.307e-05/0.2553, allocations: 3.984 kB / 1.021 GB, free: 7.758 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001043/0.2554, allocations: 55.92 kB / 1.021 GB, free: 7.703 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.2554, allocations: 4 kB / 1.021 GB, free: 7.699 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.202e-06/0.2554, allocations: 0 / 1.021 GB, free: 7.699 MB / 0.795 GB Notification: Performance of Transformations before backend: time 3.396e-06/0.2554, allocations: 0 / 1.021 GB, free: 7.699 MB / 0.795 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002428/0.2557, allocations: 331.5 kB / 1.021 GB, free: 7.328 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3e-05/0.2557, allocations: 12.92 kB / 1.021 GB, free: 7.316 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.032e-05/0.2557, allocations: 0.9375 kB / 1.021 GB, free: 7.316 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.08e-05/0.2558, allocations: 160.4 kB / 1.021 GB, free: 7.121 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.296e-06/0.2558, allocations: 384 / 1.021 GB, free: 7.121 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.875e-06/0.2558, allocations: 384 / 1.021 GB, free: 7.121 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.712e-05/0.2559, allocations: 34.02 kB / 1.021 GB, free: 7.082 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.21e-06/0.2559, allocations: 0 / 1.021 GB, free: 7.082 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.242e-06/0.2559, allocations: 0 / 1.021 GB, free: 7.082 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.597e-06/0.2559, allocations: 4 kB / 1.021 GB, free: 7.078 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.696e-05/0.256, allocations: 3.938 kB / 1.021 GB, free: 7.074 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001047/0.2561, allocations: 153.7 kB / 1.021 GB, free: 6.875 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 3.142e-05/0.2561, allocations: 14.58 kB / 1.022 GB, free: 6.852 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.254e-05/0.2561, allocations: 4.859 kB / 1.022 GB, free: 6.844 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004593/0.2566, allocations: 0.5701 MB / 1.022 GB, free: 6.145 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.905e-05/0.2566, allocations: 34.5 kB / 1.022 GB, free: 6.102 MB / 0.795 GB Notification: Performance of pre-optimization done (n=1): time 1.032e-06/0.2566, allocations: 0 / 1.022 GB, free: 6.102 MB / 0.795 GB Notification: Performance of matching and sorting (n=1): time 9.308e-05/0.2567, allocations: 33.64 kB / 1.022 GB, free: 6.062 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.274e-05/0.2567, allocations: 51.41 kB / 1.022 GB, free: 6 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.822e-05/0.2568, allocations: 89.86 kB / 1.022 GB, free: 5.902 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.176e-05/0.2568, allocations: 29.7 kB / 1.022 GB, free: 5.867 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 2.036e-05/0.2568, allocations: 84.27 kB / 1.022 GB, free: 5.781 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.169e-05/0.2568, allocations: 0 / 1.022 GB, free: 5.781 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.473e-05/0.2569, allocations: 17.7 kB / 1.022 GB, free: 5.758 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 7.878e-05/0.2569, allocations: 310.8 kB / 1.023 GB, free: 5.445 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.885e-06/0.257, allocations: 4 kB / 1.023 GB, free: 5.441 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.05e-06/0.257, allocations: 0 / 1.023 GB, free: 5.441 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.604e-05/0.257, allocations: 12.8 kB / 1.023 GB, free: 5.426 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.257, allocations: 0 / 1.023 GB, free: 5.426 MB / 0.795 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.504e-05/0.2571, allocations: 41.7 kB / 1.023 GB, free: 5.379 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.166e-05/0.2571, allocations: 7.938 kB / 1.023 GB, free: 5.371 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.296e-06/0.2571, allocations: 4 kB / 1.023 GB, free: 5.367 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.13e-05/0.2571, allocations: 3.984 kB / 1.023 GB, free: 5.363 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.436e-05/0.2571, allocations: 0 / 1.023 GB, free: 5.363 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.346e-06/0.2571, allocations: 0 / 1.023 GB, free: 5.363 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.141e-05/0.2572, allocations: 0 / 1.023 GB, free: 5.363 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.362e-06/0.2572, allocations: 7.938 kB / 1.023 GB, free: 5.355 MB / 0.795 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 (1): * Single equations (assignments): 1 * 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 5.331e-05/0.2572, allocations: 106.5 kB / 1.023 GB, free: 5.242 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.973e-06/0.2572, allocations: 7.969 kB / 1.023 GB, free: 5.234 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.695e-05/0.2573, allocations: 40.8 kB / 1.023 GB, free: 5.188 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.497e-06/0.2573, allocations: 4 kB / 1.023 GB, free: 5.184 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.836e-06/0.2573, allocations: 3.938 kB / 1.023 GB, free: 5.18 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.763e-06/0.2573, allocations: 0 / 1.023 GB, free: 5.18 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.81e-05/0.2574, allocations: 145.7 kB / 1.023 GB, free: 4.988 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.2574, allocations: 0 / 1.023 GB, free: 4.988 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.432e-05/0.2574, allocations: 4 kB / 1.023 GB, free: 4.984 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.65e-06/0.2575, allocations: 7.969 kB / 1.023 GB, free: 4.977 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.705e-06/0.2575, allocations: 7.984 kB / 1.023 GB, free: 4.969 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.61e-07/0.2575, allocations: 0 / 1.023 GB, free: 4.969 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.12e-07/0.2575, allocations: 0 / 1.023 GB, free: 4.969 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.314e-05/0.2575, allocations: 57.14 kB / 1.023 GB, free: 4.895 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 2.618e-05/0.2576, allocations: 77.11 kB / 1.023 GB, free: 4.801 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.997e-06/0.2576, allocations: 3.938 kB / 1.023 GB, free: 4.797 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.628e-06/0.2576, allocations: 4.031 kB / 1.023 GB, free: 4.793 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.374e-05/0.2576, allocations: 7.969 kB / 1.023 GB, free: 4.785 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.764e-06/0.2576, allocations: 0 / 1.023 GB, free: 4.785 MB / 0.795 GB Notification: Performance of sorting global known variables: time 2.306e-05/0.2576, allocations: 79.28 kB / 1.023 GB, free: 4.707 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2576, allocations: 0 / 1.023 GB, free: 4.707 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0001858/0.2578, allocations: 4 kB / 1.023 GB, free: 4.703 MB / 0.795 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 (1): * Single equations (assignments): 1 * 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.00012/0.258, allocations: 111.2 kB / 1.023 GB, free: 4.586 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 4.904e-05/0.258, allocations: 4 kB / 1.023 GB, free: 4.582 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.393e-06/0.258, allocations: 4.062 kB / 1.023 GB, free: 4.578 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 7.685e-06/0.258, allocations: 3.984 kB / 1.023 GB, free: 4.574 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001116/0.2582, allocations: 7.938 kB / 1.023 GB, free: 4.566 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001283/0.2583, allocations: 77.48 kB / 1.024 GB, free: 4.465 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001721/0.2585, allocations: 0.669 MB / 1.024 GB, free: 3.77 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 1.602e-05/0.2585, allocations: 4 kB / 1.024 GB, free: 3.766 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.799e-06/0.2585, allocations: 11.5 kB / 1.024 GB, free: 3.754 MB / 0.795 GB Notification: Performance of SimCode: time 2.4e-07/0.2585, allocations: 3.938 kB / 1.024 GB, free: 3.75 MB / 0.795 GB Notification: Performance of Templates: time 0.001746/0.2603, allocations: 296.7 kB / 1.024 GB, free: 3.461 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.makefile (rm -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.sim & ./Buildings_10_Buildings.Utilities.Math.Functions.Examples.SpliceFunction -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Functions.Examples.SpliceFunction_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Functions_Examples_SpliceFunction.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches