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.0008438/0.0008438, 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.0008683/0.0008683, allocations: 170.3 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.9463/0.9463, allocations: 177.1 MB / 202.8 MB, free: 5.738 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.799/1.799, 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.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.392e-06/1.392e-06, allocations: 0 / 0.9997 GB, free: 13.52 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.769e-05/1.909e-05, allocations: 6.281 kB / 0.9997 GB, free: 13.51 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Splice): time 0.001923/0.001942, allocations: 1.495 MB / 1.001 GB, free: 12 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0008978/0.00284, allocations: 0.7017 MB / 1.002 GB, free: 11.3 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.569e-05/0.002896, allocations: 0 / 1.002 GB, free: 11.3 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 3.178e-05/0.002927, allocations: 3.938 kB / 1.002 GB, free: 11.29 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 4.187e-05/0.002969, allocations: 7.938 kB / 1.002 GB, free: 11.29 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003669/0.003336, allocations: 111.5 kB / 1.002 GB, free: 11.18 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 8.956e-05/0.003426, allocations: 31.86 kB / 1.002 GB, free: 11.14 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 9.111e-05/0.003517, allocations: 12 kB / 1.002 GB, free: 11.13 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 9.867e-05/0.003616, allocations: 27.91 kB / 1.002 GB, free: 11.11 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 4.143e-05/0.003657, allocations: 15.97 kB / 1.002 GB, free: 11.09 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.277e-05/0.00367, allocations: 7.938 kB / 1.002 GB, free: 11.08 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000148/0.003818, allocations: 107.8 kB / 1.002 GB, free: 10.98 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.17e-05/0.003829, allocations: 7.938 kB / 1.002 GB, free: 10.97 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 2.064e-05/0.00385, allocations: 11.98 kB / 1.002 GB, free: 10.96 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001642/0.004014, allocations: 115.7 kB / 1.002 GB, free: 10.84 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.013e-06/0.004016, allocations: 0 / 1.002 GB, free: 10.84 MB / 0.9636 GB Notification: Performance of FrontEnd: time 9.41e-07/0.004017, allocations: 0 / 1.002 GB, free: 10.84 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.158e-06/0.004021, allocations: 0 / 1.002 GB, free: 10.84 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.0003287/0.00435, allocations: 294 kB / 1.003 GB, free: 10.53 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.673e-05/0.004387, allocations: 8.75 kB / 1.003 GB, free: 10.52 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.831e-05/0.004415, allocations: 38.73 kB / 1.003 GB, free: 10.47 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.907e-05/0.004514, allocations: 8.938 kB / 1.003 GB, free: 10.46 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001478/0.004662, allocations: 121.7 kB / 1.003 GB, free: 10.32 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.026e-05/0.004672, allocations: 8.375 kB / 1.003 GB, free: 10.31 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.276e-06/0.004681, allocations: 384 / 1.003 GB, free: 10.31 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001156/0.004796, allocations: 58.17 kB / 1.003 GB, free: 10.25 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.293e-06/0.004803, allocations: 192 / 1.003 GB, free: 10.25 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.042e-05/0.004814, allocations: 8.125 kB / 1.003 GB, free: 10.24 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.979e-06/0.004819, allocations: 0 / 1.003 GB, free: 10.24 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.376e-05/0.004883, allocations: 27.98 kB / 1.003 GB, free: 10.21 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002619/0.005144, allocations: 243.8 kB / 1.003 GB, free: 9.934 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 6.142e-05/0.005206, allocations: 38.5 kB / 1.003 GB, free: 9.887 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.677e-05/0.005233, allocations: 16.86 kB / 1.003 GB, free: 9.867 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001584/0.005391, allocations: 43.97 kB / 1.003 GB, free: 9.824 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.939e-05/0.00541, allocations: 38.55 kB / 1.003 GB, free: 9.777 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=2): time 9.32e-07/0.005411, allocations: 0 / 1.003 GB, free: 9.777 MB / 0.9636 GB Notification: Performance of matching and sorting (n=2): time 0.0001667/0.005578, allocations: 69.58 kB / 1.003 GB, free: 9.703 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.484e-05/0.005603, allocations: 51.41 kB / 1.003 GB, free: 9.641 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001434/0.005746, allocations: 133.4 kB / 1.003 GB, free: 9.504 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 8.406e-06/0.005755, allocations: 25.7 kB / 1.003 GB, free: 9.473 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 3.61e-05/0.005791, allocations: 88.14 kB / 1.004 GB, free: 9.383 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.89e-05/0.00581, allocations: 11.94 kB / 1.004 GB, free: 9.371 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.318e-05/0.005833, allocations: 9.719 kB / 1.004 GB, free: 9.355 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.202e-05/0.005905, allocations: 326.7 kB / 1.004 GB, free: 9.027 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.562e-05/0.00593, allocations: 7.984 kB / 1.004 GB, free: 9.02 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.937e-05/0.00595, allocations: 12 kB / 1.004 GB, free: 9.008 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.831e-05/0.005998, allocations: 28.91 kB / 1.004 GB, free: 8.977 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.006, allocations: 0 / 1.004 GB, free: 8.977 MB / 0.9636 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.598e-05/0.006076, allocations: 61.56 kB / 1.004 GB, free: 8.91 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.11e-05/0.006087, allocations: 8 kB / 1.004 GB, free: 8.902 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.797e-06/0.006091, allocations: 0 / 1.004 GB, free: 8.902 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.235e-05/0.006103, allocations: 3.984 kB / 1.004 GB, free: 8.898 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.747e-05/0.006151, allocations: 4 kB / 1.004 GB, free: 8.895 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.006156, allocations: 3.984 kB / 1.004 GB, free: 8.891 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.753e-05/0.006173, allocations: 4 kB / 1.004 GB, free: 8.887 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.312e-06/0.006179, allocations: 8.016 kB / 1.004 GB, free: 8.879 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.067e-05/0.00623, allocations: 117.8 kB / 1.004 GB, free: 8.754 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.319e-05/0.006243, allocations: 3.953 kB / 1.004 GB, free: 8.75 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001059/0.006349, allocations: 65.3 kB / 1.004 GB, free: 8.676 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.302e-06/0.00635, allocations: 0 / 1.004 GB, free: 8.676 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.006354, allocations: 0 / 1.004 GB, free: 8.676 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.144e-06/0.006356, allocations: 0 / 1.004 GB, free: 8.676 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.994e-05/0.006456, allocations: 132.7 kB / 1.004 GB, free: 8.504 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.006457, allocations: 0 / 1.004 GB, free: 8.504 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.093e-05/0.006478, allocations: 11.95 kB / 1.004 GB, free: 8.492 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.153e-06/0.006479, allocations: 4 kB / 1.004 GB, free: 8.488 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.919e-06/0.006484, allocations: 0 / 1.004 GB, free: 8.488 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.006486, allocations: 4 kB / 1.004 GB, free: 8.484 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.006487, allocations: 3.938 kB / 1.004 GB, free: 8.48 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.951e-05/0.006576, allocations: 151.5 kB / 1.004 GB, free: 8.316 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 8.646e-06/0.006585, allocations: 7.938 kB / 1.004 GB, free: 8.309 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.488e-06/0.006594, allocations: 0 / 1.004 GB, free: 8.309 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.133e-05/0.006626, allocations: 4 kB / 1.004 GB, free: 8.305 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.204e-05/0.006648, allocations: 0 / 1.004 GB, free: 8.305 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.495e-06/0.00665, allocations: 4.031 kB / 1.004 GB, free: 8.301 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 3.913e-05/0.006689, allocations: 99.27 kB / 1.005 GB, free: 8.203 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.00669, allocations: 0 / 1.005 GB, free: 8.203 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001719/0.006861, allocations: 19.92 kB / 1.005 GB, free: 8.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 (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.0003061/0.007168, allocations: 0.7045 MB / 1.005 GB, free: 7.453 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 8.134e-05/0.007249, allocations: 19.98 kB / 1.005 GB, free: 7.434 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.172e-06/0.00725, allocations: 0 / 1.005 GB, free: 7.434 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 2.335e-05/0.007273, allocations: 20.02 kB / 1.005 GB, free: 7.414 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001565/0.00743, allocations: 8 kB / 1.005 GB, free: 7.406 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008484/0.008278, allocations: 1.314 MB / 1.007 GB, free: 6.012 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.181e-05/0.00832, allocations: 71.28 kB / 1.007 GB, free: 5.922 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 2.007e-05/0.00834, allocations: 0 / 1.007 GB, free: 5.922 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.506e-05/0.008375, allocations: 28.55 kB / 1.007 GB, free: 5.895 MB / 0.9636 GB Notification: Performance of SimCode: time 4.11e-07/0.008376, allocations: 0 / 1.007 GB, free: 5.895 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01518/0.02356, allocations: 2.29 MB / 1.009 GB, free: 3.73 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.007/7.031, allocations: 3.984 kB / 1.009 GB, free: 3.727 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Examples.Splice_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Examples_Splice_fmu --startTime=0 --stopTime=2 --stepSize=0.0008 --timeout=800 --tolerance=1e-06 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.mat","/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] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.184406923130155]