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: "" <> 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.001109/0.001109, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.0012/0.0012, allocations: 192.9 kB / 16.14 MB, free: 6.711 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.314/1.314, allocations: 222.9 MB / 239.8 MB, free: 4.543 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.485/2.485, allocations: 437 MB / 0.7099 GB, free: 5.32 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001376/0.001376, allocations: 63.89 kB / 0.8687 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5753/0.5767, allocations: 151.6 MB / 1.017 GB, free: 2.812 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunction): time 0.001592/0.5784, allocations: 0.6567 MB / 1.017 GB, free: 2.152 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001366/0.5797, allocations: 1.252 MB / 1.019 GB, free: 0.8828 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.966e-06/0.5798, allocations: 0 / 1.019 GB, free: 0.8828 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 1.214e-05/0.5798, allocations: 0 / 1.019 GB, free: 0.8828 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 4.108e-06/0.5798, allocations: 0 / 1.019 GB, free: 0.8828 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002618/0.5801, allocations: 47.83 kB / 1.019 GB, free: 0.8359 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 2.907e-05/0.5801, allocations: 11.94 kB / 1.019 GB, free: 0.8242 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 3.23e-05/0.5801, allocations: 3.984 kB / 1.019 GB, free: 0.8203 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 1.175e-05/0.5802, allocations: 0 / 1.019 GB, free: 0.8203 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 3.342e-05/0.5802, allocations: 0 / 1.019 GB, free: 0.8203 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 6.783e-06/0.5802, allocations: 4 kB / 1.019 GB, free: 0.8164 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002046/0.5804, allocations: 95.89 kB / 1.019 GB, free: 0.7227 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 8.336e-06/0.5804, allocations: 0 / 1.019 GB, free: 0.7227 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 1.724e-05/0.5805, allocations: 4 kB / 1.019 GB, free: 0.7188 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001181/0.5806, allocations: 51.94 kB / 1.019 GB, free: 0.668 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.5806, allocations: 0 / 1.019 GB, free: 0.668 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.322e-06/0.5806, allocations: 0 / 1.019 GB, free: 0.668 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 3.447e-06/0.5806, allocations: 4 kB / 1.019 GB, free: 0.6641 MB / 0.7637 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.0002592/0.5809, allocations: 319.6 kB / 1.019 GB, free: 312 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.54e-05/0.5809, allocations: 12.03 kB / 1.019 GB, free: 300 kB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.612e-05/0.5809, allocations: 30.75 kB / 1.019 GB, free: 260 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.954e-05/0.581, allocations: 4.938 kB / 1.019 GB, free: 256 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.854e-05/0.581, allocations: 172.3 kB / 1.019 GB, free: 44 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.315e-06/0.5811, allocations: 384 / 1.019 GB, free: 44 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.825e-06/0.5811, allocations: 8.25 kB / 1.019 GB, free: 36 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.828e-05/0.5812, allocations: 37.83 kB / 1.019 GB, free: 15.99 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.47e-06/0.5812, allocations: 0 / 1.019 GB, free: 15.99 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.252e-06/0.5812, allocations: 0 / 1.019 GB, free: 15.99 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.687e-06/0.5812, allocations: 0 / 1.019 GB, free: 15.99 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.657e-05/0.5812, allocations: 0 / 1.019 GB, free: 15.99 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000115/0.5813, allocations: 149.7 kB / 1.02 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 3.741e-05/0.5814, allocations: 22.52 kB / 1.02 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.457e-05/0.5814, allocations: 8.953 kB / 1.02 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000521/0.5819, allocations: 0.5622 MB / 1.02 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.133e-05/0.582, allocations: 34.5 kB / 1.02 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=1): time 1.163e-06/0.582, allocations: 0 / 1.02 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1): time 0.0001139/0.5821, allocations: 33.7 kB / 1.02 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.715e-05/0.5821, allocations: 55.41 kB / 1.02 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.909e-05/0.5822, allocations: 89.98 kB / 1.02 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.134e-05/0.5822, allocations: 29.7 kB / 1.02 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 2.41e-05/0.5822, allocations: 80.14 kB / 1.02 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.121e-05/0.5822, allocations: 0 / 1.02 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.456e-05/0.5823, allocations: 13.66 kB / 1.02 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.768e-05/0.5824, allocations: 322.8 kB / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.265e-06/0.5824, allocations: 0 / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.47e-06/0.5824, allocations: 0 / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.764e-05/0.5824, allocations: 12.92 kB / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.5824, allocations: 0 / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.821e-05/0.5825, allocations: 29.7 kB / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.408e-05/0.5825, allocations: 11.94 kB / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.617e-06/0.5825, allocations: 0 / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.448e-06/0.5825, allocations: 0 / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.83e-05/0.5826, allocations: 3.984 kB / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.837e-06/0.5826, allocations: 3.938 kB / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.299e-05/0.5826, allocations: 4 kB / 1.021 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.719e-06/0.5826, allocations: 0 / 1.021 GB, free: 14.28 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 (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.475e-05/0.5827, allocations: 114.4 kB / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.965e-06/0.5827, allocations: 3.938 kB / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.064e-05/0.5828, allocations: 43.06 kB / 1.021 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.5828, allocations: 0 / 1.021 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.456e-06/0.5828, allocations: 3.938 kB / 1.021 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.934e-06/0.5828, allocations: 0 / 1.021 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.915e-05/0.5829, allocations: 141.7 kB / 1.021 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.91e-07/0.5829, allocations: 4.031 kB / 1.021 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.673e-05/0.5829, allocations: 7.984 kB / 1.021 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.955e-06/0.5829, allocations: 3.938 kB / 1.021 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.44e-06/0.5829, allocations: 3.938 kB / 1.021 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.5829, allocations: 0 / 1.021 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.5829, allocations: 0 / 1.021 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.517e-05/0.583, allocations: 65.06 kB / 1.021 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 2.916e-05/0.583, allocations: 85.08 kB / 1.021 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.345e-06/0.583, allocations: 4 kB / 1.021 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.428e-06/0.5831, allocations: 0 / 1.021 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.087e-06/0.5831, allocations: 0 / 1.021 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.989e-06/0.5831, allocations: 7.984 kB / 1.021 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 2.185e-05/0.5831, allocations: 75.28 kB / 1.021 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5831, allocations: 0 / 1.021 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001859/0.5833, allocations: 12 kB / 1.021 GB, free: 13.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 (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.0003187/0.5836, allocations: 0.6162 MB / 1.022 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 4.969e-05/0.5837, allocations: 4 kB / 1.022 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.5837, allocations: 0 / 1.022 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 6.392e-06/0.5837, allocations: 0 / 1.022 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000124/0.5838, allocations: 6.109 kB / 1.022 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002448/0.5841, allocations: 116.5 kB / 1.022 GB, free: 12.81 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001828/0.5843, allocations: 0.6731 MB / 1.023 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 1.991e-05/0.5843, allocations: 0 / 1.023 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.415e-05/0.5843, allocations: 7.438 kB / 1.023 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of SimCode: time 2.5e-07/0.5843, allocations: 0 / 1.023 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01489/0.5992, allocations: 0.901 MB / 1.024 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001788/0.5994, allocations: 214.2 kB / 1.024 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.69/2.289, allocations: 2.625 kB / 1.024 GB, free: 11.04 MB / 0.7794 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.Math.Functions.Examples.SpliceFunction_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_Math_Functions_Examples_SpliceFunction_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-06 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.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