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.001594/0.001594, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.00188/0.001881, allocations: 190.9 kB / 16.13 MB, free: 6.645 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.457/1.457, allocations: 222.9 MB / 239.8 MB, free: 4.535 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.44/2.44, allocations: 390.2 MB / 0.6642 GB, free: 0.6445 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001964/0.001965, allocations: 68.12 kB / 0.8119 GB, free: 14.91 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8317/0.8337, allocations: 140.3 MB / 0.9489 GB, free: 9.312 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunction): time 0.002514/0.8363, allocations: 0.6505 MB / 0.9496 GB, free: 8.812 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001758/0.838, allocations: 1.253 MB / 0.9508 GB, free: 7.809 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.68e-05/0.8381, allocations: 0 / 0.9508 GB, free: 7.809 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.53e-05/0.8381, allocations: 0 / 0.9508 GB, free: 7.809 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.692e-06/0.8381, allocations: 1.094 kB / 0.9508 GB, free: 7.809 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003508/0.8385, allocations: 39.77 kB / 0.9508 GB, free: 7.785 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.124e-05/0.8386, allocations: 5.219 kB / 0.9508 GB, free: 7.781 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 5.241e-05/0.8386, allocations: 9.844 kB / 0.9508 GB, free: 7.773 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 1.643e-05/0.8386, allocations: 1.062 kB / 0.9508 GB, free: 7.773 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.821e-05/0.8387, allocations: 1.531 kB / 0.9508 GB, free: 7.773 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.043e-05/0.8387, allocations: 0 / 0.9508 GB, free: 7.773 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002556/0.839, allocations: 106.3 kB / 0.9509 GB, free: 7.715 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.055e-05/0.839, allocations: 0 / 0.9509 GB, free: 7.715 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 1.894e-05/0.839, allocations: 1.375 kB / 0.9509 GB, free: 7.715 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001432/0.8391, allocations: 56.28 kB / 0.951 GB, free: 7.684 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.8392, allocations: 0 / 0.951 GB, free: 7.684 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.052e-06/0.8392, allocations: 4 kB / 0.951 GB, free: 7.68 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.31e-06/0.8392, allocations: 0 / 0.951 GB, free: 7.68 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.0003092/0.8395, allocations: 323 kB / 0.9513 GB, free: 7.324 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.802e-05/0.8395, allocations: 9.406 kB / 0.9513 GB, free: 7.324 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.638e-05/0.8396, allocations: 4.938 kB / 0.9513 GB, free: 7.32 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.774e-05/0.8397, allocations: 164.4 kB / 0.9515 GB, free: 7.121 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.062e-05/0.8397, allocations: 1.844 kB / 0.9515 GB, free: 7.121 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.825e-06/0.8397, allocations: 384 / 0.9515 GB, free: 7.121 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001074/0.8398, allocations: 35.39 kB / 0.9515 GB, free: 7.082 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.281e-06/0.8398, allocations: 0.9062 kB / 0.9515 GB, free: 7.082 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.016e-05/0.8398, allocations: 4 kB / 0.9515 GB, free: 7.078 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/0.8398, allocations: 1.062 kB / 0.9515 GB, free: 7.078 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.175e-05/0.8399, allocations: 4.969 kB / 0.9515 GB, free: 7.074 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001134/0.84, allocations: 146.9 kB / 0.9517 GB, free: 6.883 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.968e-05/0.84, allocations: 25.16 kB / 0.9517 GB, free: 6.852 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.875e-05/0.8401, allocations: 6.172 kB / 0.9517 GB, free: 6.844 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005113/0.8406, allocations: 0.5589 MB / 0.9522 GB, free: 6.176 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.681e-05/0.8406, allocations: 39.83 kB / 0.9523 GB, free: 6.129 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=1): time 1.182e-06/0.8406, allocations: 0 / 0.9523 GB, free: 6.129 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1): time 0.0001582/0.8408, allocations: 38.67 kB / 0.9523 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.16e-05/0.8408, allocations: 52.81 kB / 0.9524 GB, free: 6.027 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.173e-05/0.8409, allocations: 93.98 kB / 0.9525 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.546e-06/0.8409, allocations: 25.7 kB / 0.9525 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.96e-05/0.8409, allocations: 80.14 kB / 0.9526 GB, free: 5.812 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.405e-05/0.8409, allocations: 5.094 kB / 0.9526 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.368e-05/0.841, allocations: 11.03 kB / 0.9526 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.215e-05/0.841, allocations: 316 kB / 0.9529 GB, free: 5.477 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.352e-05/0.8411, allocations: 9.266 kB / 0.9529 GB, free: 5.469 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.874e-06/0.8411, allocations: 1.125 kB / 0.9529 GB, free: 5.469 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.054e-05/0.8411, allocations: 11.73 kB / 0.9529 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.8411, allocations: 0 / 0.9529 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.042e-05/0.8412, allocations: 35.61 kB / 0.9529 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.774e-05/0.8412, allocations: 10.44 kB / 0.9529 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.8412, allocations: 1.031 kB / 0.9529 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.471e-05/0.8412, allocations: 0 / 0.9529 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.461e-05/0.8413, allocations: 2.562 kB / 0.9529 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.8413, allocations: 0 / 0.9529 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.185e-05/0.8413, allocations: 0 / 0.9529 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.885e-06/0.8413, allocations: 5.234 kB / 0.9529 GB, free: 5.414 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 5.394e-05/0.8414, allocations: 115.2 kB / 0.9531 GB, free: 5.293 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.333e-06/0.8414, allocations: 3.938 kB / 0.9531 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.346e-05/0.8415, allocations: 39.08 kB / 0.9531 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.243e-06/0.8415, allocations: 0 / 0.9531 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.8415, allocations: 0 / 0.9531 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.245e-06/0.8415, allocations: 1.344 kB / 0.9531 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.633e-05/0.8416, allocations: 155 kB / 0.9532 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.8416, allocations: 0 / 0.9532 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.348e-05/0.8416, allocations: 1.312 kB / 0.9532 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.549e-06/0.8416, allocations: 5.219 kB / 0.9533 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.743e-06/0.8416, allocations: 0 / 0.9533 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.8416, allocations: 0 / 0.9533 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.8416, allocations: 1.469 kB / 0.9533 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.088e-05/0.8417, allocations: 59.12 kB / 0.9533 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.452e-05/0.8417, allocations: 83.11 kB / 0.9534 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.271e-05/0.8418, allocations: 5.375 kB / 0.9534 GB, free: 4.875 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.998e-06/0.8418, allocations: 7.938 kB / 0.9534 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.512e-05/0.8418, allocations: 1.375 kB / 0.9534 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.924e-06/0.8418, allocations: 0 / 0.9534 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.881e-05/0.8418, allocations: 79.22 kB / 0.9535 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.11e-07/0.8418, allocations: 1.062 kB / 0.9535 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002277/0.8421, allocations: 12.55 kB / 0.9535 GB, free: 4.781 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.0001548/0.8422, allocations: 111.6 kB / 0.9536 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 6.49e-05/0.8423, allocations: 7.938 kB / 0.9536 GB, free: 4.684 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.8423, allocations: 0 / 0.9536 GB, free: 4.684 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.706e-06/0.8423, allocations: 2.031 kB / 0.9536 GB, free: 4.684 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001478/0.8425, allocations: 1 kB / 0.9536 GB, free: 4.684 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001752/0.8427, allocations: 80.06 kB / 0.9537 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001473/0.8428, allocations: 0.6741 MB / 0.9543 GB, free: 3.887 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.519e-05/0.8429, allocations: 10.14 kB / 0.9544 GB, free: 3.879 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.374e-05/0.8429, allocations: 8.375 kB / 0.9544 GB, free: 3.871 MB / 0.7169 GB Notification: Performance of SimCode: time 2e-07/0.8429, allocations: 0 / 0.9544 GB, free: 3.871 MB / 0.7169 GB Notification: Performance of Templates: time 0.002624/0.8455, allocations: 299.6 kB / 0.9546 GB, free: 3.707 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