Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.Functions.Examples.SpliceFunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_10_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_10_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.001396/0.001395, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001343/0.001343, allocations: 187.8 kB / 16.25 MB, free: 6.586 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.536/1.536, allocations: 222.9 MB / 239.9 MB, free: 4.527 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.705/2.705, allocations: 437 MB / 0.7101 GB, free: 5.266 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001976/0.001976, allocations: 64.05 kB / 0.8688 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6284/0.6303, allocations: 151.6 MB / 1.017 GB, free: 2.848 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunction): time 0.002128/0.6325, allocations: 0.6488 MB / 1.017 GB, free: 2.195 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001895/0.6344, allocations: 1.24 MB / 1.019 GB, free: 0.9375 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.509e-05/0.6345, allocations: 3.938 kB / 1.019 GB, free: 0.9336 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.044e-05/0.6345, allocations: 0 / 1.019 GB, free: 0.9336 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 5.681e-06/0.6345, allocations: 0 / 1.019 GB, free: 0.9336 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.000407/0.635, allocations: 59.89 kB / 1.019 GB, free: 0.875 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 3.6e-05/0.635, allocations: 0 / 1.019 GB, free: 0.875 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 4.275e-05/0.6351, allocations: 0 / 1.019 GB, free: 0.875 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 1.816e-05/0.6351, allocations: 7.984 kB / 1.019 GB, free: 0.8672 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 3.842e-05/0.6351, allocations: 7.984 kB / 1.019 GB, free: 0.8594 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 8.336e-06/0.6351, allocations: 3.938 kB / 1.019 GB, free: 0.8555 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002544/0.6354, allocations: 99.83 kB / 1.019 GB, free: 0.7578 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 8.536e-06/0.6354, allocations: 0 / 1.019 GB, free: 0.7578 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 1.658e-05/0.6354, allocations: 0 / 1.019 GB, free: 0.7578 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001474/0.6356, allocations: 51.94 kB / 1.019 GB, free: 0.707 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.6356, allocations: 0 / 1.019 GB, free: 0.707 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.472e-06/0.6356, allocations: 4 kB / 1.019 GB, free: 0.7031 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 5.861e-06/0.6356, allocations: 0 / 1.019 GB, free: 0.7031 MB / 0.7637 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.0003857/0.636, allocations: 327.6 kB / 1.019 GB, free: 344 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.998e-05/0.6361, allocations: 8.031 kB / 1.019 GB, free: 336 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.615e-05/0.6361, allocations: 4.844 kB / 1.019 GB, free: 332 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001398/0.6362, allocations: 164.4 kB / 1.019 GB, free: 128 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.262e-05/0.6363, allocations: 384 / 1.019 GB, free: 128 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.727e-06/0.6363, allocations: 384 / 1.019 GB, free: 128 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001109/0.6364, allocations: 34.02 kB / 1.019 GB, free: 88 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.6364, allocations: 4 kB / 1.019 GB, free: 84 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.415e-06/0.6364, allocations: 0 / 1.019 GB, free: 84 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.6364, allocations: 0 / 1.019 GB, free: 84 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.416e-05/0.6365, allocations: 7.938 kB / 1.019 GB, free: 76 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001781/0.6366, allocations: 149.7 kB / 1.02 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 4.437e-05/0.6367, allocations: 18.56 kB / 1.02 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.83e-05/0.6367, allocations: 8.953 kB / 1.02 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006554/0.6374, allocations: 0.5583 MB / 1.02 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.186e-05/0.6374, allocations: 38.5 kB / 1.02 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=1): time 1.142e-06/0.6374, allocations: 3.938 kB / 1.02 GB, free: 15.1 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1): time 0.0001537/0.6376, allocations: 41.62 kB / 1.02 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.341e-05/0.6377, allocations: 51.41 kB / 1.02 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.48e-05/0.6377, allocations: 93.98 kB / 1.02 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.622e-05/0.6377, allocations: 25.7 kB / 1.02 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.595e-05/0.6378, allocations: 80.14 kB / 1.02 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.958e-05/0.6378, allocations: 0 / 1.02 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.798e-05/0.6379, allocations: 17.72 kB / 1.02 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001481/0.638, allocations: 310.8 kB / 1.021 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.377e-06/0.638, allocations: 0 / 1.021 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.616e-06/0.638, allocations: 7.922 kB / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.179e-05/0.6381, allocations: 12.92 kB / 1.021 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.6381, allocations: 0 / 1.021 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.466e-05/0.6382, allocations: 37.64 kB / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.794e-05/0.6382, allocations: 7.938 kB / 1.021 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.987e-06/0.6382, allocations: 0 / 1.021 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.239e-05/0.6382, allocations: 0 / 1.021 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.608e-05/0.6383, allocations: 4 kB / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.6383, allocations: 0 / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.125e-05/0.6383, allocations: 0 / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.56e-06/0.6383, allocations: 0 / 1.021 GB, free: 14.36 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 (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 8.453e-05/0.6384, allocations: 118.4 kB / 1.021 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.025e-05/0.6384, allocations: 3.938 kB / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001069/0.6385, allocations: 36.83 kB / 1.021 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.6385, allocations: 3.938 kB / 1.021 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.6385, allocations: 0 / 1.021 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.055e-06/0.6385, allocations: 0 / 1.021 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001169/0.6387, allocations: 153.7 kB / 1.021 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.965e-06/0.6387, allocations: 8.031 kB / 1.021 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.594e-05/0.6387, allocations: 0 / 1.021 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.2e-06/0.6387, allocations: 3.938 kB / 1.021 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.532e-06/0.6387, allocations: 0 / 1.021 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.6387, allocations: 0 / 1.021 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.6387, allocations: 0 / 1.021 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.116e-05/0.6388, allocations: 57.12 kB / 1.021 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.721e-05/0.6389, allocations: 79.08 kB / 1.021 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.202e-05/0.6389, allocations: 11.91 kB / 1.021 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.328e-06/0.6389, allocations: 0 / 1.021 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.388e-05/0.6389, allocations: 8 kB / 1.021 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.194e-06/0.6389, allocations: 0 / 1.021 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.966e-05/0.639, allocations: 75.28 kB / 1.021 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.215e-06/0.639, allocations: 0 / 1.021 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001942/0.6392, allocations: 11.94 kB / 1.021 GB, free: 13.7 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 (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.0001799/0.6394, allocations: 107.2 kB / 1.021 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 8.367e-05/0.6395, allocations: 8 kB / 1.021 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.6395, allocations: 0 / 1.021 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 9.829e-06/0.6395, allocations: 4 kB / 1.021 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001272/0.6396, allocations: 0 / 1.021 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001933/0.6398, allocations: 85.03 kB / 1.022 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003309/0.6402, allocations: 0.669 MB / 1.022 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.438e-05/0.6402, allocations: 8.125 kB / 1.022 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.517e-05/0.6402, allocations: 11.38 kB / 1.022 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of SimCode: time 2.21e-07/0.6402, allocations: 0 / 1.022 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of Templates: time 0.002597/0.6428, allocations: 306.8 kB / 1.023 GB, free: 12.46 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.makefile (rm -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.sim & ./Buildings_10_Buildings.Utilities.Math.Functions.Examples.SpliceFunction -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Functions.Examples.SpliceFunction_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Functions_Examples_SpliceFunction.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches