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.001232/0.001232, allocations: 108 kB / 15.6 MB, free: 132 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.001208/0.001208, allocations: 196.7 kB / 16.54 MB, free: 6.672 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.284/1.284, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.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.441/2.441, allocations: 437.1 MB / 0.7104 GB, free: 5.07 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001435/0.001435, allocations: 63.91 kB / 0.8694 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6346/0.6361, allocations: 151.6 MB / 1.017 GB, free: 2.488 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunction): time 0.002069/0.6382, allocations: 0.5784 MB / 1.018 GB, free: 1.906 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.002445/0.6406, allocations: 1.244 MB / 1.019 GB, free: 0.6445 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.727e-05/0.6407, allocations: 0 / 1.019 GB, free: 0.6445 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 1.2e-05/0.6407, allocations: 0 / 1.019 GB, free: 0.6445 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 8.145e-06/0.6407, allocations: 3.938 kB / 1.019 GB, free: 0.6406 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004109/0.6411, allocations: 59.81 kB / 1.019 GB, free: 0.582 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 4.12e-05/0.6412, allocations: 0 / 1.019 GB, free: 0.582 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 4.831e-05/0.6413, allocations: 7.984 kB / 1.019 GB, free: 0.5742 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 1.488e-05/0.6413, allocations: 7.938 kB / 1.019 GB, free: 0.5664 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 4.531e-05/0.6413, allocations: 7.922 kB / 1.019 GB, free: 0.5586 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 9.097e-06/0.6414, allocations: 0 / 1.019 GB, free: 0.5586 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002906/0.6417, allocations: 99.89 kB / 1.019 GB, free: 472 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.023e-05/0.6417, allocations: 3.938 kB / 1.019 GB, free: 468 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.155e-05/0.6417, allocations: 0 / 1.019 GB, free: 468 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001592/0.6419, allocations: 51.94 kB / 1.019 GB, free: 416 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.6419, allocations: 0 / 1.019 GB, free: 416 kB / 0.7637 GB Notification: Performance of FrontEnd: time 1.813e-06/0.6419, allocations: 0 / 1.019 GB, free: 416 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 9.708e-06/0.6419, allocations: 4 kB / 1.019 GB, free: 412 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003706/0.6423, allocations: 333 kB / 1.02 GB, free: 32 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.896e-05/0.6423, allocations: 8.031 kB / 1.02 GB, free: 24 kB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.959e-05/0.6424, allocations: 38.75 kB / 1.02 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.597e-05/0.6425, allocations: 0.9375 kB / 1.02 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001306/0.6426, allocations: 164.4 kB / 1.02 GB, free: 15.78 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.154e-05/0.6426, allocations: 384 / 1.02 GB, free: 15.78 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.919e-06/0.6426, allocations: 384 / 1.02 GB, free: 15.78 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001112/0.6427, allocations: 37.77 kB / 1.02 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.527e-06/0.6428, allocations: 0 / 1.02 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.476e-06/0.6428, allocations: 4 kB / 1.02 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.708e-06/0.6428, allocations: 0 / 1.02 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.259e-05/0.6428, allocations: 0 / 1.02 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001855/0.643, allocations: 145.7 kB / 1.02 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 5.463e-05/0.6431, allocations: 26.55 kB / 1.02 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.235e-05/0.6431, allocations: 8.859 kB / 1.02 GB, free: 15.49 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008965/0.644, allocations: 0.5662 MB / 1.021 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001399/0.6442, allocations: 46.42 kB / 1.021 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=1): time 1.283e-06/0.6442, allocations: 0 / 1.021 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1): time 0.0001484/0.6443, allocations: 29.7 kB / 1.021 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.924e-05/0.6444, allocations: 51.41 kB / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.846e-05/0.6445, allocations: 89.86 kB / 1.021 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.694e-05/0.6445, allocations: 29.7 kB / 1.021 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.699e-05/0.6446, allocations: 84.27 kB / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.761e-05/0.6446, allocations: 0 / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.261e-05/0.6446, allocations: 9.719 kB / 1.021 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0002348/0.6449, allocations: 314.8 kB / 1.021 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.385e-05/0.6449, allocations: 7.984 kB / 1.021 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.248e-05/0.6449, allocations: 4 kB / 1.021 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.208e-05/0.645, allocations: 12.8 kB / 1.021 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.053e-06/0.645, allocations: 4.062 kB / 1.021 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1) (initialization): time 8.546e-05/0.6451, allocations: 29.7 kB / 1.021 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.375e-05/0.6451, allocations: 7.938 kB / 1.021 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.6451, allocations: 7.984 kB / 1.021 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.293e-05/0.6451, allocations: 0 / 1.021 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.717e-05/0.6452, allocations: 0 / 1.021 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.779e-06/0.6452, allocations: 0 / 1.021 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.415e-05/0.6452, allocations: 3.938 kB / 1.021 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.378e-06/0.6452, allocations: 7.984 kB / 1.021 GB, free: 14 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 8.216e-05/0.6453, allocations: 113.9 kB / 1.022 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.05e-05/0.6453, allocations: 3.938 kB / 1.022 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001034/0.6454, allocations: 39.02 kB / 1.022 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.6455, allocations: 4 kB / 1.022 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.6455, allocations: 0 / 1.022 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.6455, allocations: 0 / 1.022 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001054/0.6456, allocations: 145.7 kB / 1.022 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.183e-06/0.6456, allocations: 0 / 1.022 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.856e-05/0.6456, allocations: 8.031 kB / 1.022 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.869e-06/0.6456, allocations: 3.938 kB / 1.022 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.424e-06/0.6457, allocations: 4 kB / 1.022 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.6457, allocations: 0 / 1.022 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.6457, allocations: 0 / 1.022 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.083e-05/0.6458, allocations: 65 kB / 1.022 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.479e-05/0.6458, allocations: 81.05 kB / 1.022 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.248e-05/0.6458, allocations: 0 / 1.022 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.146e-05/0.6459, allocations: 4.031 kB / 1.022 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.44e-05/0.6459, allocations: 0 / 1.022 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.605e-06/0.6459, allocations: 0 / 1.022 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.297e-05/0.6459, allocations: 83.28 kB / 1.022 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.31e-07/0.6459, allocations: 0 / 1.022 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002795/0.6462, allocations: 7.984 kB / 1.022 GB, free: 13.35 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.0006832/0.6469, allocations: 0.6007 MB / 1.023 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 8.938e-05/0.647, allocations: 7.938 kB / 1.023 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 4.548e-06/0.647, allocations: 4 kB / 1.023 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 8.015e-06/0.647, allocations: 0 / 1.023 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001785/0.6472, allocations: 0 / 1.023 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004339/0.6477, allocations: 118.6 kB / 1.023 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004165/0.6481, allocations: 0.6769 MB / 1.023 GB, free: 11.85 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.441e-05/0.6481, allocations: 0 / 1.023 GB, free: 11.85 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.127e-05/0.6482, allocations: 11.38 kB / 1.023 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of SimCode: time 2.8e-07/0.6482, allocations: 0 / 1.023 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01911/0.6673, allocations: 1.001 MB / 1.024 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.023/7.69, allocations: 15.41 kB / 1.024 GB, free: 10.89 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