Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0007754/0.0007754, 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.0007851/0.0007851, 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.9251/0.9251, allocations: 177.1 MB / 202.8 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.749/1.749, allocations: 377.8 MB / 0.6221 GB, free: 8.668 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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_12_Buildings_Utilities_Math_Examples_Splice",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Splice,fileNamePrefix="Buildings_12_Buildings_Utilities_Math_Examples_Splice",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 0.981 GB, free: 2.578 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.608e-05/1.775e-05, allocations: 2.281 kB / 0.981 GB, free: 2.574 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Splice): time 0.001814/0.001831, allocations: 1.503 MB / 0.9824 GB, free: 1.062 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0009907/0.002822, allocations: 0.6971 MB / 0.9831 GB, free: 368 kB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.835e-05/0.00288, allocations: 0 / 0.9831 GB, free: 368 kB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 2.787e-05/0.002908, allocations: 7.875 kB / 0.9831 GB, free: 360 kB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 4.281e-05/0.002951, allocations: 7.938 kB / 0.9831 GB, free: 352 kB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003734/0.003325, allocations: 99.52 kB / 0.9832 GB, free: 252 kB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 9.719e-05/0.003422, allocations: 35.86 kB / 0.9833 GB, free: 216 kB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 9.918e-05/0.003521, allocations: 15.97 kB / 0.9833 GB, free: 200 kB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001231/0.003644, allocations: 23.98 kB / 0.9833 GB, free: 176 kB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 4.197e-05/0.003686, allocations: 15.92 kB / 0.9833 GB, free: 160 kB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 1.443e-05/0.0037, allocations: 4 kB / 0.9833 GB, free: 156 kB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001538/0.003854, allocations: 111.8 kB / 0.9834 GB, free: 44 kB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 1.35e-05/0.003868, allocations: 11.98 kB / 0.9834 GB, free: 32 kB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 2.01e-05/0.003888, allocations: 11.94 kB / 0.9834 GB, free: 20 kB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.0001769/0.004065, allocations: 115.6 kB / 0.9836 GB, free: 15.91 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.004068, allocations: 0 / 0.9836 GB, free: 15.91 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.082e-06/0.004069, allocations: 0 / 0.9836 GB, free: 15.91 MB / 0.948 GB Notification: Performance of Transformations before backend: time 5.099e-06/0.004075, allocations: 0 / 0.9836 GB, free: 15.91 MB / 0.948 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.0003497/0.004424, allocations: 298 kB / 0.9838 GB, free: 15.59 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.004464, allocations: 12.03 kB / 0.9838 GB, free: 15.57 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.995e-05/0.004494, allocations: 38.73 kB / 0.9839 GB, free: 15.53 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000119/0.004613, allocations: 16.88 kB / 0.9839 GB, free: 15.51 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001796/0.004793, allocations: 117.8 kB / 0.984 GB, free: 15.37 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.858e-06/0.004803, allocations: 4.375 kB / 0.984 GB, free: 15.37 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.195e-06/0.004811, allocations: 384 / 0.984 GB, free: 15.37 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001266/0.004937, allocations: 54.23 kB / 0.9841 GB, free: 15.31 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.943e-06/0.004944, allocations: 4.125 kB / 0.9841 GB, free: 15.3 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.117e-05/0.004955, allocations: 8.125 kB / 0.9841 GB, free: 15.3 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.00496, allocations: 3.938 kB / 0.9841 GB, free: 15.29 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.208e-05/0.005022, allocations: 35.97 kB / 0.9841 GB, free: 15.26 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002914/0.005314, allocations: 239.8 kB / 0.9843 GB, free: 14.98 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 6.71e-05/0.005381, allocations: 38.5 kB / 0.9844 GB, free: 14.93 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.766e-05/0.005409, allocations: 12.92 kB / 0.9844 GB, free: 14.92 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000185/0.005594, allocations: 47.95 kB / 0.9844 GB, free: 14.87 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.844e-05/0.005612, allocations: 30.56 kB / 0.9845 GB, free: 14.83 MB / 0.948 GB Notification: Performance of pre-optimization done (n=2): time 9.72e-07/0.005613, allocations: 4 kB / 0.9845 GB, free: 14.83 MB / 0.948 GB Notification: Performance of matching and sorting (n=2): time 0.0001822/0.005795, allocations: 65.62 kB / 0.9845 GB, free: 14.76 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.555e-05/0.005821, allocations: 51.41 kB / 0.9846 GB, free: 14.7 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.391e-05/0.005895, allocations: 132.5 kB / 0.9847 GB, free: 14.56 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 8.456e-06/0.005903, allocations: 29.64 kB / 0.9847 GB, free: 14.52 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 3.625e-05/0.005939, allocations: 88.12 kB / 0.9848 GB, free: 14.43 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 1.546e-05/0.005955, allocations: 7.953 kB / 0.9848 GB, free: 14.43 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.631e-05/0.005981, allocations: 13.72 kB / 0.9848 GB, free: 14.41 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.14e-05/0.006053, allocations: 322.9 kB / 0.9852 GB, free: 14.08 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.481e-05/0.006077, allocations: 12 kB / 0.9852 GB, free: 14.07 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.13e-05/0.006099, allocations: 11.98 kB / 0.9852 GB, free: 14.06 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.44e-05/0.006143, allocations: 20.86 kB / 0.9852 GB, free: 14.04 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.006145, allocations: 0 / 0.9852 GB, free: 14.04 MB / 0.948 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.181e-05/0.006216, allocations: 57.67 kB / 0.9853 GB, free: 13.97 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.304e-05/0.00623, allocations: 8 kB / 0.9853 GB, free: 13.96 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.568e-06/0.006234, allocations: 0 / 0.9853 GB, free: 13.96 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.2e-05/0.006246, allocations: 4.094 kB / 0.9853 GB, free: 13.96 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.502e-05/0.006301, allocations: 7.938 kB / 0.9853 GB, free: 13.95 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.278e-06/0.006305, allocations: 0 / 0.9853 GB, free: 13.95 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.997e-05/0.006325, allocations: 11.94 kB / 0.9853 GB, free: 13.94 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.851e-06/0.006331, allocations: 0 / 0.9853 GB, free: 13.94 MB / 0.948 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.293e-05/0.006384, allocations: 113.8 kB / 0.9854 GB, free: 13.82 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.381e-05/0.006398, allocations: 0 / 0.9854 GB, free: 13.82 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001149/0.006513, allocations: 61.3 kB / 0.9854 GB, free: 13.76 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.006515, allocations: 4 kB / 0.9855 GB, free: 13.75 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.006519, allocations: 4.031 kB / 0.9855 GB, free: 13.75 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.006521, allocations: 0 / 0.9855 GB, free: 13.75 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001034/0.006625, allocations: 136.7 kB / 0.9856 GB, free: 13.57 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.006626, allocations: 0 / 0.9856 GB, free: 13.57 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.117e-05/0.006647, allocations: 7.984 kB / 0.9856 GB, free: 13.57 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.006648, allocations: 0 / 0.9856 GB, free: 13.57 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.771e-06/0.006654, allocations: 0 / 0.9856 GB, free: 13.57 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.31e-07/0.006655, allocations: 0 / 0.9856 GB, free: 13.57 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.006655, allocations: 7.938 kB / 0.9856 GB, free: 13.56 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.296e-05/0.006748, allocations: 155.4 kB / 0.9858 GB, free: 13.39 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.043e-05/0.006759, allocations: 15.89 kB / 0.9858 GB, free: 13.38 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.023e-05/0.006769, allocations: 0 / 0.9858 GB, free: 13.38 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.253e-05/0.006802, allocations: 8 kB / 0.9858 GB, free: 13.37 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.667e-05/0.006828, allocations: 3.984 kB / 0.9858 GB, free: 13.36 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.264e-06/0.00683, allocations: 3.938 kB / 0.9858 GB, free: 13.36 MB / 0.948 GB Notification: Performance of sorting global known variables: time 3.841e-05/0.006869, allocations: 95.27 kB / 0.9859 GB, free: 13.27 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.006869, allocations: 0 / 0.9859 GB, free: 13.27 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001665/0.007035, allocations: 15.94 kB / 0.9859 GB, free: 13.25 MB / 0.948 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.0003357/0.007371, allocations: 0.7046 MB / 0.9866 GB, free: 12.52 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 8.937e-05/0.007461, allocations: 23.98 kB / 0.9866 GB, free: 12.49 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.402e-06/0.007462, allocations: 0 / 0.9866 GB, free: 12.49 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 2.602e-05/0.007488, allocations: 15.98 kB / 0.9866 GB, free: 12.48 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001538/0.007642, allocations: 0 / 0.9866 GB, free: 12.48 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008526/0.008494, allocations: 1.328 MB / 0.9879 GB, free: 11.07 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.289e-05/0.008537, allocations: 67.34 kB / 0.988 GB, free: 10.98 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 2.157e-05/0.008559, allocations: 7.969 kB / 0.988 GB, free: 10.98 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.435e-05/0.008593, allocations: 16.5 kB / 0.988 GB, free: 10.96 MB / 0.948 GB Notification: Performance of SimCode: time 5.91e-07/0.008594, allocations: 0 / 0.988 GB, free: 10.96 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01611/0.0247, allocations: 2.291 MB / 0.9902 GB, free: 8.805 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.849/6.874, allocations: 9.234 kB / 0.9902 GB, free: 8.797 MB / 0.948 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Utilities.Math.Examples.Splice.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Examples.Splice.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Examples.Splice.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Examples.Splice.sim & python3 -m fmpy simulate --output-file Buildings_12_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_12_Buildings_Utilities_Math_Examples_Splice.fmu > Buildings_12_Buildings.Utilities.Math.Examples.Splice.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.Splice_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Examples_Splice.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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_12_Buildings.Utilities.Math.Examples.Splice_res.csv. Warning: Get data of variable splice.x from file Buildings_12_Buildings.Utilities.Math.Examples.Splice_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.059249018318951]