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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.001545/0.001545, allocations: 112.5 kB / 15.74 MB, free: 68 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001555/0.001555, allocations: 198 kB / 16.67 MB, free: 6.582 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.344/1.344, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.689/2.689, allocations: 482.6 MB / 0.755 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001705/0.001705, allocations: 67.89 kB / 1.083 GB, free: 12.17 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2683/0.27, allocations: 162.3 MB / 1.242 GB, free: 9.762 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunction): time 0.001441/0.2715, allocations: 0.5758 MB / 1.242 GB, free: 9.188 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.00137/0.2729, allocations: 1.252 MB / 1.244 GB, free: 7.918 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.225e-06/0.2729, allocations: 0 / 1.244 GB, free: 7.918 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 5.04e-06/0.2729, allocations: 0 / 1.244 GB, free: 7.918 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 2.465e-06/0.2729, allocations: 0 / 1.244 GB, free: 7.918 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002246/0.2731, allocations: 67.73 kB / 1.244 GB, free: 7.852 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 3.173e-05/0.2732, allocations: 4 kB / 1.244 GB, free: 7.848 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.349e-05/0.2732, allocations: 4 kB / 1.244 GB, free: 7.844 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.347e-05/0.2732, allocations: 3.938 kB / 1.244 GB, free: 7.84 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 2.486e-05/0.2733, allocations: 11.98 kB / 1.244 GB, free: 7.828 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 7.024e-06/0.2733, allocations: 0 / 1.244 GB, free: 7.828 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002062/0.2735, allocations: 91.89 kB / 1.244 GB, free: 7.738 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 8.977e-06/0.2735, allocations: 4 kB / 1.244 GB, free: 7.734 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 1.069e-05/0.2735, allocations: 0 / 1.244 GB, free: 7.734 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001145/0.2736, allocations: 51.88 kB / 1.244 GB, free: 7.684 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 2.524e-06/0.2736, allocations: 0 / 1.244 GB, free: 7.684 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.212e-06/0.2736, allocations: 0 / 1.244 GB, free: 7.684 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 3.547e-06/0.2737, allocations: 0 / 1.244 GB, free: 7.684 MB / 0.9981 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.0002882/0.274, allocations: 327.5 kB / 1.244 GB, free: 7.316 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.023e-05/0.274, allocations: 12.03 kB / 1.244 GB, free: 7.305 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.063e-05/0.274, allocations: 34.69 kB / 1.244 GB, free: 7.262 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.526e-05/0.274, allocations: 0.9375 kB / 1.244 GB, free: 7.262 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001036/0.2742, allocations: 164.4 kB / 1.244 GB, free: 7.062 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.871e-06/0.2742, allocations: 384 / 1.244 GB, free: 7.062 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.957e-06/0.2742, allocations: 4.359 kB / 1.244 GB, free: 7.059 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.604e-05/0.2743, allocations: 33.83 kB / 1.244 GB, free: 7.02 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.302e-06/0.2743, allocations: 0 / 1.244 GB, free: 7.02 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.819e-06/0.2743, allocations: 7.938 kB / 1.244 GB, free: 7.012 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.14e-06/0.2743, allocations: 0 / 1.244 GB, free: 7.012 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.678e-05/0.2743, allocations: 7.938 kB / 1.244 GB, free: 7.004 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001371/0.2745, allocations: 153.6 kB / 1.245 GB, free: 6.805 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.274e-05/0.2745, allocations: 18.52 kB / 1.245 GB, free: 6.777 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.464e-05/0.2745, allocations: 8.953 kB / 1.245 GB, free: 6.766 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005625/0.2751, allocations: 0.5583 MB / 1.245 GB, free: 6.078 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.847e-05/0.2751, allocations: 42.48 kB / 1.245 GB, free: 6.027 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=1): time 1.062e-06/0.2751, allocations: 0 / 1.245 GB, free: 6.027 MB / 0.9981 GB Notification: Performance of matching and sorting (n=1): time 0.0001026/0.2752, allocations: 33.7 kB / 1.245 GB, free: 5.988 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.76e-05/0.2753, allocations: 55.34 kB / 1.245 GB, free: 5.922 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.073e-05/0.2753, allocations: 89.86 kB / 1.245 GB, free: 5.824 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.342e-05/0.2753, allocations: 25.83 kB / 1.245 GB, free: 5.793 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 3.644e-05/0.2754, allocations: 84.14 kB / 1.246 GB, free: 5.707 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.107e-05/0.2754, allocations: 3.953 kB / 1.246 GB, free: 5.703 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.778e-05/0.2754, allocations: 17.72 kB / 1.246 GB, free: 5.68 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001243/0.2756, allocations: 310.8 kB / 1.246 GB, free: 5.367 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.166e-05/0.2756, allocations: 7.984 kB / 1.246 GB, free: 5.359 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.189e-06/0.2756, allocations: 0 / 1.246 GB, free: 5.359 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.657e-05/0.2756, allocations: 8.859 kB / 1.246 GB, free: 5.348 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.2756, allocations: 4.062 kB / 1.246 GB, free: 5.344 MB / 0.9981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.864e-05/0.2757, allocations: 33.7 kB / 1.246 GB, free: 5.305 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.448e-05/0.2757, allocations: 9.656 kB / 1.246 GB, free: 5.297 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.786e-06/0.2757, allocations: 3.938 kB / 1.246 GB, free: 5.293 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.089e-05/0.2757, allocations: 0 / 1.246 GB, free: 5.293 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.386e-05/0.2758, allocations: 4 kB / 1.246 GB, free: 5.289 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.206e-06/0.2758, allocations: 0 / 1.246 GB, free: 5.289 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.157e-06/0.2758, allocations: 0 / 1.246 GB, free: 5.289 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.102e-06/0.2758, allocations: 3.984 kB / 1.246 GB, free: 5.285 MB / 0.9981 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.332e-05/0.2759, allocations: 113.9 kB / 1.246 GB, free: 5.164 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.854e-06/0.2759, allocations: 3.938 kB / 1.246 GB, free: 5.16 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.507e-05/0.276, allocations: 36.83 kB / 1.246 GB, free: 5.117 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.182e-06/0.276, allocations: 0 / 1.246 GB, free: 5.117 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.276, allocations: 0 / 1.246 GB, free: 5.117 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.276, allocations: 3.984 kB / 1.246 GB, free: 5.113 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001027/0.2761, allocations: 145.7 kB / 1.246 GB, free: 4.922 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.72e-07/0.2761, allocations: 4 kB / 1.246 GB, free: 4.918 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.467e-05/0.2761, allocations: 4.031 kB / 1.246 GB, free: 4.914 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.599e-06/0.2761, allocations: 7.875 kB / 1.246 GB, free: 4.906 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.539e-06/0.2761, allocations: 3.938 kB / 1.246 GB, free: 4.902 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.2761, allocations: 0 / 1.246 GB, free: 4.902 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.2762, allocations: 4 kB / 1.246 GB, free: 4.898 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.189e-05/0.2762, allocations: 57.06 kB / 1.246 GB, free: 4.824 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.592e-05/0.2763, allocations: 81.05 kB / 1.246 GB, free: 4.727 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.344e-06/0.2763, allocations: 4.031 kB / 1.246 GB, free: 4.723 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.212e-05/0.2763, allocations: 8 kB / 1.246 GB, free: 4.715 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.119e-05/0.2763, allocations: 0 / 1.246 GB, free: 4.715 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.984e-06/0.2763, allocations: 0 / 1.246 GB, free: 4.715 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 2.815e-05/0.2764, allocations: 75.28 kB / 1.246 GB, free: 4.641 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2764, allocations: 0 / 1.246 GB, free: 4.641 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0001724/0.2765, allocations: 7.984 kB / 1.246 GB, free: 4.633 MB / 0.9981 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.000403/0.2769, allocations: 0.6128 MB / 1.247 GB, free: 3.988 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 5.225e-05/0.277, allocations: 4 kB / 1.247 GB, free: 3.984 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.277, allocations: 0 / 1.247 GB, free: 3.984 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 5.771e-06/0.277, allocations: 0 / 1.247 GB, free: 3.984 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001095/0.2771, allocations: 4 kB / 1.247 GB, free: 3.98 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000247/0.2774, allocations: 117.5 kB / 1.247 GB, free: 3.828 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002553/0.2777, allocations: 0.6729 MB / 1.248 GB, free: 3.129 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 1.778e-05/0.2777, allocations: 3.984 kB / 1.248 GB, free: 3.125 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.263e-05/0.2777, allocations: 7.438 kB / 1.248 GB, free: 3.117 MB / 0.9981 GB Notification: Performance of SimCode: time 2e-07/0.2777, allocations: 0 / 1.248 GB, free: 3.117 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3416/0.6193, allocations: 1.024 MB / 1.249 GB, free: 2.195 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.703/8.323, allocations: 23.77 kB / 1.249 GB, free: 2.176 MB / 0.9981 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=400 --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