Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001143/0.001143, allocations: 80.44 kB / 19.17 MB, free: 0.7383 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.0009381/0.0009381, allocations: 165.9 kB / 22.45 MB, free: 2.102 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.8873/0.8873, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.695/1.695, allocations: 359 MB / 0.6037 GB, free: 11.08 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/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_11_Buildings_Utilities_Math_Examples_Splice",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Splice,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Examples_Splice",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.944e-06/1.944e-06, allocations: 0 / 0.9505 GB, free: 3.488 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.17e-05/2.365e-05, allocations: 6.281 kB / 0.9505 GB, free: 3.48 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Splice): time 0.002101/0.002125, allocations: 1.503 MB / 0.952 GB, free: 1.961 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0009025/0.003027, allocations: 0.6976 MB / 0.9527 GB, free: 1.258 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.848e-05/0.003086, allocations: 0 / 0.9527 GB, free: 1.258 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 3.501e-05/0.003121, allocations: 3.938 kB / 0.9527 GB, free: 1.254 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 4.346e-05/0.003164, allocations: 7.938 kB / 0.9527 GB, free: 1.246 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003819/0.003546, allocations: 103.5 kB / 0.9528 GB, free: 1.145 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 9.889e-05/0.003645, allocations: 35.86 kB / 0.9528 GB, free: 1.109 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 9.957e-05/0.003745, allocations: 11.98 kB / 0.9528 GB, free: 1.098 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001128/0.003857, allocations: 27.92 kB / 0.9528 GB, free: 1.07 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 4.56e-05/0.003903, allocations: 11.97 kB / 0.9528 GB, free: 1.059 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.377e-05/0.003917, allocations: 4 kB / 0.9528 GB, free: 1.055 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001702/0.004087, allocations: 107.8 kB / 0.953 GB, free: 0.9492 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.354e-05/0.0041, allocations: 19.86 kB / 0.953 GB, free: 0.9297 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 2.144e-05/0.004122, allocations: 8 kB / 0.953 GB, free: 0.9219 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001765/0.004298, allocations: 111.7 kB / 0.9531 GB, free: 0.8125 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 2.876e-06/0.004301, allocations: 0 / 0.9531 GB, free: 0.8125 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.403e-06/0.004303, allocations: 0 / 0.9531 GB, free: 0.8125 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.078e-06/0.004307, allocations: 0 / 0.9531 GB, free: 0.8125 MB / 0.9011 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.0003484/0.004655, allocations: 303.7 kB / 0.9534 GB, free: 500 kB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.193e-05/0.004697, allocations: 15.97 kB / 0.9534 GB, free: 484 kB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.957e-05/0.004727, allocations: 30.75 kB / 0.9534 GB, free: 444 kB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001052/0.004832, allocations: 16.88 kB / 0.9534 GB, free: 428 kB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001757/0.005008, allocations: 121.7 kB / 0.9536 GB, free: 280 kB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.154e-05/0.005019, allocations: 4.375 kB / 0.9536 GB, free: 276 kB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.138e-06/0.005028, allocations: 384 / 0.9536 GB, free: 276 kB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001289/0.005157, allocations: 58.19 kB / 0.9536 GB, free: 212 kB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.283e-06/0.005165, allocations: 192 / 0.9536 GB, free: 212 kB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.268e-06/0.005174, allocations: 4.125 kB / 0.9536 GB, free: 208 kB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.509e-06/0.005178, allocations: 4 kB / 0.9536 GB, free: 204 kB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.992e-05/0.005238, allocations: 27.98 kB / 0.9536 GB, free: 176 kB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003005/0.005539, allocations: 251.8 kB / 0.9539 GB, free: 15.88 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 6.756e-05/0.005606, allocations: 30.5 kB / 0.9539 GB, free: 15.84 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.016e-05/0.005636, allocations: 16.91 kB / 0.9539 GB, free: 15.82 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001828/0.005819, allocations: 43.97 kB / 0.954 GB, free: 15.78 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.216e-05/0.005841, allocations: 30.56 kB / 0.954 GB, free: 15.74 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=2): time 1.252e-06/0.005843, allocations: 4 kB / 0.954 GB, free: 15.74 MB / 0.9167 GB Notification: Performance of matching and sorting (n=2): time 0.0002089/0.006052, allocations: 65.62 kB / 0.9541 GB, free: 15.67 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.339e-05/0.006085, allocations: 55.34 kB / 0.9541 GB, free: 15.6 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.703e-05/0.006172, allocations: 125.3 kB / 0.9542 GB, free: 15.47 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.159e-05/0.006184, allocations: 25.7 kB / 0.9543 GB, free: 15.44 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 4.378e-05/0.006227, allocations: 88.12 kB / 0.9543 GB, free: 15.35 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 1.861e-05/0.006246, allocations: 11.95 kB / 0.9544 GB, free: 15.34 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.61e-05/0.006272, allocations: 13.84 kB / 0.9544 GB, free: 15.32 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 8.838e-05/0.00636, allocations: 326.8 kB / 0.9547 GB, free: 14.99 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.677e-05/0.006387, allocations: 8 kB / 0.9547 GB, free: 14.98 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.14e-05/0.006409, allocations: 15.98 kB / 0.9547 GB, free: 14.97 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.095e-05/0.00646, allocations: 24.84 kB / 0.9547 GB, free: 14.94 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.006462, allocations: 0 / 0.9547 GB, free: 14.94 MB / 0.9167 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.273e-05/0.006545, allocations: 49.69 kB / 0.9548 GB, free: 14.89 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.243e-05/0.006557, allocations: 16.03 kB / 0.9548 GB, free: 14.87 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.006563, allocations: 0 / 0.9548 GB, free: 14.87 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.497e-05/0.006578, allocations: 0 / 0.9548 GB, free: 14.87 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.871e-05/0.006636, allocations: 7.984 kB / 0.9548 GB, free: 14.86 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.006642, allocations: 0 / 0.9548 GB, free: 14.86 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.942e-05/0.006661, allocations: 7.953 kB / 0.9548 GB, free: 14.86 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.201e-06/0.006668, allocations: 0 / 0.9548 GB, free: 14.86 MB / 0.9167 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 6.506e-05/0.006733, allocations: 117.8 kB / 0.9549 GB, free: 14.73 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.345e-05/0.006746, allocations: 3.938 kB / 0.9549 GB, free: 14.73 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001249/0.006871, allocations: 65.3 kB / 0.955 GB, free: 14.65 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.006873, allocations: 0 / 0.955 GB, free: 14.65 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.006877, allocations: 0 / 0.955 GB, free: 14.65 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.00688, allocations: 0 / 0.955 GB, free: 14.65 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001144/0.006994, allocations: 144.7 kB / 0.9551 GB, free: 14.47 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.006996, allocations: 0 / 0.9551 GB, free: 14.47 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.288e-05/0.007019, allocations: 4 kB / 0.9551 GB, free: 14.46 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.345e-06/0.007021, allocations: 3.938 kB / 0.9551 GB, free: 14.46 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.395e-06/0.007029, allocations: 7.938 kB / 0.9551 GB, free: 14.45 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/0.007031, allocations: 0 / 0.9551 GB, free: 14.45 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.007032, allocations: 0 / 0.9551 GB, free: 14.45 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001039/0.007136, allocations: 167.4 kB / 0.9553 GB, free: 14.27 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 9.898e-06/0.007146, allocations: 3.953 kB / 0.9553 GB, free: 14.27 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.072e-05/0.007157, allocations: 0 / 0.9553 GB, free: 14.27 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.336e-05/0.00719, allocations: 4 kB / 0.9553 GB, free: 14.27 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.835e-05/0.007219, allocations: 3.984 kB / 0.9553 GB, free: 14.26 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.086e-06/0.007222, allocations: 0 / 0.9553 GB, free: 14.26 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 4.33e-05/0.007265, allocations: 95.27 kB / 0.9554 GB, free: 14.17 MB / 0.9167 GB Notification: Performance of sort global known variables: time 7e-08/0.007265, allocations: 0 / 0.9554 GB, free: 14.17 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001715/0.007436, allocations: 19.94 kB / 0.9554 GB, free: 14.15 MB / 0.9167 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.000373/0.007809, allocations: 0.7006 MB / 0.9561 GB, free: 13.42 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 9.606e-05/0.007906, allocations: 31.97 kB / 0.9561 GB, free: 13.39 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.007907, allocations: 0 / 0.9561 GB, free: 13.39 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 2.225e-05/0.00793, allocations: 8 kB / 0.9561 GB, free: 13.38 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001607/0.00809, allocations: 4 kB / 0.9561 GB, free: 13.38 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001033/0.009123, allocations: 1.326 MB / 0.9574 GB, free: 11.97 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.798e-05/0.009171, allocations: 67.33 kB / 0.9575 GB, free: 11.89 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 2.362e-05/0.009195, allocations: 8.141 kB / 0.9575 GB, free: 11.88 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.403e-05/0.009229, allocations: 16.5 kB / 0.9575 GB, free: 11.86 MB / 0.9167 GB Notification: Performance of SimCode: time 5.91e-07/0.009229, allocations: 0 / 0.9575 GB, free: 11.86 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01657/0.0258, allocations: 2.299 MB / 0.9598 GB, free: 9.699 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.856/6.882, allocations: 8.812 kB / 0.9598 GB, free: 9.695 MB / 0.9167 GB " [Timeout remaining time 293] (rm -f Buildings_11_Buildings.Utilities.Math.Examples.Splice.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.Splice.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.Splice.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.Splice.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Utilities.Math.Examples.Splice_res.csv --start-time 0 --stop-time 2 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0008 Buildings_11_Buildings_Utilities_Math_Examples_Splice.fmu > Buildings_11_Buildings.Utilities.Math.Examples.Splice.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.Splice_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_Splice.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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_11_Buildings.Utilities.Math.Examples.Splice_res.csv. Warning: Get data of variable splice.x from file Buildings_11_Buildings.Utilities.Math.Examples.Splice_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.989614588208497]