Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Math.Examples.Splice.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: translateModel(Buildings.Utilities.Math.Examples.Splice,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|splice.x|splice.y",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Examples.Splice") translateModel(Buildings.Utilities.Math.Examples.Splice,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|splice.x|splice.y",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Examples.Splice") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006143/0.006143, allocations: 102.9 kB / 15.74 MB, free: 6.066 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.001232/0.001232, allocations: 192.7 kB / 16.67 MB, free: 5.973 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.355/1.355, allocations: 222.9 MB / 240.4 MB, free: 4.148 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.62/2.62, allocations: 437 MB / 0.7105 GB, free: 4.957 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001267/0.001267, allocations: 63.91 kB / 1.019 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3101/0.3114, allocations: 151.6 MB / 1.167 GB, free: 6.781 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Splice): time 0.002498/0.3139, allocations: 1.505 MB / 1.168 GB, free: 5.262 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001029/0.315, allocations: 0.6436 MB / 1.169 GB, free: 4.609 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.769e-05/0.315, allocations: 4 kB / 1.169 GB, free: 4.605 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.164e-05/0.3151, allocations: 3.938 kB / 1.169 GB, free: 4.602 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 5.007e-05/0.3151, allocations: 7.875 kB / 1.169 GB, free: 4.594 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003686/0.3155, allocations: 79.73 kB / 1.169 GB, free: 4.516 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 7.49e-05/0.3156, allocations: 31.91 kB / 1.169 GB, free: 4.484 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001001/0.3157, allocations: 19.98 kB / 1.169 GB, free: 4.465 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 7.411e-05/0.3158, allocations: 15.92 kB / 1.169 GB, free: 4.449 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 6.105e-05/0.3159, allocations: 15.92 kB / 1.169 GB, free: 4.434 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.127e-05/0.3159, allocations: 7.938 kB / 1.169 GB, free: 4.426 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001926/0.3161, allocations: 103.9 kB / 1.169 GB, free: 4.324 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.616e-05/0.3161, allocations: 7.938 kB / 1.169 GB, free: 4.316 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 2.983e-05/0.3161, allocations: 15.92 kB / 1.169 GB, free: 4.301 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001848/0.3163, allocations: 87.66 kB / 1.169 GB, free: 4.215 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.678e-06/0.3163, allocations: 0 / 1.169 GB, free: 4.215 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.274e-06/0.3163, allocations: 0 / 1.169 GB, free: 4.215 MB / 0.92 GB Notification: Performance of Transformations before backend: time 9.107e-06/0.3164, allocations: 0 / 1.169 GB, free: 4.215 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000472/0.3168, allocations: 367.2 kB / 1.169 GB, free: 3.809 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.535e-05/0.3169, allocations: 8.031 kB / 1.169 GB, free: 3.801 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.601e-05/0.3169, allocations: 12.88 kB / 1.169 GB, free: 3.789 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001218/0.317, allocations: 172.3 kB / 1.17 GB, free: 3.582 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.336e-05/0.3171, allocations: 4.375 kB / 1.17 GB, free: 3.578 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.281e-05/0.3171, allocations: 4.312 kB / 1.17 GB, free: 3.574 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001471/0.3172, allocations: 57.94 kB / 1.17 GB, free: 3.512 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.908e-06/0.3173, allocations: 3.984 kB / 1.17 GB, free: 3.508 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.786e-06/0.3173, allocations: 8 kB / 1.17 GB, free: 3.5 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.693e-06/0.3173, allocations: 0 / 1.17 GB, free: 3.5 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.014e-05/0.3174, allocations: 23.98 kB / 1.17 GB, free: 3.477 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003708/0.3178, allocations: 272.8 kB / 1.17 GB, free: 3.16 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 9.971e-05/0.3179, allocations: 38.5 kB / 1.17 GB, free: 3.113 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.057e-05/0.3179, allocations: 16.92 kB / 1.17 GB, free: 3.094 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000505/0.3184, allocations: 0.5583 MB / 1.171 GB, free: 2.406 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.324e-05/0.3185, allocations: 30.56 kB / 1.171 GB, free: 2.367 MB / 0.92 GB Notification: Performance of pre-optimization done (n=2): time 2.635e-06/0.3185, allocations: 0 / 1.171 GB, free: 2.367 MB / 0.92 GB Notification: Performance of matching and sorting (n=2): time 0.0002579/0.3187, allocations: 77.5 kB / 1.171 GB, free: 2.285 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.039e-05/0.3188, allocations: 55.53 kB / 1.171 GB, free: 2.219 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.796e-05/0.3189, allocations: 117.8 kB / 1.171 GB, free: 2.094 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.279e-05/0.3189, allocations: 25.7 kB / 1.171 GB, free: 2.062 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 4.417e-05/0.319, allocations: 92.14 kB / 1.171 GB, free: 1.969 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.433e-05/0.319, allocations: 7.938 kB / 1.171 GB, free: 1.961 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.173e-05/0.319, allocations: 13.72 kB / 1.171 GB, free: 1.941 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001111/0.3191, allocations: 318.8 kB / 1.171 GB, free: 1.621 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.345e-05/0.3192, allocations: 11.98 kB / 1.171 GB, free: 1.609 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.365e-05/0.3192, allocations: 12 kB / 1.171 GB, free: 1.598 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.643e-05/0.3193, allocations: 24.84 kB / 1.171 GB, free: 1.57 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.3193, allocations: 0 / 1.171 GB, free: 1.57 MB / 0.92 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001211/0.3194, allocations: 61.56 kB / 1.171 GB, free: 1.504 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.455e-05/0.3195, allocations: 10.03 kB / 1.171 GB, free: 1.496 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.3195, allocations: 0 / 1.171 GB, free: 1.496 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.268e-05/0.3195, allocations: 4.094 kB / 1.171 GB, free: 1.492 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.687e-05/0.3196, allocations: 4 kB / 1.171 GB, free: 1.488 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.019e-06/0.3196, allocations: 0 / 1.171 GB, free: 1.488 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.463e-05/0.3196, allocations: 11.94 kB / 1.171 GB, free: 1.477 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.306e-06/0.3196, allocations: 3.984 kB / 1.171 GB, free: 1.473 MB / 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 (2): * Single equations (assignments): 2 * 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.118e-05/0.3197, allocations: 117.8 kB / 1.172 GB, free: 1.348 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.568e-05/0.3197, allocations: 3.953 kB / 1.172 GB, free: 1.344 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001634/0.3199, allocations: 65.2 kB / 1.172 GB, free: 1.27 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.496e-06/0.3199, allocations: 4 kB / 1.172 GB, free: 1.266 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/0.3199, allocations: 0 / 1.172 GB, free: 1.266 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.3199, allocations: 3.938 kB / 1.172 GB, free: 1.262 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001679/0.3201, allocations: 165.6 kB / 1.172 GB, free: 1.051 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.3201, allocations: 0 / 1.172 GB, free: 1.051 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.078e-05/0.3202, allocations: 4 kB / 1.172 GB, free: 1.047 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.397e-06/0.3202, allocations: 3.984 kB / 1.172 GB, free: 1.043 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.865e-06/0.3202, allocations: 3.938 kB / 1.172 GB, free: 1.039 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.3202, allocations: 0 / 1.172 GB, free: 1.039 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/0.3202, allocations: 0 / 1.172 GB, free: 1.039 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001673/0.3204, allocations: 163.4 kB / 1.172 GB, free: 0.8633 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 5.569e-05/0.3204, allocations: 81.06 kB / 1.172 GB, free: 0.7656 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.566e-05/0.3205, allocations: 7.984 kB / 1.172 GB, free: 0.7578 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.972e-05/0.3205, allocations: 0 / 1.172 GB, free: 0.7578 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.058e-05/0.3206, allocations: 0 / 1.172 GB, free: 0.7578 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.027e-06/0.3206, allocations: 8 kB / 1.172 GB, free: 0.75 MB / 0.92 GB Notification: Performance of sorting global known variables: time 5.19e-05/0.3206, allocations: 95.3 kB / 1.172 GB, free: 0.6562 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3206, allocations: 0 / 1.172 GB, free: 0.6562 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002337/0.3209, allocations: 15.94 kB / 1.172 GB, free: 0.6406 MB / 0.92 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 (2): * Single equations (assignments): 2 * 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.321, allocations: 115.2 kB / 1.172 GB, free: 0.5195 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0001338/0.3212, allocations: 19.98 kB / 1.172 GB, free: 0.5 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.3212, allocations: 0 / 1.172 GB, free: 0.5 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 4.187e-05/0.3212, allocations: 12 kB / 1.172 GB, free: 500 kB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002142/0.3215, allocations: 12.11 kB / 1.172 GB, free: 488 kB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002923/0.3218, allocations: 138.5 kB / 1.172 GB, free: 324 kB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002523/0.322, allocations: 0.6807 MB / 1.173 GB, free: 15.61 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 2.477e-05/0.3221, allocations: 4 kB / 1.173 GB, free: 15.61 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.023e-05/0.3221, allocations: 7.438 kB / 1.173 GB, free: 15.6 MB / 0.9356 GB Notification: Performance of SimCode: time 3.21e-07/0.3221, allocations: 0 / 1.173 GB, free: 15.6 MB / 0.9356 GB Notification: Performance of Templates: time 0.00261/0.3247, allocations: 0.4936 MB / 1.174 GB, free: 15.11 MB / 0.9356 GB make -j1 -f Buildings_10_Buildings.Utilities.Math.Examples.Splice.makefile (rm -f Buildings_10_Buildings.Utilities.Math.Examples.Splice.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Examples.Splice.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Examples.Splice.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Examples.Splice.sim & ./Buildings_10_Buildings.Utilities.Math.Examples.Splice -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Examples.Splice.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Examples.Splice_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Examples_Splice.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Examples.Splice.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches