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.001302/0.001306, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001359/0.001359, allocations: 193.2 kB / 16.25 MB, free: 6.637 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.37/1.37, allocations: 222.9 MB / 239.9 MB, free: 4.527 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.522/2.522, allocations: 437.1 MB / 0.7101 GB, free: 5.32 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001232/0.001232, allocations: 67.91 kB / 0.8689 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7142/0.7155, allocations: 151.6 MB / 1.017 GB, free: 2.727 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunction): time 0.001882/0.7174, allocations: 0.6295 MB / 1.018 GB, free: 2.094 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001446/0.7189, allocations: 1.248 MB / 1.019 GB, free: 0.8281 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.244e-05/0.7189, allocations: 0 / 1.019 GB, free: 0.8281 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 1.741e-05/0.7189, allocations: 0 / 1.019 GB, free: 0.8281 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 6.152e-06/0.7189, allocations: 0 / 1.019 GB, free: 0.8281 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003652/0.7193, allocations: 59.89 kB / 1.019 GB, free: 0.7695 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 3.835e-05/0.7193, allocations: 3.938 kB / 1.019 GB, free: 0.7656 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 4.394e-05/0.7194, allocations: 0 / 1.019 GB, free: 0.7656 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 1.379e-05/0.7194, allocations: 0 / 1.019 GB, free: 0.7656 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 3.922e-05/0.7194, allocations: 15.92 kB / 1.019 GB, free: 0.75 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 8.265e-06/0.7195, allocations: 3.938 kB / 1.019 GB, free: 0.7461 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002361/0.7197, allocations: 99.89 kB / 1.019 GB, free: 0.6484 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 9.367e-06/0.7197, allocations: 0 / 1.019 GB, free: 0.6484 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 1.401e-05/0.7197, allocations: 0 / 1.019 GB, free: 0.6484 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001186/0.7199, allocations: 51.94 kB / 1.019 GB, free: 0.5977 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.7199, allocations: 0 / 1.019 GB, free: 0.5977 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.734e-06/0.7199, allocations: 0 / 1.019 GB, free: 0.5977 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 5.381e-06/0.7199, allocations: 0 / 1.019 GB, free: 0.5977 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.0003126/0.7202, allocations: 327.5 kB / 1.019 GB, free: 236 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.17e-05/0.7203, allocations: 12.03 kB / 1.019 GB, free: 224 kB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.44e-05/0.7203, allocations: 30.75 kB / 1.019 GB, free: 184 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.966e-05/0.7203, allocations: 0.9375 kB / 1.019 GB, free: 184 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.634e-05/0.7204, allocations: 164.4 kB / 1.02 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.688e-06/0.7204, allocations: 384 / 1.02 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.462e-06/0.7204, allocations: 4.375 kB / 1.02 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.389e-05/0.7205, allocations: 37.77 kB / 1.02 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.522e-06/0.7206, allocations: 0 / 1.02 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.673e-06/0.7206, allocations: 0 / 1.02 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.85e-06/0.7206, allocations: 0 / 1.02 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2e-05/0.7206, allocations: 8 kB / 1.02 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001382/0.7207, allocations: 149.7 kB / 1.02 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 3.675e-05/0.7208, allocations: 18.61 kB / 1.02 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.722e-05/0.7208, allocations: 4.859 kB / 1.02 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005685/0.7214, allocations: 0.57 MB / 1.02 GB, free: 15 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.628e-05/0.7214, allocations: 38.48 kB / 1.02 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=1): time 1.042e-06/0.7214, allocations: 0 / 1.02 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1): time 0.0001309/0.7216, allocations: 37.7 kB / 1.02 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.478e-05/0.7216, allocations: 51.41 kB / 1.02 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.09e-05/0.7217, allocations: 89.86 kB / 1.02 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.17e-05/0.7217, allocations: 25.7 kB / 1.021 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 2.497e-05/0.7217, allocations: 80.14 kB / 1.021 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.882e-05/0.7217, allocations: 8.109 kB / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.78e-05/0.7218, allocations: 13.72 kB / 1.021 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001072/0.7219, allocations: 310.8 kB / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.191e-05/0.7219, allocations: 3.984 kB / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.684e-06/0.7219, allocations: 7.938 kB / 1.021 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.655e-05/0.7219, allocations: 8.859 kB / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.7219, allocations: 0 / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.038e-05/0.722, allocations: 37.77 kB / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.499e-05/0.722, allocations: 7.938 kB / 1.021 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.722, allocations: 0 / 1.021 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.044e-05/0.722, allocations: 0 / 1.021 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.111e-05/0.7221, allocations: 7.938 kB / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.7221, allocations: 0 / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.075e-05/0.7221, allocations: 0 / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.553e-06/0.7221, allocations: 3.984 kB / 1.021 GB, free: 14.21 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.859e-05/0.7222, allocations: 106.4 kB / 1.021 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.442e-05/0.7222, allocations: 15.95 kB / 1.021 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.529e-05/0.7223, allocations: 43.02 kB / 1.021 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.092e-06/0.7223, allocations: 0 / 1.021 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.7223, allocations: 0 / 1.021 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.7223, allocations: 3.984 kB / 1.021 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.967e-05/0.7224, allocations: 145.7 kB / 1.021 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.82e-07/0.7224, allocations: 0 / 1.021 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.308e-05/0.7224, allocations: 0 / 1.021 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.586e-06/0.7225, allocations: 3.938 kB / 1.021 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.312e-06/0.7225, allocations: 4.031 kB / 1.021 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.7225, allocations: 4 kB / 1.021 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/0.7225, allocations: 0 / 1.021 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.486e-05/0.7226, allocations: 65 kB / 1.021 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.304e-05/0.7226, allocations: 81.05 kB / 1.021 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.163e-05/0.7226, allocations: 4 kB / 1.021 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.837e-06/0.7226, allocations: 0 / 1.021 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.213e-05/0.7226, allocations: 4.031 kB / 1.021 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.623e-06/0.7226, allocations: 0 / 1.021 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 2.83e-05/0.7227, allocations: 75.28 kB / 1.022 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1e-07/0.7227, allocations: 0 / 1.022 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001806/0.7229, allocations: 11.98 kB / 1.022 GB, free: 13.55 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.0003636/0.7232, allocations: 0.6047 MB / 1.022 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 6.664e-05/0.7233, allocations: 11.94 kB / 1.022 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.7233, allocations: 0 / 1.022 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 7.694e-06/0.7233, allocations: 4 kB / 1.022 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000128/0.7235, allocations: 1.719 kB / 1.022 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002775/0.7238, allocations: 110.7 kB / 1.022 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002276/0.724, allocations: 0.669 MB / 1.023 GB, free: 12.06 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.116e-05/0.724, allocations: 8.109 kB / 1.023 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.415e-05/0.724, allocations: 11.44 kB / 1.023 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of SimCode: time 2.11e-07/0.724, allocations: 0 / 1.023 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01067/0.7347, allocations: 0.9272 MB / 1.024 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001833/0.7349, allocations: 208.5 kB / 1.024 GB, free: 10.97 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.625/2.36, allocations: 1.75 kB / 1.024 GB, free: 10.97 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