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) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001715/0.001715, allocations: 107.6 kB / 18.19 MB, free: 3.879 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001702/0.001702, allocations: 189.9 kB / 21.34 MB, free: 0.7383 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.464/1.464, allocations: 225.6 MB / 249.9 MB, free: 13.62 MB / 206.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.57/2.57, allocations: 443.5 MB / 0.731 GB, free: 12.73 MB / 0.5919 GB [Timeout remaining time 87] 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: translateModel(Buildings.Utilities.Math.Functions.Examples.SpliceFunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=501,variableFilter="time|y",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Functions.Examples.SpliceFunction") translateModel(Buildings.Utilities.Math.Functions.Examples.SpliceFunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=501,variableFilter="time|y",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Functions.Examples.SpliceFunction") [Timeout 300] Notification: Performance of FrontEnd - loaded program: time 0.002036/0.002036, allocations: 75.88 kB / 1.06 GB, free: 2.555 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8007/0.8028, allocations: 160.7 MB / 1.217 GB, free: 4.891 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunction): time 0.001716/0.8045, allocations: 0.5813 MB / 1.217 GB, free: 4.316 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001675/0.8061, allocations: 1.258 MB / 1.218 GB, free: 3.043 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.601e-05/0.8062, allocations: 0 / 1.218 GB, free: 3.043 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 1.627e-05/0.8062, allocations: 0 / 1.218 GB, free: 3.043 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 5.581e-06/0.8062, allocations: 0 / 1.218 GB, free: 3.043 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003577/0.8065, allocations: 63.75 kB / 1.218 GB, free: 2.98 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 4.264e-05/0.8066, allocations: 4 kB / 1.218 GB, free: 2.977 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 4.254e-05/0.8066, allocations: 0 / 1.218 GB, free: 2.977 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 1.52e-05/0.8066, allocations: 3.984 kB / 1.218 GB, free: 2.973 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 4.159e-05/0.8067, allocations: 4 kB / 1.218 GB, free: 2.969 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 9.477e-06/0.8067, allocations: 11.88 kB / 1.218 GB, free: 2.957 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002442/0.8069, allocations: 95.89 kB / 1.219 GB, free: 2.863 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.401e-05/0.807, allocations: 7.984 kB / 1.219 GB, free: 2.855 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 1.743e-05/0.807, allocations: 3.938 kB / 1.219 GB, free: 2.852 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001365/0.8071, allocations: 55.59 kB / 1.219 GB, free: 2.801 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.8071, allocations: 0 / 1.219 GB, free: 2.801 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.232e-06/0.8071, allocations: 0 / 1.219 GB, free: 2.801 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.23e-06/0.8071, allocations: 0 / 1.219 GB, free: 2.801 MB / 0.92 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.0003428/0.8075, allocations: 322.1 kB / 1.219 GB, free: 2.441 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.65e-05/0.8075, allocations: 16.62 kB / 1.219 GB, free: 2.426 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.006e-05/0.8075, allocations: 0.9375 kB / 1.219 GB, free: 2.426 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001167/0.8076, allocations: 164.4 kB / 1.219 GB, free: 2.227 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.253e-05/0.8077, allocations: 4.375 kB / 1.219 GB, free: 2.223 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.722e-06/0.8077, allocations: 384 / 1.219 GB, free: 2.223 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.015e-05/0.8078, allocations: 34.02 kB / 1.219 GB, free: 2.184 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.833e-06/0.8078, allocations: 3.938 kB / 1.219 GB, free: 2.18 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.528e-06/0.8078, allocations: 3.984 kB / 1.219 GB, free: 2.176 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.436e-06/0.8078, allocations: 0 / 1.219 GB, free: 2.176 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.721e-05/0.8078, allocations: 0 / 1.219 GB, free: 2.176 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000154/0.8079, allocations: 149.7 kB / 1.219 GB, free: 1.98 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 4.467e-05/0.808, allocations: 18.58 kB / 1.219 GB, free: 1.953 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.817e-05/0.808, allocations: 8.953 kB / 1.219 GB, free: 1.941 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006365/0.8086, allocations: 0.5583 MB / 1.22 GB, free: 1.254 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.077e-05/0.8087, allocations: 38.5 kB / 1.22 GB, free: 1.207 MB / 0.92 GB Notification: Performance of pre-optimization done (n=1): time 1.022e-06/0.8087, allocations: 0 / 1.22 GB, free: 1.207 MB / 0.92 GB Notification: Performance of matching and sorting (n=1): time 0.0001309/0.8088, allocations: 41.59 kB / 1.22 GB, free: 1.16 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.378e-05/0.8088, allocations: 59.39 kB / 1.22 GB, free: 1.09 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.205e-05/0.8089, allocations: 89.86 kB / 1.22 GB, free: 0.9922 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.478e-05/0.8089, allocations: 25.7 kB / 1.22 GB, free: 0.9609 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 3.599e-05/0.809, allocations: 80.14 kB / 1.22 GB, free: 0.8789 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.926e-05/0.809, allocations: 3.938 kB / 1.22 GB, free: 0.875 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.567e-05/0.809, allocations: 13.84 kB / 1.22 GB, free: 0.8555 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001458/0.8092, allocations: 314.8 kB / 1.22 GB, free: 0.5391 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.223e-05/0.8092, allocations: 4 kB / 1.22 GB, free: 0.5352 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.24e-06/0.8092, allocations: 0 / 1.22 GB, free: 0.5352 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.924e-05/0.8092, allocations: 12.8 kB / 1.221 GB, free: 0.5195 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.213e-06/0.8092, allocations: 0 / 1.221 GB, free: 0.5195 MB / 0.92 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.288e-05/0.8093, allocations: 33.69 kB / 1.221 GB, free: 492 kB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.52e-05/0.8093, allocations: 16.03 kB / 1.221 GB, free: 476 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.363e-06/0.8093, allocations: 4 kB / 1.221 GB, free: 472 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.125e-05/0.8093, allocations: 0 / 1.221 GB, free: 472 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.131e-05/0.8093, allocations: 3.984 kB / 1.221 GB, free: 468 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.152e-06/0.8093, allocations: 7.938 kB / 1.221 GB, free: 460 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.095e-05/0.8093, allocations: 0 / 1.221 GB, free: 460 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.088e-06/0.8093, allocations: 0 / 1.221 GB, free: 460 kB / 0.92 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.307e-05/0.8094, allocations: 109.8 kB / 1.221 GB, free: 340 kB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.669e-05/0.8094, allocations: 3.938 kB / 1.221 GB, free: 336 kB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001003/0.8095, allocations: 56.73 kB / 1.221 GB, free: 268 kB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.333e-06/0.8095, allocations: 0 / 1.221 GB, free: 268 kB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.8095, allocations: 0 / 1.221 GB, free: 268 kB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.395e-06/0.8095, allocations: 0 / 1.221 GB, free: 268 kB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000108/0.8097, allocations: 141.7 kB / 1.221 GB, free: 76 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.8097, allocations: 3.984 kB / 1.221 GB, free: 72 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.539e-05/0.8097, allocations: 4 kB / 1.221 GB, free: 68 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.189e-06/0.8097, allocations: 3.938 kB / 1.221 GB, free: 64 kB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.38e-06/0.8097, allocations: 0 / 1.221 GB, free: 64 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.8097, allocations: 4.031 kB / 1.221 GB, free: 60 kB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.8097, allocations: 0 / 1.221 GB, free: 60 kB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.381e-05/0.8098, allocations: 61.08 kB / 1.221 GB, free: 15.98 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.29e-05/0.8098, allocations: 81.09 kB / 1.221 GB, free: 15.88 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.016e-05/0.8098, allocations: 3.938 kB / 1.221 GB, free: 15.88 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.338e-06/0.8098, allocations: 0 / 1.221 GB, free: 15.88 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.459e-05/0.8099, allocations: 4 kB / 1.221 GB, free: 15.88 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.913e-06/0.8099, allocations: 4.031 kB / 1.221 GB, free: 15.87 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 4.164e-05/0.8099, allocations: 75.28 kB / 1.221 GB, free: 15.8 MB / 0.9356 GB Notification: Performance of sort global known variables: time 6.1e-08/0.8099, allocations: 0 / 1.221 GB, free: 15.8 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0001787/0.8101, allocations: 7.938 kB / 1.221 GB, free: 15.79 MB / 0.9356 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.0001623/0.8102, allocations: 111.2 kB / 1.221 GB, free: 15.67 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 7.137e-05/0.8103, allocations: 4 kB / 1.221 GB, free: 15.66 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.8103, allocations: 0 / 1.221 GB, free: 15.66 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 1.065e-05/0.8103, allocations: 8.062 kB / 1.221 GB, free: 15.66 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001214/0.8104, allocations: 0 / 1.221 GB, free: 15.66 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002182/0.8107, allocations: 110.6 kB / 1.221 GB, free: 15.52 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003187/0.811, allocations: 0.6768 MB / 1.222 GB, free: 14.81 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.515e-05/0.811, allocations: 7.438 kB / 1.222 GB, free: 14.8 MB / 0.9356 GB Notification: Performance of SimCode: time 2.91e-07/0.811, allocations: 0 / 1.222 GB, free: 14.8 MB / 0.9356 GB Notification: Performance of Templates: time 0.001956/0.813, allocations: 443.7 kB / 1.222 GB, free: 14.37 MB / 0.9356 GB [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.makefile [Timeout 300] (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 & ./Buildings_10_Buildings.Utilities.Math.Functions.Examples.SpliceFunction -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe 2>&1) [Timeout 400] 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) [Timeout 300] [Timeout remaining time 300] Reference file matches