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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009185/0.0009185, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008472/0.0008472, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9136/0.9136, allocations: 177.1 MB / 202.8 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.84/1.84, allocations: 389 MB / 0.633 GB, free: 12.7 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 0.9997 GB, free: 13.45 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.883e-05/2.042e-05, allocations: 5.094 kB / 0.9997 GB, free: 13.45 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunction): time 0.001579/0.001599, allocations: 0.5838 MB / 1 GB, free: 12.86 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001785/0.003383, allocations: 1.272 MB / 1.002 GB, free: 11.57 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.914e-05/0.003403, allocations: 3.938 kB / 1.002 GB, free: 11.57 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 1.839e-05/0.003421, allocations: 4 kB / 1.002 GB, free: 11.57 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 7.183e-06/0.003428, allocations: 0 / 1.002 GB, free: 11.57 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004421/0.00387, allocations: 75.62 kB / 1.002 GB, free: 11.49 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 5.083e-05/0.003921, allocations: 4 kB / 1.002 GB, free: 11.49 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 5.002e-05/0.003971, allocations: 11.97 kB / 1.002 GB, free: 11.48 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 2.705e-05/0.003998, allocations: 0 / 1.002 GB, free: 11.48 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 4.684e-05/0.004045, allocations: 0 / 1.002 GB, free: 11.48 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.182e-05/0.004057, allocations: 4 kB / 1.002 GB, free: 11.47 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000296/0.004353, allocations: 99.89 kB / 1.002 GB, free: 11.38 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 8.927e-06/0.004362, allocations: 4 kB / 1.002 GB, free: 11.37 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 1.59e-05/0.004378, allocations: 0 / 1.002 GB, free: 11.37 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001672/0.004545, allocations: 83.7 kB / 1.002 GB, free: 11.29 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.534e-06/0.004547, allocations: 0 / 1.002 GB, free: 11.29 MB / 0.9636 GB Notification: Performance of FrontEnd: time 7.11e-07/0.004548, allocations: 0 / 1.002 GB, free: 11.29 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.127e-06/0.004552, allocations: 0 / 1.002 GB, free: 11.29 MB / 0.9636 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.0002825/0.004835, allocations: 254.3 kB / 1.002 GB, free: 11.01 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.435e-05/0.004879, allocations: 8.75 kB / 1.002 GB, free: 11 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.295e-05/0.004912, allocations: 30.75 kB / 1.002 GB, free: 10.96 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.583e-05/0.004938, allocations: 4.938 kB / 1.002 GB, free: 10.96 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.986e-05/0.005008, allocations: 101.8 kB / 1.002 GB, free: 10.84 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.157e-05/0.005019, allocations: 4.375 kB / 1.002 GB, free: 10.83 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.313e-06/0.005027, allocations: 4.312 kB / 1.002 GB, free: 10.83 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.525e-05/0.005122, allocations: 34.25 kB / 1.002 GB, free: 10.79 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.00513, allocations: 192 / 1.002 GB, free: 10.79 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.937e-06/0.005139, allocations: 4.125 kB / 1.002 GB, free: 10.79 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.005144, allocations: 0 / 1.002 GB, free: 10.79 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.078e-05/0.005165, allocations: 7.984 kB / 1.002 GB, free: 10.78 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001263/0.005291, allocations: 116.8 kB / 1.002 GB, free: 10.62 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 3.913e-05/0.00533, allocations: 14.58 kB / 1.002 GB, free: 10.6 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.742e-05/0.005348, allocations: 12.89 kB / 1.002 GB, free: 10.58 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002942/0.005642, allocations: 47.95 kB / 1.002 GB, free: 10.54 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.435e-05/0.005666, allocations: 30.56 kB / 1.002 GB, free: 10.5 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=1): time 1.022e-06/0.005667, allocations: 0 / 1.002 GB, free: 10.5 MB / 0.9636 GB Notification: Performance of matching and sorting (n=1): time 0.0001323/0.0058, allocations: 41.64 kB / 1.003 GB, free: 10.45 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.28e-05/0.005833, allocations: 51.41 kB / 1.003 GB, free: 10.39 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.081e-05/0.005863, allocations: 89.86 kB / 1.003 GB, free: 10.29 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.127e-05/0.005875, allocations: 25.7 kB / 1.003 GB, free: 10.26 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 2.844e-05/0.005903, allocations: 84.27 kB / 1.003 GB, free: 10.17 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.524e-05/0.005928, allocations: 0 / 1.003 GB, free: 10.17 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.954e-05/0.005958, allocations: 13.72 kB / 1.003 GB, free: 10.15 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 9.35e-05/0.006051, allocations: 318.8 kB / 1.003 GB, free: 9.832 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.522e-05/0.006067, allocations: 15.88 kB / 1.003 GB, free: 9.816 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.793e-06/0.006073, allocations: 0 / 1.003 GB, free: 9.816 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.758e-05/0.006101, allocations: 12.8 kB / 1.003 GB, free: 9.801 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.006103, allocations: 0 / 1.003 GB, free: 9.801 MB / 0.9636 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.579e-05/0.006158, allocations: 33.66 kB / 1.003 GB, free: 9.762 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.403e-05/0.006172, allocations: 8.094 kB / 1.003 GB, free: 9.754 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.006178, allocations: 0 / 1.003 GB, free: 9.754 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.466e-05/0.006192, allocations: 7.938 kB / 1.003 GB, free: 9.746 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.627e-05/0.006238, allocations: 0 / 1.003 GB, free: 9.746 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.262e-06/0.006245, allocations: 3.984 kB / 1.003 GB, free: 9.742 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.259e-05/0.006257, allocations: 3.984 kB / 1.003 GB, free: 9.738 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.671e-06/0.006263, allocations: 0 / 1.003 GB, free: 9.738 MB / 0.9636 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 6.387e-05/0.006327, allocations: 117.8 kB / 1.003 GB, free: 9.613 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.041e-06/0.006333, allocations: 0 / 1.003 GB, free: 9.613 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.106e-05/0.006414, allocations: 36.7 kB / 1.003 GB, free: 9.57 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.006418, allocations: 7.938 kB / 1.003 GB, free: 9.562 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/0.006424, allocations: 3.984 kB / 1.003 GB, free: 9.559 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.354e-06/0.006427, allocations: 0 / 1.003 GB, free: 9.559 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.527e-05/0.006502, allocations: 112.8 kB / 1.003 GB, free: 9.406 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.512e-06/0.006503, allocations: 0 / 1.003 GB, free: 9.406 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.595e-05/0.006519, allocations: 4 kB / 1.003 GB, free: 9.402 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.232e-06/0.00652, allocations: 0 / 1.003 GB, free: 9.402 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.27e-06/0.006526, allocations: 0 / 1.003 GB, free: 9.402 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.584e-06/0.006528, allocations: 3.938 kB / 1.003 GB, free: 9.398 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.006529, allocations: 4.031 kB / 1.003 GB, free: 9.395 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.142e-05/0.006591, allocations: 65.09 kB / 1.003 GB, free: 9.312 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 3.997e-06/0.006595, allocations: 0 / 1.003 GB, free: 9.312 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.308e-06/0.006604, allocations: 0 / 1.003 GB, free: 9.312 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.057e-06/0.006613, allocations: 7.938 kB / 1.003 GB, free: 9.305 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.263e-05/0.006626, allocations: 0 / 1.003 GB, free: 9.305 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.334e-06/0.006628, allocations: 0 / 1.003 GB, free: 9.305 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 2.495e-05/0.006653, allocations: 79.28 kB / 1.004 GB, free: 9.227 MB / 0.9636 GB Notification: Performance of sort global known variables: time 7e-08/0.006653, allocations: 0 / 1.004 GB, free: 9.227 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0002408/0.006894, allocations: 15.92 kB / 1.004 GB, free: 9.211 MB / 0.9636 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.0003691/0.007263, allocations: 0.6008 MB / 1.004 GB, free: 8.582 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 7.123e-05/0.007334, allocations: 15.88 kB / 1.004 GB, free: 8.566 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.007336, allocations: 0 / 1.004 GB, free: 8.566 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 7.414e-06/0.007344, allocations: 4 kB / 1.004 GB, free: 8.562 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001553/0.007499, allocations: 3.938 kB / 1.004 GB, free: 8.559 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003084/0.007807, allocations: 110.6 kB / 1.004 GB, free: 8.41 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.066e-05/0.007848, allocations: 55.36 kB / 1.004 GB, free: 8.336 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 1.912e-05/0.007867, allocations: 8.094 kB / 1.004 GB, free: 8.328 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.829e-05/0.007885, allocations: 8.5 kB / 1.004 GB, free: 8.32 MB / 0.9636 GB Notification: Performance of SimCode: time 6.41e-07/0.007886, allocations: 4 kB / 1.004 GB, free: 8.316 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01887/0.02675, allocations: 1.772 MB / 1.006 GB, free: 6.672 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.793/6.819, allocations: 3.375 kB / 1.006 GB, free: 6.672 MB / 0.9636 GB " [Timeout remaining time 293] (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 --stepSize=0.0008 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Math_Functions_Examples_SpliceFunction.fmu > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe 2>&1) [Timeout 840.0] 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.971056903712451]