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.001317/0.001317, allocations: 116.8 kB / 17.17 MB, free: 5.977 MB / 14.72 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.001404/0.001404, allocations: 209.5 kB / 20.13 MB, free: 3.035 MB / 14.72 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 1.636/1.636, allocations: 230.6 MB / 253.5 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.11/3.11, allocations: 0.49 GB / 0.7923 GB, free: 1.27 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Splice,fileNamePrefix="Buildings_12_Buildings_Utilities_Math_Examples_Splice",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002753/0.002753, allocations: 63.91 kB / 1.15 GB, free: 15.36 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.283/1.285, allocations: 176.1 MB / 1.321 GB, free: 24.62 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Splice): time 0.002683/1.288, allocations: 1.513 MB / 1.323 GB, free: 23.56 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001268/1.289, allocations: 0.7491 MB / 1.324 GB, free: 23.04 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.815e-05/1.289, allocations: 7.938 kB / 1.324 GB, free: 23.04 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.54e-05/1.29, allocations: 7.219 kB / 1.324 GB, free: 23.03 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 6.876e-05/1.29, allocations: 7.875 kB / 1.324 GB, free: 23.02 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004755/1.29, allocations: 92.39 kB / 1.324 GB, free: 22.98 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001362/1.29, allocations: 39.86 kB / 1.324 GB, free: 22.96 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001078/1.29, allocations: 14.69 kB / 1.324 GB, free: 22.96 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001083/1.29, allocations: 13.69 kB / 1.324 GB, free: 22.95 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 5.846e-05/1.29, allocations: 20.33 kB / 1.324 GB, free: 22.95 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.248e-05/1.29, allocations: 6.906 kB / 1.324 GB, free: 22.94 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002049/1.291, allocations: 123.9 kB / 1.324 GB, free: 22.9 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.598e-05/1.291, allocations: 10.56 kB / 1.324 GB, free: 22.89 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 3.004e-05/1.291, allocations: 21.77 kB / 1.324 GB, free: 22.88 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001932/1.291, allocations: 92.78 kB / 1.324 GB, free: 22.85 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 6.533e-06/1.291, allocations: 2.625 kB / 1.324 GB, free: 22.85 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.713e-06/1.291, allocations: 0 / 1.324 GB, free: 22.85 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.218e-05/1.291, allocations: 3.938 kB / 1.324 GB, free: 22.84 MB / 1.061 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.0004451/1.291, allocations: 376.2 kB / 1.324 GB, free: 22.45 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.701e-05/1.291, allocations: 18.3 kB / 1.325 GB, free: 22.45 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.509e-05/1.291, allocations: 192 / 1.325 GB, free: 22.45 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.718e-05/1.291, allocations: 44.67 kB / 1.325 GB, free: 22.4 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001529/1.292, allocations: 16.27 kB / 1.325 GB, free: 22.39 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000208/1.292, allocations: 176.9 kB / 1.325 GB, free: 22.19 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.356e-05/1.292, allocations: 4.375 kB / 1.325 GB, free: 22.19 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.551e-05/1.292, allocations: 2.875 kB / 1.325 GB, free: 22.19 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001632/1.292, allocations: 61.45 kB / 1.325 GB, free: 22.14 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.909e-06/1.292, allocations: 4 kB / 1.325 GB, free: 22.14 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.246e-05/1.292, allocations: 3.984 kB / 1.325 GB, free: 22.13 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.017e-05/1.292, allocations: 2.469 kB / 1.325 GB, free: 22.13 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.296e-05/1.292, allocations: 22.92 kB / 1.325 GB, free: 22.13 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000342/1.292, allocations: 284 kB / 1.325 GB, free: 21.84 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 9.366e-05/1.293, allocations: 30.25 kB / 1.325 GB, free: 21.81 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.64e-05/1.293, allocations: 21.7 kB / 1.325 GB, free: 21.79 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003978/1.293, allocations: 0.5552 MB / 1.326 GB, free: 21.14 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.274e-05/1.293, allocations: 30.56 kB / 1.326 GB, free: 21.1 MB / 1.061 GB Notification: Performance of pre-optimization done (n=2): time 1.332e-06/1.293, allocations: 0 / 1.326 GB, free: 21.1 MB / 1.061 GB Notification: Performance of matching and sorting (n=2): time 0.0002738/1.293, allocations: 69.17 kB / 1.326 GB, free: 21.05 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.871e-05/1.293, allocations: 58.83 kB / 1.326 GB, free: 20.99 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.236e-05/1.293, allocations: 121.5 kB / 1.326 GB, free: 20.88 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.34e-05/1.293, allocations: 25.7 kB / 1.326 GB, free: 20.85 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 4.129e-05/1.294, allocations: 94.2 kB / 1.326 GB, free: 20.76 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.011e-05/1.294, allocations: 3.953 kB / 1.326 GB, free: 20.76 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.007e-05/1.294, allocations: 12.53 kB / 1.326 GB, free: 20.74 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 6.64e-05/1.294, allocations: 324.5 kB / 1.326 GB, free: 20.42 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.497e-05/1.294, allocations: 16.58 kB / 1.326 GB, free: 20.41 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.317e-05/1.294, allocations: 5.125 kB / 1.326 GB, free: 20.41 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.793e-05/1.294, allocations: 29.12 kB / 1.326 GB, free: 20.4 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/1.294, allocations: 0 / 1.326 GB, free: 20.4 MB / 1.061 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001106/1.294, allocations: 62.36 kB / 1.327 GB, free: 20.36 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.765e-05/1.294, allocations: 5.562 kB / 1.327 GB, free: 20.36 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/1.294, allocations: 0 / 1.327 GB, free: 20.36 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.653e-05/1.294, allocations: 4.094 kB / 1.327 GB, free: 20.35 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.661e-05/1.294, allocations: 8.609 kB / 1.327 GB, free: 20.35 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/1.294, allocations: 0 / 1.327 GB, free: 20.35 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.381e-05/1.294, allocations: 10.31 kB / 1.327 GB, free: 20.34 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.157e-06/1.294, allocations: 4 kB / 1.327 GB, free: 20.34 MB / 1.061 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.071e-05/1.294, allocations: 117.3 kB / 1.327 GB, free: 20.22 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.661e-05/1.294, allocations: 6.578 kB / 1.327 GB, free: 20.22 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001686/1.294, allocations: 69.25 kB / 1.327 GB, free: 20.16 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.335e-06/1.294, allocations: 3.938 kB / 1.327 GB, free: 20.16 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.109e-06/1.294, allocations: 0 / 1.327 GB, free: 20.16 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/1.294, allocations: 3.938 kB / 1.327 GB, free: 20.15 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001434/1.294, allocations: 167.2 kB / 1.327 GB, free: 19.96 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/1.294, allocations: 2.656 kB / 1.327 GB, free: 19.96 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.051e-05/1.295, allocations: 5.969 kB / 1.327 GB, free: 19.96 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/1.295, allocations: 0 / 1.327 GB, free: 19.96 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.186e-05/1.295, allocations: 2.438 kB / 1.327 GB, free: 19.96 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.887e-06/1.295, allocations: 4 kB / 1.327 GB, free: 19.95 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/1.295, allocations: 0 / 1.327 GB, free: 19.95 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001548/1.295, allocations: 155.6 kB / 1.327 GB, free: 19.81 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.16e-05/1.295, allocations: 83.64 kB / 1.327 GB, free: 19.71 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.637e-05/1.295, allocations: 0 / 1.327 GB, free: 19.71 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.14e-05/1.295, allocations: 6.031 kB / 1.327 GB, free: 19.71 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.918e-05/1.295, allocations: 0 / 1.327 GB, free: 19.71 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.651e-06/1.295, allocations: 6.438 kB / 1.327 GB, free: 19.71 MB / 1.061 GB Notification: Performance of sorting global known variables: time 4.027e-05/1.295, allocations: 96.56 kB / 1.327 GB, free: 19.62 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/1.295, allocations: 3.938 kB / 1.327 GB, free: 19.62 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002411/1.295, allocations: 15.44 kB / 1.327 GB, free: 19.62 MB / 1.061 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.0003572/1.295, allocations: 0.6989 MB / 1.328 GB, free: 18.95 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001432/1.296, allocations: 29.03 kB / 1.328 GB, free: 18.94 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/1.296, allocations: 0 / 1.328 GB, free: 18.94 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 4.464e-05/1.296, allocations: 16.78 kB / 1.328 GB, free: 18.93 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002168/1.296, allocations: 9.969 kB / 1.328 GB, free: 18.92 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001073/1.297, allocations: 1.324 MB / 1.329 GB, free: 17.7 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001152/1.297, allocations: 0.6881 MB / 1.33 GB, free: 17 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 2.315e-05/1.297, allocations: 0 / 1.33 GB, free: 17 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.722e-05/1.297, allocations: 17.89 kB / 1.33 GB, free: 16.99 MB / 1.061 GB Notification: Performance of SimCode: time 3.81e-07/1.297, allocations: 0 / 1.33 GB, free: 16.99 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01805/1.315, allocations: 1.688 MB / 1.332 GB, free: 16.55 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.525/10.84, allocations: 6.5 kB / 1.332 GB, free: 16.55 MB / 1.061 GB " [Timeout remaining time 289] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Utilities.Math.Examples.Splice_res.mat --tempDir=temp_Buildings_12_Buildings_Utilities_Math_Examples_Splice_fmu --startTime=0 --stopTime=2 --stepSize=0.0008 --timeout=400 --tolerance=1e-06 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.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Examples_Splice.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 18.01816229999531]