Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001035/0.001035, allocations: 109 kB / 17.54 MB, free: 4.746 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001083/0.001083, allocations: 185.9 kB / 20.71 MB, free: 1.586 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.294/1.294, allocations: 225.6 MB / 249.3 MB, free: 3.152 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.497/2.497, allocations: 476.7 MB / 0.7628 GB, free: 15.09 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Utilities_Math_Functions_Examples_SpliceFunction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.SpliceFunction,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Functions_Examples_SpliceFunction",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001685/0.001685, allocations: 71.88 kB / 1.107 GB, free: 5.062 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7828/0.7845, allocations: 168.7 MB / 1.271 GB, free: 7.676 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunction): time 0.001476/0.786, allocations: 0.5992 MB / 1.272 GB, free: 7.324 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001296/0.7873, allocations: 1.264 MB / 1.273 GB, free: 6.402 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.568e-05/0.7873, allocations: 0 / 1.273 GB, free: 6.402 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 1.1e-05/0.7873, allocations: 0.7812 kB / 1.273 GB, free: 6.402 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 4.999e-06/0.7873, allocations: 0 / 1.273 GB, free: 6.402 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003293/0.7876, allocations: 72.34 kB / 1.273 GB, free: 6.367 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 4.262e-05/0.7877, allocations: 2.281 kB / 1.273 GB, free: 6.367 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.131e-05/0.7877, allocations: 1.328 kB / 1.273 GB, free: 6.367 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.339e-05/0.7877, allocations: 2.109 kB / 1.273 GB, free: 6.367 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.912e-05/0.7878, allocations: 0.7812 kB / 1.273 GB, free: 6.367 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 7.835e-06/0.7878, allocations: 3.938 kB / 1.273 GB, free: 6.363 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002524/0.788, allocations: 97.08 kB / 1.273 GB, free: 6.34 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.011e-05/0.788, allocations: 3.938 kB / 1.273 GB, free: 6.336 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 1.741e-05/0.7881, allocations: 5.688 kB / 1.273 GB, free: 6.332 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.000142/0.7882, allocations: 49.95 kB / 1.273 GB, free: 6.32 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.7882, allocations: 9 kB / 1.273 GB, free: 6.312 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.483e-06/0.7882, allocations: 0 / 1.273 GB, free: 6.312 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.68e-06/0.7882, allocations: 0 / 1.273 GB, free: 6.312 MB / 0.9981 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.0002391/0.7884, allocations: 321.6 kB / 1.274 GB, free: 5.961 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.705e-05/0.7885, allocations: 9.438 kB / 1.274 GB, free: 5.961 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.159e-05/0.7885, allocations: 32.11 kB / 1.274 GB, free: 5.922 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.85e-05/0.7885, allocations: 0.9375 kB / 1.274 GB, free: 5.922 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.719e-05/0.7886, allocations: 170.7 kB / 1.274 GB, free: 5.719 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.101e-05/0.7886, allocations: 384 / 1.274 GB, free: 5.719 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.458e-06/0.7886, allocations: 1.219 kB / 1.274 GB, free: 5.719 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.243e-05/0.7887, allocations: 37.17 kB / 1.274 GB, free: 5.68 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.284e-06/0.7887, allocations: 0.7812 kB / 1.274 GB, free: 5.68 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.833e-06/0.7887, allocations: 0 / 1.274 GB, free: 5.68 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.7887, allocations: 0.6875 kB / 1.274 GB, free: 5.68 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.877e-05/0.7887, allocations: 5.344 kB / 1.274 GB, free: 5.676 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.988e-05/0.7888, allocations: 148.5 kB / 1.274 GB, free: 5.484 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.798e-05/0.7889, allocations: 21.3 kB / 1.274 GB, free: 5.457 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.238e-05/0.7889, allocations: 9.641 kB / 1.274 GB, free: 5.445 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004002/0.7893, allocations: 0.562 MB / 1.275 GB, free: 4.785 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.661e-05/0.7893, allocations: 36.38 kB / 1.275 GB, free: 4.742 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=1): time 1.022e-06/0.7893, allocations: 0 / 1.275 GB, free: 4.742 MB / 0.9981 GB Notification: Performance of matching and sorting (n=1): time 0.000117/0.7894, allocations: 32.73 kB / 1.275 GB, free: 4.711 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.941e-05/0.7894, allocations: 61.36 kB / 1.275 GB, free: 4.641 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.485e-05/0.7894, allocations: 97.8 kB / 1.275 GB, free: 4.535 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 5.801e-06/0.7894, allocations: 25.7 kB / 1.275 GB, free: 4.504 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 9.217e-06/0.7895, allocations: 80.14 kB / 1.275 GB, free: 4.422 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.228e-05/0.7895, allocations: 1.781 kB / 1.275 GB, free: 4.422 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.06e-05/0.7895, allocations: 11.78 kB / 1.275 GB, free: 4.406 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.181e-05/0.7895, allocations: 312.8 kB / 1.275 GB, free: 4.094 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.827e-06/0.7896, allocations: 0.7812 kB / 1.275 GB, free: 4.094 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.703e-06/0.7896, allocations: 5.578 kB / 1.275 GB, free: 4.09 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.711e-05/0.7896, allocations: 11.92 kB / 1.275 GB, free: 4.078 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.7896, allocations: 0 / 1.275 GB, free: 4.078 MB / 0.9981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.211e-05/0.7896, allocations: 33.05 kB / 1.275 GB, free: 4.047 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.514e-05/0.7896, allocations: 10.03 kB / 1.275 GB, free: 4.043 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.097e-06/0.7896, allocations: 0 / 1.275 GB, free: 4.043 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.209e-05/0.7897, allocations: 0.9688 kB / 1.275 GB, free: 4.043 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.119e-05/0.7897, allocations: 15.14 kB / 1.275 GB, free: 4.031 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.549e-06/0.7897, allocations: 3.984 kB / 1.275 GB, free: 4.027 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.848e-06/0.7897, allocations: 4.094 kB / 1.275 GB, free: 4.023 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.829e-06/0.7897, allocations: 0.9375 kB / 1.275 GB, free: 4.023 MB / 0.9981 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 3.72e-05/0.7898, allocations: 107.4 kB / 1.276 GB, free: 3.91 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.625e-06/0.7898, allocations: 5.734 kB / 1.276 GB, free: 3.906 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.749e-05/0.7898, allocations: 40.75 kB / 1.276 GB, free: 3.867 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.213e-06/0.7898, allocations: 0 / 1.276 GB, free: 3.867 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.7898, allocations: 1.844 kB / 1.276 GB, free: 3.867 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.275e-06/0.7898, allocations: 4.031 kB / 1.276 GB, free: 3.863 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.774e-05/0.7899, allocations: 143.8 kB / 1.276 GB, free: 3.676 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.7899, allocations: 1.719 kB / 1.276 GB, free: 3.676 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.41e-05/0.7899, allocations: 1.688 kB / 1.276 GB, free: 3.676 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.7899, allocations: 4.734 kB / 1.276 GB, free: 3.672 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.34e-06/0.7899, allocations: 0.8438 kB / 1.276 GB, free: 3.672 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.7899, allocations: 4.969 kB / 1.276 GB, free: 3.668 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.7899, allocations: 0 / 1.276 GB, free: 3.668 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.089e-05/0.79, allocations: 61.34 kB / 1.276 GB, free: 3.598 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.439e-05/0.79, allocations: 86.45 kB / 1.276 GB, free: 3.496 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.022e-05/0.79, allocations: 1.625 kB / 1.276 GB, free: 3.496 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.626e-06/0.79, allocations: 3.984 kB / 1.276 GB, free: 3.492 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.513e-05/0.79, allocations: 5.328 kB / 1.276 GB, free: 3.488 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.505e-06/0.79, allocations: 0.9062 kB / 1.276 GB, free: 3.488 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 1.067e-05/0.79, allocations: 75.28 kB / 1.276 GB, free: 3.414 MB / 0.9981 GB Notification: Performance of sort global known variables: time 6e-08/0.79, allocations: 0.8438 kB / 1.276 GB, free: 3.414 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0001758/0.7902, allocations: 5.938 kB / 1.276 GB, free: 3.414 MB / 0.9981 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.0002609/0.7905, allocations: 0.6109 MB / 1.277 GB, free: 2.805 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 6.554e-05/0.7905, allocations: 4.922 kB / 1.277 GB, free: 2.805 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.422e-06/0.7905, allocations: 0 / 1.277 GB, free: 2.805 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 8.486e-06/0.7905, allocations: 7.156 kB / 1.277 GB, free: 2.801 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001234/0.7907, allocations: 8.156 kB / 1.277 GB, free: 2.797 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002375/0.7909, allocations: 111.1 kB / 1.277 GB, free: 2.66 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002232/0.7911, allocations: 0.6796 MB / 1.277 GB, free: 17.96 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 1.679e-05/0.7911, allocations: 2.094 kB / 1.277 GB, free: 17.96 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.381e-05/0.7912, allocations: 7.438 kB / 1.277 GB, free: 17.95 MB / 1.014 GB Notification: Performance of SimCode: time 3.01e-07/0.7912, allocations: 1.25 kB / 1.277 GB, free: 17.95 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02269/0.8139, allocations: 1.011 MB / 1.278 GB, free: 17.6 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.902/7.716, allocations: 5.094 kB / 1.278 GB, free: 17.6 MB / 1.014 GB " [Timeout remaining time 292] (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Math.Functions.Examples.SpliceFunction_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Math_Functions_Examples_SpliceFunction_fmu --startTime=-1 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Math_Functions_Examples_SpliceFunction.fmu > Buildings_11_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.SpliceFunction_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Functions_Examples_SpliceFunction.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 12.990465550999943]