Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Math.Examples.Splice.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001374/0.001374, allocations: 109.7 kB / 17.54 MB, free: 4.641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001377/0.001377, allocations: 190.6 kB / 20.71 MB, free: 1.484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.305/1.305, allocations: 225.6 MB / 249.3 MB, free: 3.34 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.347/2.347, allocations: 443.5 MB / 0.7304 GB, free: 14.12 MB / 0.5763 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Splice,fileNamePrefix="Buildings_10_Buildings_Utilities_Math_Examples_Splice",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Splice,fileNamePrefix="Buildings_10_Buildings_Utilities_Math_Examples_Splice",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00196/0.00196, allocations: 59.91 kB / 1.059 GB, free: 0.9961 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2565/0.2584, allocations: 160.7 MB / 1.216 GB, free: 15.98 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Splice): time 0.002616/0.2611, allocations: 1.514 MB / 1.217 GB, free: 14.44 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001136/0.2622, allocations: 0.656 MB / 1.218 GB, free: 13.78 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.291e-05/0.2622, allocations: 0 / 1.218 GB, free: 13.78 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.565e-05/0.2623, allocations: 7.875 kB / 1.218 GB, free: 13.77 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 5.095e-05/0.2623, allocations: 11.88 kB / 1.218 GB, free: 13.76 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003438/0.2627, allocations: 79.72 kB / 1.218 GB, free: 13.68 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 7.83e-05/0.2627, allocations: 35.91 kB / 1.218 GB, free: 13.64 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 8.152e-05/0.2628, allocations: 12.22 kB / 1.218 GB, free: 13.63 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 6.802e-05/0.2629, allocations: 19.92 kB / 1.218 GB, free: 13.61 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 5.503e-05/0.2629, allocations: 15.92 kB / 1.218 GB, free: 13.6 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.21e-05/0.263, allocations: 4 kB / 1.218 GB, free: 13.59 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001848/0.2631, allocations: 99.89 kB / 1.218 GB, free: 13.5 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.324e-05/0.2632, allocations: 7.938 kB / 1.218 GB, free: 13.49 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.82e-05/0.2632, allocations: 23.92 kB / 1.218 GB, free: 13.46 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001673/0.2633, allocations: 87.64 kB / 1.218 GB, free: 13.38 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.531e-06/0.2634, allocations: 4 kB / 1.218 GB, free: 13.38 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.533e-06/0.2634, allocations: 0 / 1.218 GB, free: 13.38 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.801e-06/0.2634, allocations: 0 / 1.218 GB, free: 13.38 MB / 0.9669 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.0004294/0.2638, allocations: 361.6 kB / 1.218 GB, free: 12.98 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.576e-05/0.2638, allocations: 12.03 kB / 1.218 GB, free: 12.96 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.442e-05/0.2639, allocations: 38.73 kB / 1.218 GB, free: 12.92 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.773e-05/0.2639, allocations: 12.89 kB / 1.218 GB, free: 12.91 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001242/0.264, allocations: 168.3 kB / 1.219 GB, free: 12.7 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.107e-05/0.264, allocations: 8.375 kB / 1.219 GB, free: 12.7 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.062e-05/0.264, allocations: 384 / 1.219 GB, free: 12.7 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001506/0.2642, allocations: 61.73 kB / 1.219 GB, free: 12.63 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.719e-06/0.2642, allocations: 4 kB / 1.219 GB, free: 12.62 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.985e-06/0.2642, allocations: 0 / 1.219 GB, free: 12.62 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.2642, allocations: 0 / 1.219 GB, free: 12.62 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.222e-05/0.2643, allocations: 27.98 kB / 1.219 GB, free: 12.6 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003537/0.2647, allocations: 276.8 kB / 1.219 GB, free: 12.28 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 8.865e-05/0.2647, allocations: 38.5 kB / 1.219 GB, free: 12.23 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.416e-05/0.2648, allocations: 8.922 kB / 1.219 GB, free: 12.22 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005067/0.2653, allocations: 0.5623 MB / 1.22 GB, free: 11.53 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.196e-05/0.2653, allocations: 46.48 kB / 1.22 GB, free: 11.47 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.2653, allocations: 0 / 1.22 GB, free: 11.47 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0002319/0.2656, allocations: 65.62 kB / 1.22 GB, free: 11.4 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.641e-05/0.2656, allocations: 55.34 kB / 1.22 GB, free: 11.34 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.74e-05/0.2657, allocations: 121.8 kB / 1.22 GB, free: 11.21 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.515e-05/0.2657, allocations: 29.7 kB / 1.22 GB, free: 11.17 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.092e-05/0.2658, allocations: 92.12 kB / 1.22 GB, free: 11.08 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.641e-05/0.2658, allocations: 12.02 kB / 1.22 GB, free: 11.07 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.916e-05/0.2658, allocations: 9.719 kB / 1.22 GB, free: 11.05 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001213/0.2659, allocations: 326.8 kB / 1.22 GB, free: 10.72 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.936e-05/0.266, allocations: 4 kB / 1.22 GB, free: 10.72 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.736e-05/0.266, allocations: 15.98 kB / 1.22 GB, free: 10.7 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.654e-05/0.2661, allocations: 24.84 kB / 1.22 GB, free: 10.68 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.2661, allocations: 64 / 1.22 GB, free: 10.68 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001234/0.2662, allocations: 57.64 kB / 1.22 GB, free: 10.61 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.274e-05/0.2662, allocations: 8 kB / 1.22 GB, free: 10.61 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.847e-06/0.2662, allocations: 0 / 1.22 GB, free: 10.61 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.069e-05/0.2662, allocations: 3.938 kB / 1.22 GB, free: 10.6 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.05e-05/0.2663, allocations: 4 kB / 1.22 GB, free: 10.6 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.268e-06/0.2663, allocations: 0 / 1.22 GB, free: 10.6 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.636e-05/0.2663, allocations: 7.984 kB / 1.22 GB, free: 10.59 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.035e-06/0.2663, allocations: 3.938 kB / 1.22 GB, free: 10.59 MB / 0.9669 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 7.256e-05/0.2664, allocations: 113.9 kB / 1.221 GB, free: 10.46 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.72e-05/0.2664, allocations: 7.953 kB / 1.221 GB, free: 10.46 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001545/0.2666, allocations: 61.2 kB / 1.221 GB, free: 10.39 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.2666, allocations: 0 / 1.221 GB, free: 10.39 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.223e-06/0.2666, allocations: 4 kB / 1.221 GB, free: 10.38 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.014e-06/0.2666, allocations: 0 / 1.221 GB, free: 10.38 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001664/0.2668, allocations: 165.6 kB / 1.221 GB, free: 10.17 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.2668, allocations: 0 / 1.221 GB, free: 10.17 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.788e-05/0.2668, allocations: 19.95 kB / 1.221 GB, free: 10.15 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.784e-06/0.2668, allocations: 0 / 1.221 GB, free: 10.15 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.44e-06/0.2668, allocations: 0 / 1.221 GB, free: 10.15 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.2668, allocations: 3.938 kB / 1.221 GB, free: 10.15 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.2668, allocations: 0 / 1.221 GB, free: 10.15 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001656/0.267, allocations: 155.5 kB / 1.221 GB, free: 9.98 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.629e-05/0.267, allocations: 81.06 kB / 1.221 GB, free: 9.883 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.104e-05/0.2671, allocations: 4.031 kB / 1.221 GB, free: 9.879 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.104e-05/0.2671, allocations: 8 kB / 1.221 GB, free: 9.871 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.452e-05/0.2671, allocations: 0 / 1.221 GB, free: 9.871 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.156e-06/0.2671, allocations: 0 / 1.221 GB, free: 9.871 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 6.181e-05/0.2672, allocations: 103.6 kB / 1.221 GB, free: 9.77 MB / 0.9669 GB Notification: Performance of sort global known variables: time 9e-08/0.2672, allocations: 0 / 1.221 GB, free: 9.77 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002124/0.2674, allocations: 8 kB / 1.221 GB, free: 9.762 MB / 0.9669 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.0004763/0.2679, allocations: 0.7045 MB / 1.222 GB, free: 9.031 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001224/0.268, allocations: 23.98 kB / 1.222 GB, free: 9.008 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.268, allocations: 0 / 1.222 GB, free: 9.008 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 4.528e-05/0.2681, allocations: 12 kB / 1.222 GB, free: 8.996 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000194/0.2683, allocations: 5.969 kB / 1.222 GB, free: 8.992 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001263/0.2695, allocations: 1.32 MB / 1.223 GB, free: 7.598 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002716/0.2698, allocations: 0.6807 MB / 1.224 GB, free: 6.891 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 2.292e-05/0.2698, allocations: 3.859 kB / 1.224 GB, free: 6.887 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.804e-05/0.2699, allocations: 19.42 kB / 1.224 GB, free: 6.867 MB / 0.9669 GB Notification: Performance of SimCode: time 3.8e-07/0.2699, allocations: 0 / 1.224 GB, free: 6.867 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02307/0.2929, allocations: 1.499 MB / 1.225 GB, free: 5.449 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.952/7.245, allocations: 3.984 kB / 1.225 GB, free: 5.445 MB / 0.9669 GB " [Timeout remaining time 293] (rm -f Buildings_10_Buildings.Utilities.Math.Examples.Splice.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Examples.Splice.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Examples.Splice.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Examples.Splice.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Utilities_Math_Examples_Splice.fmu > Buildings_10_Buildings.Utilities.Math.Examples.Splice.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Examples.Splice_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Examples_Splice.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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_10_Buildings.Utilities.Math.Examples.Splice_res.csv. Warning: Get data of variable splice.x from file Buildings_10_Buildings.Utilities.Math.Examples.Splice_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 12.461183990999416]