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.007711/0.007711, allocations: 103.2 kB / 15.73 MB, free: 6.004 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.001483/0.001483, allocations: 191.3 kB / 16.67 MB, free: 5.93 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.324/1.324, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.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.274/2.274, allocations: 390.2 MB / 0.6648 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00129/0.00129, allocations: 63.91 kB / 0.9509 GB, free: 7.59 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.026/1.027, allocations: 140.4 MB / 1.088 GB, free: 5.512 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunction): time 0.003024/1.031, allocations: 0.5674 MB / 1.089 GB, free: 5.164 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.00255/1.033, allocations: 1.263 MB / 1.09 GB, free: 4.238 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.181e-05/1.033, allocations: 0 / 1.09 GB, free: 4.238 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.209e-05/1.033, allocations: 0 / 1.09 GB, free: 4.238 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 8.997e-06/1.033, allocations: 0 / 1.09 GB, free: 4.238 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006415/1.034, allocations: 68.2 kB / 1.09 GB, free: 4.207 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 5.649e-05/1.034, allocations: 2.156 kB / 1.09 GB, free: 4.207 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 5.822e-05/1.034, allocations: 1.984 kB / 1.09 GB, free: 4.207 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 2.24e-05/1.034, allocations: 5.781 kB / 1.09 GB, free: 4.203 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 5.512e-05/1.034, allocations: 5.031 kB / 1.09 GB, free: 4.199 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.14e-05/1.034, allocations: 0 / 1.09 GB, free: 4.199 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003798/1.035, allocations: 96.44 kB / 1.09 GB, free: 4.176 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.361e-05/1.035, allocations: 0.9688 kB / 1.09 GB, free: 4.176 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.079e-05/1.035, allocations: 0 / 1.09 GB, free: 4.176 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002484/1.035, allocations: 57.14 kB / 1.09 GB, free: 4.156 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.953e-06/1.035, allocations: 0.6562 kB / 1.09 GB, free: 4.156 MB / 0.8575 GB Notification: Performance of FrontEnd: time 3.095e-06/1.035, allocations: 0.7969 kB / 1.09 GB, free: 4.156 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 9.267e-06/1.035, allocations: 1 kB / 1.09 GB, free: 4.156 MB / 0.8575 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.0003757/1.035, allocations: 332.2 kB / 1.09 GB, free: 3.793 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 6.266e-05/1.035, allocations: 9.562 kB / 1.09 GB, free: 3.793 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.155e-05/1.035, allocations: 1.625 kB / 1.09 GB, free: 3.793 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.263e-05/1.035, allocations: 165.5 kB / 1.09 GB, free: 3.594 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.131e-05/1.035, allocations: 1.188 kB / 1.09 GB, free: 3.594 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.629e-05/1.036, allocations: 5.031 kB / 1.09 GB, free: 3.59 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001288/1.036, allocations: 33.53 kB / 1.091 GB, free: 3.555 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/1.036, allocations: 0 / 1.091 GB, free: 3.555 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.209e-05/1.036, allocations: 0.75 kB / 1.091 GB, free: 3.555 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.981e-06/1.036, allocations: 3.984 kB / 1.091 GB, free: 3.551 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.938e-05/1.036, allocations: 2.641 kB / 1.091 GB, free: 3.551 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001392/1.036, allocations: 148 kB / 1.091 GB, free: 3.359 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 4.316e-05/1.036, allocations: 22.09 kB / 1.091 GB, free: 3.332 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.026e-05/1.036, allocations: 10.2 kB / 1.091 GB, free: 3.32 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005692/1.037, allocations: 0.5625 MB / 1.091 GB, free: 2.66 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.05e-05/1.037, allocations: 39.3 kB / 1.091 GB, free: 2.613 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=1): time 1.263e-06/1.037, allocations: 0 / 1.091 GB, free: 2.613 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1): time 0.0001745/1.037, allocations: 32.66 kB / 1.091 GB, free: 2.582 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.654e-05/1.037, allocations: 57 kB / 1.091 GB, free: 2.516 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.029e-05/1.037, allocations: 90.66 kB / 1.091 GB, free: 2.418 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 6.402e-06/1.037, allocations: 29.64 kB / 1.091 GB, free: 2.383 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 1.416e-05/1.037, allocations: 80.14 kB / 1.092 GB, free: 2.301 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.855e-05/1.037, allocations: 1.5 kB / 1.092 GB, free: 2.301 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.303e-05/1.037, allocations: 11.53 kB / 1.092 GB, free: 2.285 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.697e-05/1.037, allocations: 316.7 kB / 1.092 GB, free: 1.969 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.479e-05/1.037, allocations: 0.7969 kB / 1.092 GB, free: 1.969 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.705e-06/1.037, allocations: 5.312 kB / 1.092 GB, free: 1.965 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.803e-05/1.037, allocations: 13.12 kB / 1.092 GB, free: 1.953 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/1.037, allocations: 0 / 1.092 GB, free: 1.953 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.582e-05/1.037, allocations: 32.5 kB / 1.092 GB, free: 1.922 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.412e-05/1.037, allocations: 9 kB / 1.092 GB, free: 1.918 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/1.037, allocations: 1.344 kB / 1.092 GB, free: 1.918 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.151e-05/1.037, allocations: 3.938 kB / 1.092 GB, free: 1.914 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.525e-05/1.037, allocations: 5.812 kB / 1.092 GB, free: 1.91 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.417e-06/1.037, allocations: 1.891 kB / 1.092 GB, free: 1.91 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.554e-05/1.037, allocations: 7.938 kB / 1.092 GB, free: 1.902 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.374e-06/1.037, allocations: 1.094 kB / 1.092 GB, free: 1.902 MB / 0.8575 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.157e-05/1.037, allocations: 111.9 kB / 1.092 GB, free: 1.785 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.047e-05/1.037, allocations: 3.938 kB / 1.092 GB, free: 1.781 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001191/1.038, allocations: 37.78 kB / 1.092 GB, free: 1.746 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/1.038, allocations: 0 / 1.092 GB, free: 1.746 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.441e-06/1.038, allocations: 5.156 kB / 1.092 GB, free: 1.742 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/1.038, allocations: 0 / 1.092 GB, free: 1.742 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.332e-05/1.038, allocations: 152.5 kB / 1.092 GB, free: 1.547 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/1.038, allocations: 1.859 kB / 1.092 GB, free: 1.547 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.938e-05/1.038, allocations: 1.062 kB / 1.092 GB, free: 1.547 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.028e-06/1.038, allocations: 5.094 kB / 1.092 GB, free: 1.543 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.065e-06/1.038, allocations: 0.6094 kB / 1.092 GB, free: 1.543 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/1.038, allocations: 1.094 kB / 1.092 GB, free: 1.543 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/1.038, allocations: 4.547 kB / 1.092 GB, free: 1.539 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.043e-05/1.038, allocations: 57.86 kB / 1.092 GB, free: 1.473 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.633e-05/1.038, allocations: 77.77 kB / 1.092 GB, free: 1.379 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.444e-05/1.038, allocations: 5 kB / 1.092 GB, free: 1.375 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.268e-05/1.038, allocations: 0.7969 kB / 1.092 GB, free: 1.375 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.325e-05/1.038, allocations: 1.125 kB / 1.092 GB, free: 1.375 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.101e-06/1.038, allocations: 5.859 kB / 1.092 GB, free: 1.371 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 1.511e-05/1.038, allocations: 75.28 kB / 1.092 GB, free: 1.297 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2.11e-07/1.038, allocations: 0 / 1.092 GB, free: 1.297 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.000308/1.038, allocations: 9.438 kB / 1.092 GB, free: 1.293 MB / 0.8575 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.0001962/1.039, allocations: 108.7 kB / 1.093 GB, free: 1.199 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.000109/1.039, allocations: 9.578 kB / 1.093 GB, free: 1.195 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/1.039, allocations: 0 / 1.093 GB, free: 1.195 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 1.377e-05/1.039, allocations: 2.766 kB / 1.093 GB, free: 1.195 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001876/1.039, allocations: 4.547 kB / 1.093 GB, free: 1.195 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002641/1.039, allocations: 77.47 kB / 1.093 GB, free: 1.105 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002853/1.039, allocations: 0.6743 MB / 1.093 GB, free: 16.41 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 3.08e-05/1.04, allocations: 1.656 kB / 1.093 GB, free: 16.41 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.843e-05/1.04, allocations: 8.5 kB / 1.093 GB, free: 16.4 MB / 0.8731 GB Notification: Performance of SimCode: time 3.1e-07/1.04, allocations: 0 / 1.093 GB, free: 16.4 MB / 0.8731 GB Notification: Performance of Templates: time 0.003207/1.043, allocations: 304 kB / 1.094 GB, free: 16.33 MB / 0.8731 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