Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001318/0.001318, allocations: 99.94 kB / 15.05 MB, free: 1.105 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.001508/0.001508, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.459/1.459, allocations: 223.2 MB / 239.9 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.71/2.71, allocations: 436.5 MB / 0.7104 GB, free: 7.898 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003968/0.0003968, allocations: 8 kB / 0.8708 GB, free: 4.797 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9013/0.9017, allocations: 153.7 MB / 1.021 GB, free: 1.117 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Splice): time 0.001662/0.9034, allocations: 1.207 MB / 1.022 GB, free: 15.9 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0009146/0.9043, allocations: 0.5974 MB / 1.023 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.606e-05/0.9044, allocations: 4 kB / 1.023 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.559e-05/0.9044, allocations: 0 / 1.023 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 6.093e-05/0.9045, allocations: 11.92 kB / 1.023 GB, free: 15.28 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002945/0.9048, allocations: 55.81 kB / 1.023 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 7.801e-05/0.9049, allocations: 23.95 kB / 1.023 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 9.629e-05/0.905, allocations: 12 kB / 1.023 GB, free: 15.19 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 7.046e-05/0.9051, allocations: 15.92 kB / 1.023 GB, free: 15.17 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 6.975e-05/0.9051, allocations: 7.938 kB / 1.023 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.028e-05/0.9052, allocations: 3.938 kB / 1.023 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001763/0.9053, allocations: 95.88 kB / 1.023 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.129e-05/0.9054, allocations: 8 kB / 1.023 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.367e-05/0.9054, allocations: 33.64 kB / 1.023 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001415/0.9055, allocations: 57.88 kB / 1.023 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.9056, allocations: 0 / 1.023 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.943e-06/0.9056, allocations: 0 / 1.023 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 8.045e-06/0.9056, allocations: 0 / 1.023 GB, free: 14.96 MB / 0.7794 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.0004645/0.906, allocations: 355.2 kB / 1.023 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.286e-05/0.9061, allocations: 15.98 kB / 1.023 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.298e-05/0.9061, allocations: 3.984 kB / 1.023 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001563/0.9063, allocations: 174.9 kB / 1.023 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.303e-05/0.9063, allocations: 0 / 1.023 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.61e-05/0.9063, allocations: 8 kB / 1.023 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001784/0.9065, allocations: 65.55 kB / 1.023 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.865e-06/0.9065, allocations: 4 kB / 1.023 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.163e-05/0.9066, allocations: 4 kB / 1.023 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-06/0.9066, allocations: 0 / 1.023 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.505e-05/0.9067, allocations: 31.98 kB / 1.024 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003922/0.9071, allocations: 272.8 kB / 1.024 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 8.621e-05/0.9072, allocations: 38.5 kB / 1.024 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005491/0.9077, allocations: 0.5584 MB / 1.024 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.876e-05/0.9078, allocations: 38.56 kB / 1.024 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 1.242e-06/0.9078, allocations: 0 / 1.024 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.00029/0.9081, allocations: 65.67 kB / 1.024 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.026e-05/0.9081, allocations: 55.53 kB / 1.025 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001263/0.9083, allocations: 125.8 kB / 1.025 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.697e-05/0.9083, allocations: 25.7 kB / 1.025 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.61e-05/0.9083, allocations: 88.14 kB / 1.025 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.731e-05/0.9084, allocations: 15.78 kB / 1.025 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.306e-06/0.9084, allocations: 0 / 1.025 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001239/0.9085, allocations: 322.8 kB / 1.025 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.126e-05/0.9086, allocations: 8 kB / 1.025 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.517e-05/0.9086, allocations: 19.98 kB / 1.025 GB, free: 12.37 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.22e-05/0.9087, allocations: 8 kB / 1.025 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.9087, allocations: 0 / 1.025 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001233/0.9088, allocations: 57.59 kB / 1.025 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.878e-05/0.9088, allocations: 8 kB / 1.025 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.986e-06/0.9088, allocations: 8.078 kB / 1.025 GB, free: 12.28 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.143e-05/0.9089, allocations: 0 / 1.025 GB, free: 12.28 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.824e-05/0.9089, allocations: 4 kB / 1.025 GB, free: 12.28 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.709e-06/0.9089, allocations: 0 / 1.025 GB, free: 12.28 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.713e-05/0.909, allocations: 4 kB / 1.025 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.672e-06/0.909, allocations: 0 / 1.025 GB, free: 12.27 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.319e-05/0.9091, allocations: 129.7 kB / 1.025 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.328e-05/0.9091, allocations: 3.984 kB / 1.025 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001728/0.9093, allocations: 77.11 kB / 1.025 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.9093, allocations: 0 / 1.025 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.9093, allocations: 0 / 1.025 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.364e-06/0.9093, allocations: 0 / 1.025 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001636/0.9095, allocations: 165.6 kB / 1.026 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.9095, allocations: 0 / 1.026 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.33e-05/0.9095, allocations: 4 kB / 1.026 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.997e-06/0.9096, allocations: 4.031 kB / 1.026 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.785e-06/0.9096, allocations: 4 kB / 1.026 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.9096, allocations: 4 kB / 1.026 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.9096, allocations: 3.984 kB / 1.026 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002155/0.9098, allocations: 147.5 kB / 1.026 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.634e-05/0.9099, allocations: 88.97 kB / 1.026 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.259e-05/0.9099, allocations: 7.969 kB / 1.026 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.145e-05/0.9099, allocations: 3.984 kB / 1.026 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.195e-05/0.91, allocations: 8 kB / 1.026 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.517e-06/0.91, allocations: 0 / 1.026 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.205e-05/0.9101, allocations: 95.27 kB / 1.026 GB, free: 11.44 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9101, allocations: 0 / 1.026 GB, free: 11.44 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002402/0.9103, allocations: 8 kB / 1.026 GB, free: 11.43 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000147/0.9105, allocations: 103.3 kB / 1.026 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.000124/0.9106, allocations: 31.97 kB / 1.026 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.9106, allocations: 3.938 kB / 1.026 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 4.276e-05/0.9106, allocations: 16 kB / 1.026 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001308/0.9108, allocations: 3.938 kB / 1.026 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002818/0.9111, allocations: 148.7 kB / 1.026 GB, free: 11.1 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002738/0.9114, allocations: 0.6848 MB / 1.027 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.72e-05/0.9114, allocations: 11.83 kB / 1.027 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.044e-05/0.9114, allocations: 11.44 kB / 1.027 GB, free: 10.36 MB / 0.7794 GB Notification: Performance of SimCode: time 2.2e-07/0.9114, allocations: 0 / 1.027 GB, free: 10.36 MB / 0.7794 GB Notification: Performance of Templates: time 0.002302/0.9137, allocations: 442 kB / 1.027 GB, free: 9.934 MB / 0.7794 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.Splice.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.Splice.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.Splice.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.Splice.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.Splice.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.Splice -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.Splice.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.Splice_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_Splice.csv","../files/Buildings_latest_Buildings.Utilities.Math.Examples.Splice.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches