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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.SpliceFunction,fileNamePrefix="Buildings_10_Buildings_Utilities_Math_Functions_Examples_SpliceFunction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.SpliceFunction,fileNamePrefix="Buildings_10_Buildings_Utilities_Math_Functions_Examples_SpliceFunction",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01004/0.01004, allocations: 99.45 kB / 15.73 MB, free: 6.059 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.00228/0.00228, allocations: 194.1 kB / 16.67 MB, free: 5.969 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.43/1.43, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.593/2.593, allocations: 437 MB / 0.7105 GB, free: 4.352 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001391/0.001392, allocations: 67.89 kB / 1.018 GB, free: 9.848 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8188/0.8202, allocations: 151.6 MB / 1.166 GB, free: 3.77 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunction): time 0.001997/0.8222, allocations: 0.5767 MB / 1.167 GB, free: 3.195 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001733/0.824, allocations: 1.248 MB / 1.168 GB, free: 1.934 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.23e-05/0.824, allocations: 0 / 1.168 GB, free: 1.934 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 1.426e-05/0.8241, allocations: 0 / 1.168 GB, free: 1.934 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 5.78e-06/0.8241, allocations: 0 / 1.168 GB, free: 1.934 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.000438/0.8245, allocations: 71.73 kB / 1.168 GB, free: 1.863 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 4.896e-05/0.8246, allocations: 4 kB / 1.168 GB, free: 1.859 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 4.342e-05/0.8246, allocations: 0 / 1.168 GB, free: 1.859 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 1.549e-05/0.8246, allocations: 0 / 1.168 GB, free: 1.859 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 4.23e-05/0.8247, allocations: 8 kB / 1.168 GB, free: 1.852 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 9.838e-06/0.8247, allocations: 0 / 1.168 GB, free: 1.852 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002511/0.825, allocations: 99.88 kB / 1.168 GB, free: 1.754 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.241e-05/0.825, allocations: 3.938 kB / 1.168 GB, free: 1.75 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 1.846e-05/0.825, allocations: 7.938 kB / 1.168 GB, free: 1.742 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001604/0.8252, allocations: 50.61 kB / 1.168 GB, free: 1.695 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.8252, allocations: 0 / 1.168 GB, free: 1.695 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.044e-06/0.8252, allocations: 0 / 1.168 GB, free: 1.695 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 4.478e-06/0.8252, allocations: 0 / 1.168 GB, free: 1.695 MB / 0.8887 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.0003386/0.8255, allocations: 336.4 kB / 1.169 GB, free: 1.32 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.596e-05/0.8256, allocations: 12.92 kB / 1.169 GB, free: 1.309 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.885e-05/0.8256, allocations: 34.69 kB / 1.169 GB, free: 1.266 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.432e-05/0.8257, allocations: 0.9375 kB / 1.169 GB, free: 1.266 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001192/0.8258, allocations: 164.4 kB / 1.169 GB, free: 1.066 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.189e-05/0.8258, allocations: 384 / 1.169 GB, free: 1.066 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.997e-06/0.8258, allocations: 4.375 kB / 1.169 GB, free: 1.062 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.81e-05/0.8259, allocations: 29.83 kB / 1.169 GB, free: 1.027 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.745e-06/0.8259, allocations: 0 / 1.169 GB, free: 1.027 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.486e-06/0.826, allocations: 0 / 1.169 GB, free: 1.027 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.558e-06/0.826, allocations: 0 / 1.169 GB, free: 1.027 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.342e-05/0.826, allocations: 8 kB / 1.169 GB, free: 1.02 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001501/0.8261, allocations: 145.7 kB / 1.169 GB, free: 0.8281 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 4.463e-05/0.8262, allocations: 26.53 kB / 1.169 GB, free: 0.793 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.779e-05/0.8262, allocations: 4.859 kB / 1.169 GB, free: 0.7852 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005894/0.8268, allocations: 0.5623 MB / 1.169 GB, free: 96 kB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.34e-05/0.8269, allocations: 38.5 kB / 1.17 GB, free: 48 kB / 0.8887 GB Notification: Performance of pre-optimization done (n=1): time 1.182e-06/0.8269, allocations: 0 / 1.17 GB, free: 48 kB / 0.8887 GB Notification: Performance of matching and sorting (n=1): time 0.0001752/0.827, allocations: 41.75 kB / 1.17 GB, free: 16 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.828e-05/0.8271, allocations: 55.34 kB / 1.17 GB, free: 15.93 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.842e-05/0.8271, allocations: 97.69 kB / 1.17 GB, free: 15.83 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.324e-05/0.8272, allocations: 25.7 kB / 1.17 GB, free: 15.8 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 3.877e-05/0.8272, allocations: 80.14 kB / 1.17 GB, free: 15.71 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 3.006e-05/0.8272, allocations: 4.125 kB / 1.17 GB, free: 15.71 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.152e-05/0.8273, allocations: 13.72 kB / 1.17 GB, free: 15.69 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.000116/0.8274, allocations: 310.8 kB / 1.17 GB, free: 15.38 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.063e-05/0.8274, allocations: 0 / 1.17 GB, free: 15.38 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.054e-05/0.8274, allocations: 7.984 kB / 1.17 GB, free: 15.37 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.6e-05/0.8275, allocations: 4.859 kB / 1.17 GB, free: 15.36 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.8275, allocations: 0 / 1.17 GB, free: 15.36 MB / 0.9044 GB Notification: Performance of matching and sorting (n=1) (initialization): time 8.037e-05/0.8276, allocations: 45.7 kB / 1.17 GB, free: 15.31 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.586e-05/0.8276, allocations: 7.938 kB / 1.17 GB, free: 15.3 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.588e-06/0.8276, allocations: 0 / 1.17 GB, free: 15.3 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.358e-05/0.8276, allocations: 0 / 1.17 GB, free: 15.3 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.817e-05/0.8277, allocations: 4 kB / 1.17 GB, free: 15.3 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/0.8277, allocations: 0 / 1.17 GB, free: 15.3 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.203e-05/0.8277, allocations: 3.938 kB / 1.17 GB, free: 15.3 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.14e-06/0.8277, allocations: 0 / 1.17 GB, free: 15.3 MB / 0.9044 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 7.328e-05/0.8278, allocations: 109.8 kB / 1.17 GB, free: 15.18 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.334e-05/0.8278, allocations: 11.92 kB / 1.17 GB, free: 15.17 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001096/0.8279, allocations: 40.86 kB / 1.17 GB, free: 15.12 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.375e-06/0.8279, allocations: 0 / 1.17 GB, free: 15.12 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.8279, allocations: 0 / 1.17 GB, free: 15.12 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.264e-06/0.828, allocations: 0 / 1.17 GB, free: 15.12 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.675e-05/0.8281, allocations: 149.7 kB / 1.171 GB, free: 14.92 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.8281, allocations: 0 / 1.171 GB, free: 14.92 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.884e-05/0.8281, allocations: 3.938 kB / 1.171 GB, free: 14.92 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.8281, allocations: 3.938 kB / 1.171 GB, free: 14.91 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.961e-06/0.8281, allocations: 4.031 kB / 1.171 GB, free: 14.91 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.8281, allocations: 0 / 1.171 GB, free: 14.91 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.8281, allocations: 4 kB / 1.171 GB, free: 14.91 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.965e-05/0.8282, allocations: 57.12 kB / 1.171 GB, free: 14.83 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 3.482e-05/0.8282, allocations: 81.05 kB / 1.171 GB, free: 14.73 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.016e-05/0.8283, allocations: 0 / 1.171 GB, free: 14.73 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.114e-05/0.8283, allocations: 4 kB / 1.171 GB, free: 14.73 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.638e-06/0.8283, allocations: 7.969 kB / 1.171 GB, free: 14.72 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.325e-06/0.8283, allocations: 0 / 1.171 GB, free: 14.72 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 2.535e-05/0.8283, allocations: 75.28 kB / 1.171 GB, free: 14.65 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8283, allocations: 0 / 1.171 GB, free: 14.65 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002071/0.8285, allocations: 4 kB / 1.171 GB, free: 14.64 MB / 0.9044 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.0004284/0.829, allocations: 0.6162 MB / 1.171 GB, free: 14 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 7.35e-05/0.8291, allocations: 4 kB / 1.171 GB, free: 13.99 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.8291, allocations: 0 / 1.171 GB, free: 13.99 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 9.558e-06/0.8291, allocations: 4 kB / 1.171 GB, free: 13.99 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000146/0.8292, allocations: 4 kB / 1.171 GB, free: 13.98 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002944/0.8295, allocations: 102.5 kB / 1.171 GB, free: 13.84 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002464/0.8298, allocations: 0.6729 MB / 1.172 GB, free: 13.14 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 2.129e-05/0.8298, allocations: 4.125 kB / 1.172 GB, free: 13.14 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.218e-05/0.8299, allocations: 11.44 kB / 1.172 GB, free: 13.13 MB / 0.9044 GB Notification: Performance of SimCode: time 3e-07/0.8299, allocations: 0 / 1.172 GB, free: 13.13 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01831/0.8482, allocations: 1.039 MB / 1.173 GB, free: 12.19 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.728/8.576, allocations: 9.891 kB / 1.173 GB, free: 12.18 MB / 0.9044 GB (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 & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Utilities.Math.Functions.Examples.SpliceFunction_res.csv --start-time -1 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0008 Buildings_10_Buildings_Utilities_Math_Functions_Examples_SpliceFunction.fmu > Buildings_10_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Functions.Examples.SpliceFunction_res.csv","/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