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.001129/0.001129, 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.0008928/0.0008928, 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.9131/0.9131, allocations: 177.1 MB / 202.8 MB, free: 5.723 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.818/1.818, allocations: 389 MB / 0.633 GB, free: 12.67 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.203e-06/1.203e-06, allocations: 0 / 0.9997 GB, free: 13.42 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.071e-05/1.191e-05, allocations: 2.281 kB / 0.9997 GB, free: 13.42 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunction): time 0.0009524/0.0009643, allocations: 0.5838 MB / 1 GB, free: 12.84 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001226/0.00219, allocations: 1.269 MB / 1.002 GB, free: 11.55 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.075e-05/0.002201, allocations: 3.938 kB / 1.002 GB, free: 11.55 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 1.05e-05/0.002211, allocations: 0 / 1.002 GB, free: 11.55 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 5.611e-06/0.002217, allocations: 7.938 kB / 1.002 GB, free: 11.54 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002539/0.002471, allocations: 71.62 kB / 1.002 GB, free: 11.47 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 3.377e-05/0.002505, allocations: 7.984 kB / 1.002 GB, free: 11.46 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 2.713e-05/0.002532, allocations: 4 kB / 1.002 GB, free: 11.46 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 1.849e-05/0.00255, allocations: 7.984 kB / 1.002 GB, free: 11.45 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 2.767e-05/0.002578, allocations: 4 kB / 1.002 GB, free: 11.45 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 7.865e-06/0.002586, allocations: 0 / 1.002 GB, free: 11.45 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001878/0.002774, allocations: 103.8 kB / 1.002 GB, free: 11.34 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 5.71e-06/0.002779, allocations: 0 / 1.002 GB, free: 11.34 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 1.041e-05/0.00279, allocations: 4 kB / 1.002 GB, free: 11.34 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.000102/0.002892, allocations: 75.83 kB / 1.002 GB, free: 11.27 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.383e-06/0.002893, allocations: 3.938 kB / 1.002 GB, free: 11.26 MB / 0.9636 GB Notification: Performance of FrontEnd: time 7.21e-07/0.002894, allocations: 0 / 1.002 GB, free: 11.26 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.116e-06/0.002897, allocations: 0 / 1.002 GB, free: 11.26 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.0002098/0.003107, allocations: 250.3 kB / 1.002 GB, free: 10.99 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.452e-05/0.003141, allocations: 12.75 kB / 1.002 GB, free: 10.98 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.192e-05/0.003163, allocations: 38.75 kB / 1.002 GB, free: 10.93 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.528e-05/0.003178, allocations: 0.9375 kB / 1.002 GB, free: 10.93 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.304e-05/0.003221, allocations: 101.8 kB / 1.002 GB, free: 10.8 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.023e-06/0.003229, allocations: 384 / 1.002 GB, free: 10.8 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.599e-06/0.003233, allocations: 384 / 1.002 GB, free: 10.8 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.118e-05/0.003294, allocations: 34.2 kB / 1.002 GB, free: 10.77 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.492e-06/0.003301, allocations: 192 / 1.002 GB, free: 10.77 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.382e-06/0.003307, allocations: 4.125 kB / 1.002 GB, free: 10.76 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.896e-06/0.00331, allocations: 0 / 1.002 GB, free: 10.76 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.518e-05/0.003325, allocations: 11.98 kB / 1.002 GB, free: 10.75 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.19e-05/0.003407, allocations: 116.8 kB / 1.002 GB, free: 10.59 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 2.698e-05/0.003434, allocations: 18.61 kB / 1.002 GB, free: 10.57 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.145e-05/0.003446, allocations: 4.859 kB / 1.002 GB, free: 10.56 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002069/0.003652, allocations: 40.03 kB / 1.002 GB, free: 10.52 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.871e-05/0.003671, allocations: 38.5 kB / 1.002 GB, free: 10.47 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=1): time 7.61e-07/0.003672, allocations: 0 / 1.002 GB, free: 10.47 MB / 0.9636 GB Notification: Performance of matching and sorting (n=1): time 9.139e-05/0.003763, allocations: 41.62 kB / 1.003 GB, free: 10.43 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.158e-05/0.003785, allocations: 51.41 kB / 1.003 GB, free: 10.36 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.535e-05/0.00381, allocations: 93.86 kB / 1.003 GB, free: 10.26 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.045e-05/0.003821, allocations: 25.7 kB / 1.003 GB, free: 10.23 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 1.67e-05/0.003837, allocations: 80.14 kB / 1.003 GB, free: 10.15 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.823e-05/0.003856, allocations: 7.953 kB / 1.003 GB, free: 10.14 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.836e-05/0.003874, allocations: 9.719 kB / 1.003 GB, free: 10.12 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 6.597e-05/0.00394, allocations: 310.8 kB / 1.003 GB, free: 9.812 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.547e-06/0.003949, allocations: 7.938 kB / 1.003 GB, free: 9.805 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.082e-06/0.003955, allocations: 7.984 kB / 1.003 GB, free: 9.797 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.863e-05/0.003973, allocations: 16.98 kB / 1.003 GB, free: 9.777 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.003974, allocations: 3.938 kB / 1.003 GB, free: 9.773 MB / 0.9636 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.085e-05/0.004015, allocations: 33.7 kB / 1.003 GB, free: 9.734 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 9.758e-06/0.004025, allocations: 5.719 kB / 1.003 GB, free: 9.73 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.427e-06/0.004028, allocations: 4 kB / 1.003 GB, free: 9.727 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.548e-06/0.004038, allocations: 3.938 kB / 1.003 GB, free: 9.723 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.036e-05/0.004068, allocations: 0 / 1.003 GB, free: 9.723 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.178e-06/0.004073, allocations: 3.984 kB / 1.003 GB, free: 9.719 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.072e-06/0.004079, allocations: 0 / 1.003 GB, free: 9.719 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.5e-06/0.004084, allocations: 4 kB / 1.003 GB, free: 9.715 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 4.284e-05/0.004127, allocations: 113.9 kB / 1.003 GB, free: 9.594 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.705e-06/0.00413, allocations: 0 / 1.003 GB, free: 9.594 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.953e-05/0.004189, allocations: 44.64 kB / 1.003 GB, free: 9.543 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.004192, allocations: 3.938 kB / 1.003 GB, free: 9.539 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.004195, allocations: 0 / 1.003 GB, free: 9.539 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.004198, allocations: 0 / 1.003 GB, free: 9.539 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.055e-05/0.004248, allocations: 116.8 kB / 1.003 GB, free: 9.383 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.01e-07/0.004249, allocations: 0 / 1.003 GB, free: 9.383 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.734e-06/0.004257, allocations: 8.031 kB / 1.003 GB, free: 9.375 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.004259, allocations: 3.984 kB / 1.003 GB, free: 9.371 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.817e-06/0.004263, allocations: 0 / 1.003 GB, free: 9.371 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.004264, allocations: 3.938 kB / 1.003 GB, free: 9.367 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.004265, allocations: 0 / 1.003 GB, free: 9.367 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.844e-05/0.004304, allocations: 65.09 kB / 1.003 GB, free: 9.285 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 2.635e-06/0.004306, allocations: 0 / 1.003 GB, free: 9.285 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.835e-06/0.004314, allocations: 4 kB / 1.003 GB, free: 9.281 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.95e-06/0.004319, allocations: 3.938 kB / 1.003 GB, free: 9.277 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.447e-06/0.004329, allocations: 0 / 1.003 GB, free: 9.277 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.212e-06/0.00433, allocations: 4.031 kB / 1.003 GB, free: 9.273 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 1.846e-05/0.004348, allocations: 79.28 kB / 1.004 GB, free: 9.195 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.004348, allocations: 0 / 1.004 GB, free: 9.195 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001278/0.004476, allocations: 11.94 kB / 1.004 GB, free: 9.184 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.0002322/0.004708, allocations: 0.6046 MB / 1.004 GB, free: 8.551 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 4.513e-05/0.004753, allocations: 7.938 kB / 1.004 GB, free: 8.543 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.362e-06/0.004755, allocations: 3.938 kB / 1.004 GB, free: 8.539 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 4.138e-06/0.004759, allocations: 4 kB / 1.004 GB, free: 8.535 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.469e-05/0.004844, allocations: 8.094 kB / 1.004 GB, free: 8.527 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001903/0.005034, allocations: 110.6 kB / 1.004 GB, free: 8.379 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.869e-05/0.005063, allocations: 55.36 kB / 1.004 GB, free: 8.305 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 1.204e-05/0.005075, allocations: 3.938 kB / 1.004 GB, free: 8.301 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.298e-05/0.005088, allocations: 12.5 kB / 1.004 GB, free: 8.289 MB / 0.9636 GB Notification: Performance of SimCode: time 2.8e-07/0.005088, allocations: 0 / 1.004 GB, free: 8.289 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01294/0.01802, allocations: 1.771 MB / 1.006 GB, free: 6.652 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.775/6.793, allocations: 8 kB / 1.006 GB, free: 6.645 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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SpliceFunction_res.csv --start-time -1 --stop-time 1 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0008 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.csv","/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: 11.040116900578141]