Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Examples.Splice.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.001069/0.001069, 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.0008442/0.0008442, 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.9108/0.9108, allocations: 177.1 MB / 202.8 MB, free: 5.75 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.832/1.832, 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.Examples.Splice,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Examples_Splice",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Splice,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Examples_Splice",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.864e-06/1.864e-06, allocations: 0 / 0.9997 GB, free: 13.5 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.057e-05/2.243e-05, allocations: 2.281 kB / 0.9997 GB, free: 13.5 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Splice): time 0.002278/0.0023, allocations: 1.503 MB / 1.001 GB, free: 11.98 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0009229/0.003223, allocations: 0.69 MB / 1.002 GB, free: 11.29 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.689e-05/0.00328, allocations: 4 kB / 1.002 GB, free: 11.29 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 2.955e-05/0.00331, allocations: 3.938 kB / 1.002 GB, free: 11.28 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 4.444e-05/0.003354, allocations: 3.938 kB / 1.002 GB, free: 11.28 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004259/0.00378, allocations: 107.5 kB / 1.002 GB, free: 11.17 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0001135/0.003894, allocations: 43.8 kB / 1.002 GB, free: 11.13 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001067/0.004, allocations: 15.97 kB / 1.002 GB, free: 11.11 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001077/0.004108, allocations: 19.98 kB / 1.002 GB, free: 11.09 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 4.413e-05/0.004152, allocations: 15.92 kB / 1.002 GB, free: 11.08 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.252e-05/0.004165, allocations: 0 / 1.002 GB, free: 11.08 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001636/0.004328, allocations: 119.8 kB / 1.002 GB, free: 10.96 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.232e-05/0.004341, allocations: 4 kB / 1.002 GB, free: 10.96 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 2.303e-05/0.004364, allocations: 11.94 kB / 1.002 GB, free: 10.95 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.000154/0.004518, allocations: 107.7 kB / 1.002 GB, free: 10.84 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.605e-06/0.00452, allocations: 3.984 kB / 1.002 GB, free: 10.84 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.112e-06/0.004521, allocations: 3.938 kB / 1.002 GB, free: 10.83 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.078e-06/0.004525, allocations: 4 kB / 1.002 GB, free: 10.83 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003322/0.004858, allocations: 297.9 kB / 1.003 GB, free: 10.51 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.759e-05/0.004895, allocations: 12.75 kB / 1.003 GB, free: 10.5 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.688e-05/0.004922, allocations: 30.75 kB / 1.003 GB, free: 10.46 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.697e-05/0.005019, allocations: 12.92 kB / 1.003 GB, free: 10.45 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001539/0.005173, allocations: 121.7 kB / 1.003 GB, free: 10.3 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.884e-06/0.005181, allocations: 384 / 1.003 GB, free: 10.3 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.796e-06/0.00519, allocations: 4.375 kB / 1.003 GB, free: 10.3 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001057/0.005295, allocations: 50.25 kB / 1.003 GB, free: 10.24 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.613e-06/0.005302, allocations: 4.188 kB / 1.003 GB, free: 10.24 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.696e-06/0.005311, allocations: 4.125 kB / 1.003 GB, free: 10.23 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.005315, allocations: 0 / 1.003 GB, free: 10.23 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.852e-05/0.005373, allocations: 39.89 kB / 1.003 GB, free: 10.2 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002638/0.005637, allocations: 239.8 kB / 1.003 GB, free: 9.918 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 5.999e-05/0.005697, allocations: 30.56 kB / 1.003 GB, free: 9.879 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.901e-05/0.005726, allocations: 20.91 kB / 1.003 GB, free: 9.855 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001756/0.005902, allocations: 47.91 kB / 1.003 GB, free: 9.809 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.785e-05/0.00592, allocations: 34.56 kB / 1.003 GB, free: 9.766 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=2): time 1.193e-06/0.005921, allocations: 0 / 1.003 GB, free: 9.766 MB / 0.9636 GB Notification: Performance of matching and sorting (n=2): time 0.0001737/0.006095, allocations: 61.62 kB / 1.003 GB, free: 9.699 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.627e-05/0.006121, allocations: 55.41 kB / 1.003 GB, free: 9.633 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.387e-05/0.006195, allocations: 122.1 kB / 1.003 GB, free: 9.504 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.051e-05/0.006205, allocations: 25.7 kB / 1.003 GB, free: 9.473 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 3.793e-05/0.006243, allocations: 96.25 kB / 1.004 GB, free: 9.375 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.394e-05/0.006257, allocations: 3.953 kB / 1.004 GB, free: 9.371 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.595e-05/0.006283, allocations: 17.72 kB / 1.004 GB, free: 9.348 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.882e-05/0.006362, allocations: 322.7 kB / 1.004 GB, free: 9.023 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.475e-05/0.006387, allocations: 12 kB / 1.004 GB, free: 9.012 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2e-05/0.006407, allocations: 11.92 kB / 1.004 GB, free: 9 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.001e-05/0.006457, allocations: 32.84 kB / 1.004 GB, free: 8.965 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.006458, allocations: 3.938 kB / 1.004 GB, free: 8.961 MB / 0.9636 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8e-05/0.006538, allocations: 61.7 kB / 1.004 GB, free: 8.895 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.135e-05/0.00655, allocations: 4 kB / 1.004 GB, free: 8.891 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.518e-06/0.006554, allocations: 0 / 1.004 GB, free: 8.891 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.167e-05/0.006566, allocations: 0 / 1.004 GB, free: 8.891 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.408e-05/0.00661, allocations: 7.984 kB / 1.004 GB, free: 8.883 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.959e-06/0.006615, allocations: 3.984 kB / 1.004 GB, free: 8.879 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.584e-05/0.006631, allocations: 4 kB / 1.004 GB, free: 8.875 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.19e-06/0.006636, allocations: 0 / 1.004 GB, free: 8.875 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 (2): * Single equations (assignments): 2 * 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.222e-05/0.006688, allocations: 117.7 kB / 1.004 GB, free: 8.75 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.399e-05/0.006702, allocations: 11.98 kB / 1.004 GB, free: 8.738 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001088/0.006811, allocations: 61.3 kB / 1.004 GB, free: 8.668 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.342e-06/0.006812, allocations: 0 / 1.004 GB, free: 8.668 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.427e-06/0.006816, allocations: 0 / 1.004 GB, free: 8.668 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.345e-06/0.006818, allocations: 0 / 1.004 GB, free: 8.668 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001052/0.006923, allocations: 140.7 kB / 1.004 GB, free: 8.488 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.006924, allocations: 0 / 1.004 GB, free: 8.488 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.668e-05/0.006941, allocations: 4 kB / 1.004 GB, free: 8.484 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.202e-06/0.006942, allocations: 4 kB / 1.004 GB, free: 8.48 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.652e-06/0.006949, allocations: 0 / 1.004 GB, free: 8.48 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.006951, allocations: 4.031 kB / 1.004 GB, free: 8.477 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-07/0.006951, allocations: 0 / 1.004 GB, free: 8.477 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.392e-05/0.007045, allocations: 155.4 kB / 1.004 GB, free: 8.309 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 9.087e-06/0.007054, allocations: 3.953 kB / 1.004 GB, free: 8.305 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.53e-05/0.007069, allocations: 11.98 kB / 1.004 GB, free: 8.293 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.948e-05/0.007099, allocations: 0 / 1.004 GB, free: 8.293 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.835e-05/0.007127, allocations: 3.984 kB / 1.004 GB, free: 8.289 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.726e-06/0.00713, allocations: 4 kB / 1.004 GB, free: 8.285 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 4.296e-05/0.007173, allocations: 94.39 kB / 1.005 GB, free: 8.195 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.007173, allocations: 8.031 kB / 1.005 GB, free: 8.188 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001674/0.00734, allocations: 11.94 kB / 1.005 GB, free: 8.176 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 (2): * Single equations (assignments): 2 * 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.0003481/0.007688, allocations: 0.7045 MB / 1.005 GB, free: 7.445 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 8.716e-05/0.007776, allocations: 23.98 kB / 1.005 GB, free: 7.422 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.007777, allocations: 3.938 kB / 1.005 GB, free: 7.418 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 2.282e-05/0.0078, allocations: 12 kB / 1.005 GB, free: 7.406 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001564/0.007956, allocations: 6.016 kB / 1.005 GB, free: 7.402 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009085/0.008865, allocations: 1.326 MB / 1.007 GB, free: 5.996 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.924e-05/0.008914, allocations: 71.27 kB / 1.007 GB, free: 5.906 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 2.074e-05/0.008935, allocations: 4 kB / 1.007 GB, free: 5.902 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.186e-05/0.008967, allocations: 12.5 kB / 1.007 GB, free: 5.891 MB / 0.9636 GB Notification: Performance of SimCode: time 6.42e-07/0.008967, allocations: 0 / 1.007 GB, free: 5.891 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01502/0.02399, allocations: 2.303 MB / 1.009 GB, free: 3.715 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.014/7.038, allocations: 4.062 kB / 1.009 GB, free: 3.711 MB / 0.9636 GB " [Timeout remaining time 293] (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.Splice.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.Splice.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.Splice.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.Splice.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Utilities.Math.Examples.Splice_res.csv --start-time 0 --stop-time 2 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0008 Buildings_latest_Buildings_Utilities_Math_Examples_Splice.fmu > Buildings_latest_Buildings.Utilities.Math.Examples.Splice.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.Splice_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_Splice.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Examples.Splice.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable splice.x in file Buildings_latest_Buildings.Utilities.Math.Examples.Splice_res.csv. Warning: Get data of variable splice.x from file Buildings_latest_Buildings.Utilities.Math.Examples.Splice_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.303141976706684]