Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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) 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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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=5000,variableFilter="time|y",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Functions.Examples.SpliceFunction") translateModel(Buildings.Utilities.Math.Functions.Examples.SpliceFunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Functions.Examples.SpliceFunction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008483/0.0008484, allocations: 91.38 kB / 15.36 MB, free: 0.7383 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.008345/0.008346, allocations: 172.9 kB / 16.26 MB, free: 6.613 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.483/1.483, allocations: 223.3 MB / 240.3 MB, free: 5.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.702/2.702, allocations: 390.9 MB / 0.6663 GB, free: 2.344 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003898/0.0003899, allocations: 16 kB / 0.816 GB, free: 13.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8373/0.8377, allocations: 142.4 MB / 0.9551 GB, free: 7.703 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunction): time 0.001209/0.839, allocations: 320.1 kB / 0.9554 GB, free: 7.461 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002013/0.841, allocations: 1.243 MB / 0.9566 GB, free: 6.465 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.949e-06/0.841, allocations: 0 / 0.9566 GB, free: 6.465 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.692e-05/0.841, allocations: 4 kB / 0.9566 GB, free: 6.461 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.751e-06/0.841, allocations: 0 / 0.9566 GB, free: 6.461 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003161/0.8414, allocations: 40.77 kB / 0.9566 GB, free: 6.438 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 3.852e-05/0.8414, allocations: 5.188 kB / 0.9566 GB, free: 6.434 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 5.3e-05/0.8415, allocations: 1.406 kB / 0.9566 GB, free: 6.434 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 1.946e-05/0.8415, allocations: 5.219 kB / 0.9566 GB, free: 6.43 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.46e-05/0.8415, allocations: 0 / 0.9566 GB, free: 6.43 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 9.879e-06/0.8416, allocations: 1.25 kB / 0.9566 GB, free: 6.43 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000237/0.8418, allocations: 97.94 kB / 0.9567 GB, free: 6.379 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.143e-05/0.8418, allocations: 1.219 kB / 0.9567 GB, free: 6.379 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.438e-05/0.8419, allocations: 29.7 kB / 0.9568 GB, free: 6.344 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001339/0.842, allocations: 55.75 kB / 0.9568 GB, free: 6.312 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.842, allocations: 1.094 kB / 0.9568 GB, free: 6.312 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.084e-06/0.842, allocations: 0 / 0.9568 GB, free: 6.312 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.822e-06/0.842, allocations: 0 / 0.9568 GB, free: 6.312 MB / 0.7169 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.0002805/0.8423, allocations: 324.2 kB / 0.9571 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.676e-05/0.8424, allocations: 9.594 kB / 0.9571 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.646e-05/0.8424, allocations: 4.938 kB / 0.9571 GB, free: 5.949 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.549e-05/0.8425, allocations: 161.8 kB / 0.9573 GB, free: 5.754 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.2e-05/0.8425, allocations: 4.375 kB / 0.9573 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.955e-06/0.8425, allocations: 4.375 kB / 0.9573 GB, free: 5.746 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.357e-05/0.8426, allocations: 36.12 kB / 0.9573 GB, free: 5.707 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.587e-06/0.8426, allocations: 0 / 0.9573 GB, free: 5.707 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.716e-06/0.8426, allocations: 0.9062 kB / 0.9573 GB, free: 5.707 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.8426, allocations: 0 / 0.9573 GB, free: 5.707 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.085e-05/0.8427, allocations: 1.844 kB / 0.9573 GB, free: 5.707 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001109/0.8428, allocations: 142.8 kB / 0.9575 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 3.78e-05/0.8428, allocations: 29.05 kB / 0.9575 GB, free: 5.484 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.287e-05/0.8429, allocations: 6.797 kB / 0.9575 GB, free: 5.477 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004278/0.8433, allocations: 0.5609 MB / 0.958 GB, free: 4.809 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.623e-05/0.8433, allocations: 34.5 kB / 0.9581 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=1): time 1.252e-06/0.8433, allocations: 5.344 kB / 0.9581 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1): time 0.000154/0.8435, allocations: 37.89 kB / 0.9581 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.186e-05/0.8435, allocations: 60.36 kB / 0.9582 GB, free: 4.652 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.868e-05/0.8436, allocations: 89.86 kB / 0.9583 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.146e-05/0.8436, allocations: 26.73 kB / 0.9583 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.731e-05/0.8436, allocations: 80.14 kB / 0.9584 GB, free: 4.441 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.277e-05/0.8436, allocations: 4.875 kB / 0.9584 GB, free: 4.438 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.009e-05/0.8437, allocations: 9.719 kB / 0.9584 GB, free: 4.422 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.784e-05/0.8437, allocations: 311.7 kB / 0.9587 GB, free: 4.109 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.048e-05/0.8438, allocations: 5.188 kB / 0.9587 GB, free: 4.105 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.464e-06/0.8438, allocations: 5 kB / 0.9587 GB, free: 4.102 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.437e-05/0.8438, allocations: 11.98 kB / 0.9587 GB, free: 4.09 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.8438, allocations: 0 / 0.9587 GB, free: 4.09 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.004e-05/0.8439, allocations: 39.38 kB / 0.9587 GB, free: 4.051 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.864e-05/0.8439, allocations: 9.344 kB / 0.9587 GB, free: 4.047 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/0.8439, allocations: 0 / 0.9587 GB, free: 4.047 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.546e-05/0.8439, allocations: 0 / 0.9587 GB, free: 4.047 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.605e-05/0.844, allocations: 6.031 kB / 0.9588 GB, free: 4.043 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.06e-05/0.844, allocations: 1.031 kB / 0.9588 GB, free: 4.043 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.103e-05/0.844, allocations: 0 / 0.9588 GB, free: 4.043 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.145e-06/0.844, allocations: 1.062 kB / 0.9588 GB, free: 4.043 MB / 0.7169 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 6.104e-05/0.8441, allocations: 106.9 kB / 0.9589 GB, free: 3.93 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.293e-06/0.8441, allocations: 4.719 kB / 0.9589 GB, free: 3.926 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.15e-05/0.8442, allocations: 41.81 kB / 0.9589 GB, free: 3.883 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.312e-06/0.8442, allocations: 5.094 kB / 0.9589 GB, free: 3.879 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.154e-06/0.8442, allocations: 0 / 0.9589 GB, free: 3.879 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.095e-06/0.8442, allocations: 1.031 kB / 0.9589 GB, free: 3.879 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.272e-05/0.8443, allocations: 142.7 kB / 0.959 GB, free: 3.691 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.21e-07/0.8443, allocations: 0 / 0.959 GB, free: 3.691 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.767e-05/0.8443, allocations: 9.828 kB / 0.9591 GB, free: 3.684 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.8443, allocations: 3.938 kB / 0.9591 GB, free: 3.68 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.324e-06/0.8444, allocations: 1.031 kB / 0.9591 GB, free: 3.68 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.8444, allocations: 0 / 0.9591 GB, free: 3.68 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.8444, allocations: 1.375 kB / 0.9591 GB, free: 3.68 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.562e-05/0.8444, allocations: 58.8 kB / 0.9591 GB, free: 3.609 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.129e-05/0.8445, allocations: 84.28 kB / 0.9592 GB, free: 3.512 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.483e-05/0.8445, allocations: 3.938 kB / 0.9592 GB, free: 3.508 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.001e-05/0.8445, allocations: 1.312 kB / 0.9592 GB, free: 3.508 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.126e-05/0.8445, allocations: 3.984 kB / 0.9592 GB, free: 3.504 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.136e-06/0.8446, allocations: 1.375 kB / 0.9592 GB, free: 3.504 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.201e-05/0.8446, allocations: 75.28 kB / 0.9593 GB, free: 3.43 MB / 0.7169 GB Notification: Performance of sort global known variables: time 9e-08/0.8446, allocations: 4.031 kB / 0.9593 GB, free: 3.426 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002005/0.8448, allocations: 9.812 kB / 0.9593 GB, free: 3.422 MB / 0.7169 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.0002172/0.845, allocations: 113.5 kB / 0.9594 GB, free: 3.324 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 8.83e-05/0.8451, allocations: 12.36 kB / 0.9594 GB, free: 3.316 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.918e-06/0.8451, allocations: 0 / 0.9594 GB, free: 3.316 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 7.444e-06/0.8451, allocations: 6.312 kB / 0.9594 GB, free: 3.312 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001491/0.8453, allocations: 1.156 kB / 0.9594 GB, free: 3.312 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000225/0.8455, allocations: 75.64 kB / 0.9595 GB, free: 3.219 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001895/0.8457, allocations: 0.6743 MB / 0.9601 GB, free: 2.52 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.638e-05/0.8458, allocations: 2.344 kB / 0.9602 GB, free: 2.52 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.603e-05/0.8458, allocations: 11.42 kB / 0.9602 GB, free: 2.508 MB / 0.7169 GB Notification: Performance of SimCode: time 5.71e-07/0.8458, allocations: 0 / 0.9602 GB, free: 2.508 MB / 0.7169 GB Notification: Performance of Templates: time 0.002554/0.8483, allocations: 299.8 kB / 0.9604 GB, free: 2.344 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.makefile (rm -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.sim & ./Buildings_9_Buildings.Utilities.Math.Functions.Examples.SpliceFunction -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Functions.Examples.SpliceFunction_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Functions_Examples_SpliceFunction.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches