Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.SpliceFunction,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Functions_Examples_SpliceFunction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.SpliceFunction,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Functions_Examples_SpliceFunction",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005468/0.005467, allocations: 100.7 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.001332/0.001332, allocations: 195.1 kB / 16.68 MB, free: 5.926 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.342/1.342, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.608/2.608, allocations: 461.9 MB / 0.7348 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001389/0.00139, allocations: 63.91 kB / 1.054 GB, free: 8.133 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8352/0.8366, allocations: 157.4 MB / 1.207 GB, free: 13.53 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunction): time 0.001738/0.8384, allocations: 0.5909 MB / 1.208 GB, free: 12.95 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.00172/0.8401, allocations: 1.246 MB / 1.209 GB, free: 11.68 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.558e-05/0.8401, allocations: 0 / 1.209 GB, free: 11.68 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 1.317e-05/0.8402, allocations: 0 / 1.209 GB, free: 11.68 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 6.302e-06/0.8402, allocations: 0 / 1.209 GB, free: 11.68 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003893/0.8406, allocations: 71.73 kB / 1.209 GB, free: 11.61 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 4.354e-05/0.8406, allocations: 4 kB / 1.209 GB, free: 11.61 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 4.182e-05/0.8407, allocations: 0 / 1.209 GB, free: 11.61 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 1.445e-05/0.8407, allocations: 0 / 1.209 GB, free: 11.61 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 4.167e-05/0.8407, allocations: 0 / 1.209 GB, free: 11.61 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 8.416e-06/0.8407, allocations: 0 / 1.209 GB, free: 11.61 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002549/0.841, allocations: 103.9 kB / 1.209 GB, free: 11.51 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 9.077e-06/0.841, allocations: 0 / 1.209 GB, free: 11.51 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 1.826e-05/0.841, allocations: 7.938 kB / 1.209 GB, free: 11.5 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001295/0.8412, allocations: 47.94 kB / 1.209 GB, free: 11.45 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.8412, allocations: 8 kB / 1.209 GB, free: 11.45 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.483e-06/0.8412, allocations: 0 / 1.209 GB, free: 11.45 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 4.629e-06/0.8412, allocations: 0 / 1.209 GB, free: 11.45 MB / 0.9356 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.0003168/0.8415, allocations: 323.6 kB / 1.21 GB, free: 11.08 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.884e-05/0.8416, allocations: 15.97 kB / 1.21 GB, free: 11.07 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.958e-05/0.8416, allocations: 30.75 kB / 1.21 GB, free: 11.03 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.298e-05/0.8416, allocations: 4.938 kB / 1.21 GB, free: 11.02 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.006e-05/0.8417, allocations: 160.4 kB / 1.21 GB, free: 10.83 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.658e-06/0.8418, allocations: 384 / 1.21 GB, free: 10.83 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.526e-06/0.8418, allocations: 4.359 kB / 1.21 GB, free: 10.82 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.365e-05/0.8419, allocations: 41.81 kB / 1.21 GB, free: 10.78 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.152e-06/0.8419, allocations: 0 / 1.21 GB, free: 10.78 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.382e-06/0.8419, allocations: 0 / 1.21 GB, free: 10.78 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.918e-06/0.8419, allocations: 0 / 1.21 GB, free: 10.78 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.828e-05/0.8419, allocations: 0 / 1.21 GB, free: 10.78 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001363/0.842, allocations: 145.7 kB / 1.21 GB, free: 10.59 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 3.768e-05/0.8421, allocations: 22.52 kB / 1.21 GB, free: 10.55 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.711e-05/0.8421, allocations: 12.95 kB / 1.21 GB, free: 10.54 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005336/0.8427, allocations: 0.5583 MB / 1.211 GB, free: 9.852 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.438e-05/0.8427, allocations: 34.5 kB / 1.211 GB, free: 9.809 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=1): time 1.072e-06/0.8427, allocations: 3.938 kB / 1.211 GB, free: 9.805 MB / 0.9356 GB Notification: Performance of matching and sorting (n=1): time 0.0001327/0.8428, allocations: 41.62 kB / 1.211 GB, free: 9.758 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.467e-05/0.8429, allocations: 59.53 kB / 1.211 GB, free: 9.688 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.282e-05/0.8429, allocations: 89.86 kB / 1.211 GB, free: 9.59 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.157e-05/0.8429, allocations: 29.64 kB / 1.211 GB, free: 9.555 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 3.314e-05/0.843, allocations: 80.14 kB / 1.211 GB, free: 9.473 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.577e-05/0.843, allocations: 3.906 kB / 1.211 GB, free: 9.469 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.586e-05/0.843, allocations: 9.719 kB / 1.211 GB, free: 9.453 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001055/0.8432, allocations: 318.8 kB / 1.211 GB, free: 9.133 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.017e-06/0.8432, allocations: 0 / 1.211 GB, free: 9.133 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.315e-06/0.8432, allocations: 4 kB / 1.211 GB, free: 9.129 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.796e-05/0.8432, allocations: 8.859 kB / 1.211 GB, free: 9.117 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.8432, allocations: 0 / 1.211 GB, free: 9.117 MB / 0.9356 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.562e-05/0.8433, allocations: 37.62 kB / 1.211 GB, free: 9.074 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.717e-05/0.8433, allocations: 11.94 kB / 1.211 GB, free: 9.062 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.459e-06/0.8433, allocations: 0 / 1.211 GB, free: 9.062 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.113e-05/0.8433, allocations: 0 / 1.211 GB, free: 9.062 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.488e-05/0.8434, allocations: 0 / 1.211 GB, free: 9.062 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.718e-06/0.8434, allocations: 0 / 1.211 GB, free: 9.062 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.162e-05/0.8434, allocations: 8.094 kB / 1.211 GB, free: 9.055 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.631e-06/0.8434, allocations: 0 / 1.211 GB, free: 9.055 MB / 0.9356 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.499e-05/0.8435, allocations: 109.8 kB / 1.211 GB, free: 8.938 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.002e-05/0.8435, allocations: 7.922 kB / 1.211 GB, free: 8.93 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.415e-05/0.8436, allocations: 39.08 kB / 1.211 GB, free: 8.887 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.8436, allocations: 0 / 1.211 GB, free: 8.887 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.8436, allocations: 0 / 1.211 GB, free: 8.887 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.8436, allocations: 4.031 kB / 1.211 GB, free: 8.883 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000125/0.8438, allocations: 145.7 kB / 1.212 GB, free: 8.691 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.8438, allocations: 0 / 1.212 GB, free: 8.691 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.937e-05/0.8438, allocations: 7.938 kB / 1.212 GB, free: 8.684 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.908e-06/0.8438, allocations: 3.938 kB / 1.212 GB, free: 8.68 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.232e-06/0.8438, allocations: 4 kB / 1.212 GB, free: 8.676 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.8438, allocations: 0 / 1.212 GB, free: 8.676 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.8438, allocations: 0 / 1.212 GB, free: 8.676 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.651e-05/0.8439, allocations: 65.12 kB / 1.212 GB, free: 8.594 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 6.59e-05/0.844, allocations: 81.05 kB / 1.212 GB, free: 8.496 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.638e-06/0.844, allocations: 0 / 1.212 GB, free: 8.496 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.538e-06/0.844, allocations: 0 / 1.212 GB, free: 8.496 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.128e-06/0.844, allocations: 0 / 1.212 GB, free: 8.496 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.847e-06/0.844, allocations: 4 kB / 1.212 GB, free: 8.492 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 2.449e-05/0.8441, allocations: 79.22 kB / 1.212 GB, free: 8.414 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8441, allocations: 0 / 1.212 GB, free: 8.414 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002074/0.8443, allocations: 11.94 kB / 1.212 GB, free: 8.402 MB / 0.9356 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.0004173/0.8447, allocations: 0.6124 MB / 1.212 GB, free: 7.758 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 6.948e-05/0.8448, allocations: 7.984 kB / 1.212 GB, free: 7.75 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.8448, allocations: 0 / 1.212 GB, free: 7.75 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 6.652e-06/0.8448, allocations: 0 / 1.212 GB, free: 7.75 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001233/0.8449, allocations: 2.344 kB / 1.212 GB, free: 7.75 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002953/0.8452, allocations: 122.5 kB / 1.213 GB, free: 7.59 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002135/0.8454, allocations: 0.6768 MB / 1.213 GB, free: 6.887 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 2.105e-05/0.8455, allocations: 3.984 kB / 1.213 GB, free: 6.883 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.456e-05/0.8455, allocations: 7.438 kB / 1.213 GB, free: 6.879 MB / 0.9356 GB Notification: Performance of SimCode: time 2.11e-07/0.8455, allocations: 0 / 1.213 GB, free: 6.879 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01647/0.862, allocations: 1.042 MB / 1.214 GB, free: 5.945 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.514/8.376, allocations: 0 / 1.214 GB, free: 5.945 MB / 0.9356 GB (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SpliceFunction_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Functions_Examples_SpliceFunction_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Math_Functions_Examples_SpliceFunction.fmu > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SpliceFunction_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_SpliceFunction.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches