Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Utilities_Math_Examples_Splice",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Splice,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Examples_Splice",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007688/0.007688, allocations: 99.98 kB / 15.73 MB, free: 6.043 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001774/0.001774, allocations: 190.6 kB / 16.67 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.388/1.388, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.353/2.353, allocations: 390.3 MB / 0.6648 GB, free: 212 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001411/0.001411, allocations: 63.31 kB / 0.9504 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2621/0.2635, allocations: 140.4 MB / 1.087 GB, free: 1.988 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Splice): time 0.002752/0.2663, allocations: 1.482 MB / 1.089 GB, free: 0.4922 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001039/0.2674, allocations: 0.6488 MB / 1.09 GB, free: 15.84 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.087e-05/0.2674, allocations: 8 kB / 1.09 GB, free: 15.83 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.977e-05/0.2675, allocations: 3.938 kB / 1.09 GB, free: 15.82 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.566e-05/0.2675, allocations: 3.938 kB / 1.09 GB, free: 15.82 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003922/0.2679, allocations: 75.73 kB / 1.09 GB, free: 15.75 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 8.246e-05/0.268, allocations: 43.78 kB / 1.09 GB, free: 15.7 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001084/0.2681, allocations: 19.98 kB / 1.09 GB, free: 15.68 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 8.177e-05/0.2682, allocations: 19.92 kB / 1.09 GB, free: 15.66 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 6.094e-05/0.2683, allocations: 11.94 kB / 1.09 GB, free: 15.65 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.241e-05/0.2683, allocations: 4 kB / 1.09 GB, free: 15.65 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001951/0.2685, allocations: 103.9 kB / 1.09 GB, free: 15.55 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.459e-05/0.2685, allocations: 4 kB / 1.09 GB, free: 15.54 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.3e-05/0.2686, allocations: 19.86 kB / 1.09 GB, free: 15.52 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001841/0.2688, allocations: 90.58 kB / 1.09 GB, free: 15.44 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/0.2688, allocations: 3.938 kB / 1.09 GB, free: 15.43 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.693e-06/0.2688, allocations: 0 / 1.09 GB, free: 15.43 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.637e-06/0.2688, allocations: 0 / 1.09 GB, free: 15.43 MB / 0.8575 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.000442/0.2693, allocations: 368.2 kB / 1.09 GB, free: 15.03 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.617e-05/0.2693, allocations: 8.031 kB / 1.09 GB, free: 15.02 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.145e-05/0.2693, allocations: 30.75 kB / 1.09 GB, free: 14.98 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.924e-05/0.2694, allocations: 16.83 kB / 1.09 GB, free: 14.96 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001066/0.2695, allocations: 172.2 kB / 1.091 GB, free: 14.76 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.029e-05/0.2695, allocations: 384 / 1.091 GB, free: 14.76 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.354e-05/0.2695, allocations: 8.375 kB / 1.091 GB, free: 14.75 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001437/0.2697, allocations: 53.8 kB / 1.091 GB, free: 14.69 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.612e-06/0.2697, allocations: 4 kB / 1.091 GB, free: 14.69 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.408e-06/0.2697, allocations: 4 kB / 1.091 GB, free: 14.68 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/0.2697, allocations: 0 / 1.091 GB, free: 14.68 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.131e-05/0.2698, allocations: 23.98 kB / 1.091 GB, free: 14.66 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003371/0.2702, allocations: 284.6 kB / 1.091 GB, free: 14.33 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 8.681e-05/0.2702, allocations: 30.56 kB / 1.091 GB, free: 14.29 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.903e-05/0.2703, allocations: 20.92 kB / 1.091 GB, free: 14.27 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004429/0.2708, allocations: 0.5544 MB / 1.091 GB, free: 13.59 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.556e-05/0.2708, allocations: 34.56 kB / 1.092 GB, free: 13.54 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.252e-06/0.2708, allocations: 0 / 1.092 GB, free: 13.54 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0002385/0.271, allocations: 65.73 kB / 1.092 GB, free: 13.47 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.77e-05/0.2711, allocations: 55.41 kB / 1.092 GB, free: 13.41 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.657e-05/0.2712, allocations: 121.8 kB / 1.092 GB, free: 13.28 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.329e-05/0.2712, allocations: 29.7 kB / 1.092 GB, free: 13.24 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.586e-05/0.2712, allocations: 84.14 kB / 1.092 GB, free: 13.16 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.875e-05/0.2713, allocations: 11.97 kB / 1.092 GB, free: 13.14 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.201e-05/0.2713, allocations: 17.66 kB / 1.092 GB, free: 13.12 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 9.542e-05/0.2714, allocations: 314.8 kB / 1.092 GB, free: 12.8 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.779e-05/0.2714, allocations: 19.98 kB / 1.092 GB, free: 12.79 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.494e-05/0.2715, allocations: 4 kB / 1.092 GB, free: 12.78 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.313e-05/0.2716, allocations: 32.78 kB / 1.092 GB, free: 12.75 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-06/0.2716, allocations: 0 / 1.092 GB, free: 12.75 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001233/0.2717, allocations: 61.58 kB / 1.092 GB, free: 12.68 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.4e-05/0.2717, allocations: 4 kB / 1.092 GB, free: 12.68 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.2717, allocations: 0 / 1.092 GB, free: 12.68 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.239e-05/0.2718, allocations: 4.094 kB / 1.092 GB, free: 12.67 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.753e-05/0.2718, allocations: 4 kB / 1.092 GB, free: 12.67 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.489e-06/0.2719, allocations: 4 kB / 1.092 GB, free: 12.66 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.513e-05/0.2719, allocations: 3.984 kB / 1.092 GB, free: 12.66 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.107e-05/0.2719, allocations: 11.91 kB / 1.092 GB, free: 12.65 MB / 0.8575 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.871e-05/0.272, allocations: 109.8 kB / 1.092 GB, free: 12.53 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.967e-05/0.272, allocations: 15.84 kB / 1.092 GB, free: 12.52 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001617/0.2722, allocations: 65.14 kB / 1.093 GB, free: 12.44 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.2722, allocations: 0 / 1.093 GB, free: 12.44 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.596e-06/0.2722, allocations: 0 / 1.093 GB, free: 12.44 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.2722, allocations: 0 / 1.093 GB, free: 12.44 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001555/0.2724, allocations: 173.6 kB / 1.093 GB, free: 12.22 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.2724, allocations: 0 / 1.093 GB, free: 12.22 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.201e-05/0.2724, allocations: 4 kB / 1.093 GB, free: 12.22 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.959e-06/0.2724, allocations: 3.984 kB / 1.093 GB, free: 12.21 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.722e-06/0.2725, allocations: 0 / 1.093 GB, free: 12.21 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.2725, allocations: 4 kB / 1.093 GB, free: 12.21 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.2725, allocations: 0 / 1.093 GB, free: 12.21 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001581/0.2726, allocations: 159.5 kB / 1.093 GB, free: 12.04 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.611e-05/0.2727, allocations: 89 kB / 1.093 GB, free: 11.93 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.227e-05/0.2727, allocations: 0 / 1.093 GB, free: 11.93 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.057e-05/0.2728, allocations: 0 / 1.093 GB, free: 11.93 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.889e-05/0.2728, allocations: 4 kB / 1.093 GB, free: 11.93 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.497e-06/0.2728, allocations: 0 / 1.093 GB, free: 11.93 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.74e-05/0.2729, allocations: 111.6 kB / 1.093 GB, free: 11.82 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.7e-07/0.2729, allocations: 0 / 1.093 GB, free: 11.82 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002279/0.2731, allocations: 8 kB / 1.093 GB, free: 11.81 MB / 0.8575 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.0004365/0.2736, allocations: 0.6891 MB / 1.094 GB, free: 11.1 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001367/0.2737, allocations: 27.95 kB / 1.094 GB, free: 11.07 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.2737, allocations: 0 / 1.094 GB, free: 11.07 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 4.34e-05/0.2738, allocations: 11.98 kB / 1.094 GB, free: 11.06 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002078/0.274, allocations: 8.328 kB / 1.094 GB, free: 11.05 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001177/0.2752, allocations: 1.307 MB / 1.095 GB, free: 9.668 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002032/0.2754, allocations: 0.6846 MB / 1.096 GB, free: 8.957 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.46e-05/0.2754, allocations: 7.938 kB / 1.096 GB, free: 8.949 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.189e-05/0.2755, allocations: 15.42 kB / 1.096 GB, free: 8.938 MB / 0.8575 GB Notification: Performance of SimCode: time 2.21e-07/0.2755, allocations: 0 / 1.096 GB, free: 8.938 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01597/0.2914, allocations: 1.515 MB / 1.097 GB, free: 7.488 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.23/7.522, allocations: 12.27 kB / 1.097 GB, free: 7.48 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Utilities.Math.Examples.Splice.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Examples.Splice.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Examples.Splice.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Examples.Splice.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Math.Examples.Splice_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Math_Examples_Splice_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Math_Examples_Splice.fmu > Buildings_9_Buildings.Utilities.Math.Examples.Splice.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Examples.Splice_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Examples_Splice.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Examples.Splice.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches