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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008396/0.0008396, allocations: 76.5 kB / 19.93 MB, free: 4.633 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008302/0.0008302, allocations: 173.9 kB / 23.21 MB, free: 1.352 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8852/0.8852, allocations: 177.1 MB / 203.5 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.607/1.607, allocations: 359 MB / 0.6044 GB, free: 11.09 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.SpliceFunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Functions.Examples.SpliceFunction") translateModel(Buildings.Utilities.Math.Functions.Examples.SpliceFunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Functions.Examples.SpliceFunction") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 0.9518 GB, free: 2.957 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.75e-05/2.901e-05, allocations: 2.281 kB / 0.9518 GB, free: 2.953 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunction): time 0.001257/0.001286, allocations: 0.5947 MB / 0.9524 GB, free: 2.355 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.001432/0.002718, allocations: 1.28 MB / 0.9536 GB, free: 1.059 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.567e-05/0.002734, allocations: 0 / 0.9536 GB, free: 1.059 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 1.441e-05/0.002748, allocations: 0 / 0.9536 GB, free: 1.059 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 7.474e-06/0.002756, allocations: 0 / 0.9536 GB, free: 1.059 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003507/0.003106, allocations: 83.56 kB / 0.9537 GB, free: 0.9766 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 4.847e-05/0.003155, allocations: 0 / 0.9537 GB, free: 0.9766 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 4.335e-05/0.003198, allocations: 0 / 0.9537 GB, free: 0.9766 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 2.729e-05/0.003226, allocations: 4 kB / 0.9537 GB, free: 0.9727 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 4.125e-05/0.003267, allocations: 0 / 0.9537 GB, free: 0.9727 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.186e-05/0.003279, allocations: 3.984 kB / 0.9537 GB, free: 0.9688 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002453/0.003524, allocations: 111.8 kB / 0.9538 GB, free: 0.8594 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.057e-05/0.003535, allocations: 4 kB / 0.9538 GB, free: 0.8555 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 1.598e-05/0.00355, allocations: 0 / 0.9538 GB, free: 0.8555 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001346/0.003685, allocations: 67.86 kB / 0.9539 GB, free: 0.7891 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 2.464e-06/0.003688, allocations: 4 kB / 0.9539 GB, free: 0.7852 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.152e-06/0.003689, allocations: 0 / 0.9539 GB, free: 0.7852 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 5.551e-06/0.003694, allocations: 0 / 0.9539 GB, free: 0.7852 MB / 0.9011 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.000244/0.003938, allocations: 250.3 kB / 0.9541 GB, free: 0.5117 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.845e-05/0.003977, allocations: 12.03 kB / 0.9541 GB, free: 0.5 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.008e-05/0.004007, allocations: 0.9375 kB / 0.9541 GB, free: 0.5 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.209e-05/0.004059, allocations: 105.8 kB / 0.9542 GB, free: 380 kB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.08e-05/0.00407, allocations: 4.312 kB / 0.9542 GB, free: 376 kB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.256e-06/0.004078, allocations: 4.312 kB / 0.9542 GB, free: 372 kB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.311e-05/0.004161, allocations: 34.27 kB / 0.9543 GB, free: 332 kB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.612e-06/0.004168, allocations: 4.188 kB / 0.9543 GB, free: 328 kB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.897e-06/0.004177, allocations: 384 / 0.9543 GB, free: 328 kB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.192e-06/0.004183, allocations: 3.938 kB / 0.9543 GB, free: 324 kB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.967e-05/0.004202, allocations: 4 kB / 0.9543 GB, free: 320 kB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.423e-05/0.004297, allocations: 93.33 kB / 0.9544 GB, free: 196 kB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 4.171e-05/0.004338, allocations: 18.61 kB / 0.9544 GB, free: 168 kB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.567e-05/0.004354, allocations: 12.78 kB / 0.9544 GB, free: 152 kB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002525/0.004607, allocations: 40.03 kB / 0.9544 GB, free: 112 kB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.064e-05/0.004627, allocations: 34.56 kB / 0.9545 GB, free: 68 kB / 0.9011 GB Notification: Performance of pre-optimization done (n=1): time 1.102e-06/0.004628, allocations: 0 / 0.9545 GB, free: 68 kB / 0.9011 GB Notification: Performance of matching and sorting (n=1): time 0.0001259/0.004754, allocations: 33.7 kB / 0.9545 GB, free: 28 kB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.073e-05/0.004795, allocations: 55.34 kB / 0.9546 GB, free: 15.96 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.526e-05/0.00482, allocations: 89.86 kB / 0.9546 GB, free: 15.86 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.069e-05/0.004831, allocations: 29.69 kB / 0.9547 GB, free: 15.83 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 1.705e-05/0.004848, allocations: 80.14 kB / 0.9547 GB, free: 15.75 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 2.758e-05/0.004876, allocations: 11.94 kB / 0.9548 GB, free: 15.73 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.046e-05/0.004896, allocations: 9.719 kB / 0.9548 GB, free: 15.72 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0002301/0.005126, allocations: 319 kB / 0.9551 GB, free: 15.4 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.208e-05/0.005138, allocations: 7.938 kB / 0.9551 GB, free: 15.39 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.051e-06/0.005144, allocations: 0 / 0.9551 GB, free: 15.39 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.647e-05/0.005171, allocations: 8.859 kB / 0.9551 GB, free: 15.38 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.005173, allocations: 0 / 0.9551 GB, free: 15.38 MB / 0.9167 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.695e-05/0.00522, allocations: 37.62 kB / 0.9551 GB, free: 15.34 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.385e-05/0.005234, allocations: 8 kB / 0.9551 GB, free: 15.33 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.551e-06/0.005239, allocations: 0 / 0.9551 GB, free: 15.33 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.37e-05/0.005253, allocations: 0 / 0.9551 GB, free: 15.33 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.878e-05/0.005312, allocations: 96 / 0.9551 GB, free: 15.33 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.603e-06/0.005318, allocations: 7.938 kB / 0.9551 GB, free: 15.32 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.556e-06/0.005327, allocations: 0 / 0.9551 GB, free: 15.32 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.192e-06/0.005333, allocations: 4 kB / 0.9551 GB, free: 15.32 MB / 0.9167 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.68e-05/0.00539, allocations: 117.7 kB / 0.9553 GB, free: 15.19 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.685e-06/0.005393, allocations: 0 / 0.9553 GB, free: 15.19 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.718e-05/0.00548, allocations: 40.69 kB / 0.9553 GB, free: 15.15 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.726e-06/0.005482, allocations: 3.984 kB / 0.9553 GB, free: 15.14 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.129e-06/0.005488, allocations: 3.938 kB / 0.9553 GB, free: 15.14 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.978e-06/0.005492, allocations: 7.969 kB / 0.9553 GB, free: 15.13 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.338e-05/0.005545, allocations: 93.33 kB / 0.9554 GB, free: 15.01 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.005546, allocations: 0 / 0.9554 GB, free: 15.01 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.532e-05/0.005561, allocations: 4 kB / 0.9554 GB, free: 15.01 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.005564, allocations: 4 kB / 0.9554 GB, free: 15 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.961e-06/0.00557, allocations: 0 / 0.9554 GB, free: 15 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.005572, allocations: 3.984 kB / 0.9554 GB, free: 15 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.005573, allocations: 0 / 0.9554 GB, free: 15 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.931e-05/0.005622, allocations: 65.05 kB / 0.9555 GB, free: 14.92 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 4.017e-06/0.005626, allocations: 0 / 0.9555 GB, free: 14.92 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.398e-06/0.005635, allocations: 8.031 kB / 0.9555 GB, free: 14.91 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.399e-06/0.00564, allocations: 0 / 0.9555 GB, free: 14.91 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.458e-05/0.005654, allocations: 3.984 kB / 0.9555 GB, free: 14.91 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.693e-06/0.005656, allocations: 0 / 0.9555 GB, free: 14.91 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 2.256e-05/0.005679, allocations: 83.22 kB / 0.9556 GB, free: 14.82 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.005679, allocations: 0 / 0.9556 GB, free: 14.82 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.000136/0.005815, allocations: 8 kB / 0.9556 GB, free: 14.82 MB / 0.9167 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.0001592/0.005974, allocations: 115.2 kB / 0.9557 GB, free: 14.69 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 7.116e-05/0.006045, allocations: 4 kB / 0.9557 GB, free: 14.69 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.006048, allocations: 8.062 kB / 0.9557 GB, free: 14.68 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 4.118e-06/0.006052, allocations: 3.938 kB / 0.9557 GB, free: 14.68 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.862e-05/0.00615, allocations: 0 / 0.9557 GB, free: 14.68 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002099/0.00636, allocations: 106.6 kB / 0.9558 GB, free: 14.54 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.648e-05/0.006397, allocations: 59.34 kB / 0.9559 GB, free: 14.46 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.766e-05/0.006414, allocations: 12.5 kB / 0.9559 GB, free: 14.45 MB / 0.9167 GB Notification: Performance of SimCode: time 6.22e-07/0.006415, allocations: 0 / 0.9559 GB, free: 14.45 MB / 0.9167 GB Notification: Performance of Templates: time 0.001513/0.007928, allocations: 0.5191 MB / 0.9564 GB, free: 13.93 MB / 0.9167 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.makefile [Timeout 300] (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 & ./Buildings_11_Buildings.Utilities.Math.Functions.Examples.SpliceFunction -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe 2>&1) [Timeout 400] 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/jenkins/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: 6.408044369891286]