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.007721/0.007721, allocations: 101.6 kB / 15.73 MB, free: 6.035 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.00181/0.00181, allocations: 192.7 kB / 16.67 MB, free: 5.973 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.405/1.405, allocations: 222.9 MB / 240.4 MB, free: 4.305 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.2 MB / 0.6648 GB, free: 208 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001167/0.001167, allocations: 62.56 kB / 0.9504 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.249/0.2502, 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.002358/0.2526, allocations: 1.497 MB / 1.089 GB, free: 488 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001024/0.2537, allocations: 0.6489 MB / 1.09 GB, free: 15.82 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.227e-05/0.2537, allocations: 0 / 1.09 GB, free: 15.82 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.486e-05/0.2538, allocations: 7.922 kB / 1.09 GB, free: 15.81 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 4.905e-05/0.2538, allocations: 3.938 kB / 1.09 GB, free: 15.81 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003645/0.2542, allocations: 83.72 kB / 1.09 GB, free: 15.73 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 7.713e-05/0.2543, allocations: 39.86 kB / 1.09 GB, free: 15.69 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00011/0.2544, allocations: 19.92 kB / 1.09 GB, free: 15.67 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 7.067e-05/0.2545, allocations: 15.94 kB / 1.09 GB, free: 15.65 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 5.724e-05/0.2545, allocations: 15.92 kB / 1.09 GB, free: 15.64 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.536e-05/0.2545, allocations: 4 kB / 1.09 GB, free: 15.63 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001786/0.2547, allocations: 95.89 kB / 1.09 GB, free: 15.54 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.415e-05/0.2548, allocations: 7.984 kB / 1.09 GB, free: 15.53 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.832e-05/0.2548, allocations: 15.88 kB / 1.09 GB, free: 15.52 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001756/0.255, allocations: 94.56 kB / 1.09 GB, free: 15.43 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.678e-06/0.255, allocations: 0 / 1.09 GB, free: 15.43 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.173e-06/0.255, allocations: 4 kB / 1.09 GB, free: 15.42 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.831e-06/0.255, allocations: 4 kB / 1.09 GB, free: 15.42 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.000448/0.2555, allocations: 360.2 kB / 1.09 GB, free: 15.02 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.036e-05/0.2555, allocations: 12.03 kB / 1.09 GB, free: 15.01 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.342e-05/0.2556, allocations: 30.75 kB / 1.09 GB, free: 14.97 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.701e-05/0.2556, allocations: 4.844 kB / 1.09 GB, free: 14.96 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001185/0.2557, allocations: 172.2 kB / 1.091 GB, free: 14.76 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.052e-05/0.2557, allocations: 384 / 1.091 GB, free: 14.76 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.061e-05/0.2557, allocations: 8.375 kB / 1.091 GB, free: 14.75 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001628/0.2559, allocations: 57.78 kB / 1.091 GB, free: 14.69 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.004e-06/0.2559, allocations: 4 kB / 1.091 GB, free: 14.68 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.109e-05/0.2559, allocations: 4 kB / 1.091 GB, free: 14.68 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.256, allocations: 4 kB / 1.091 GB, free: 14.68 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.928e-05/0.256, allocations: 23.98 kB / 1.091 GB, free: 14.65 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003465/0.2564, allocations: 284.6 kB / 1.091 GB, free: 14.32 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 8.783e-05/0.2565, allocations: 30.56 kB / 1.091 GB, free: 14.29 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.504e-05/0.2566, allocations: 24.91 kB / 1.091 GB, free: 14.26 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004854/0.2571, allocations: 0.5584 MB / 1.091 GB, free: 13.57 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.242e-05/0.2571, allocations: 30.56 kB / 1.092 GB, free: 13.53 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.2571, allocations: 3.938 kB / 1.092 GB, free: 13.53 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0002558/0.2574, allocations: 73.61 kB / 1.092 GB, free: 13.45 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.903e-05/0.2574, allocations: 51.41 kB / 1.092 GB, free: 13.39 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001038/0.2575, allocations: 125.8 kB / 1.092 GB, free: 13.25 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.277e-05/0.2575, allocations: 25.7 kB / 1.092 GB, free: 13.22 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.327e-05/0.2576, allocations: 88.14 kB / 1.092 GB, free: 13.13 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.663e-05/0.2576, allocations: 7.906 kB / 1.092 GB, free: 13.12 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.911e-05/0.2577, allocations: 9.719 kB / 1.092 GB, free: 13.11 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001258/0.2578, allocations: 322.9 kB / 1.092 GB, free: 12.79 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.448e-05/0.2578, allocations: 12 kB / 1.092 GB, free: 12.77 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.612e-05/0.2579, allocations: 15.92 kB / 1.092 GB, free: 12.76 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.177e-05/0.258, allocations: 28.84 kB / 1.092 GB, free: 12.73 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.258, allocations: 3.938 kB / 1.092 GB, free: 12.72 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001167/0.2581, allocations: 53.59 kB / 1.092 GB, free: 12.66 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.686e-05/0.2581, allocations: 8 kB / 1.092 GB, free: 12.66 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.2581, allocations: 4.094 kB / 1.092 GB, free: 12.65 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.451e-05/0.2582, allocations: 0 / 1.092 GB, free: 12.65 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.3e-05/0.2582, allocations: 7.984 kB / 1.092 GB, free: 12.64 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.498e-06/0.2582, allocations: 0 / 1.092 GB, free: 12.64 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.512e-05/0.2583, allocations: 4 kB / 1.092 GB, free: 12.64 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.978e-06/0.2583, allocations: 3.938 kB / 1.092 GB, free: 12.64 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 8.443e-05/0.2584, allocations: 105.8 kB / 1.092 GB, free: 12.52 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.804e-05/0.2584, allocations: 11.91 kB / 1.092 GB, free: 12.51 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001653/0.2586, allocations: 65.14 kB / 1.092 GB, free: 12.44 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.2586, allocations: 0 / 1.092 GB, free: 12.44 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/0.2586, allocations: 4 kB / 1.093 GB, free: 12.43 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.019e-06/0.2586, allocations: 7.984 kB / 1.093 GB, free: 12.43 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001705/0.2588, allocations: 169.6 kB / 1.093 GB, free: 12.21 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.2588, allocations: 0 / 1.093 GB, free: 12.21 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.114e-05/0.2589, allocations: 4 kB / 1.093 GB, free: 12.21 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.2589, allocations: 0 / 1.093 GB, free: 12.21 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.973e-06/0.2589, allocations: 0 / 1.093 GB, free: 12.21 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.2589, allocations: 0 / 1.093 GB, free: 12.21 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.2589, allocations: 4.031 kB / 1.093 GB, free: 12.2 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000175/0.2591, allocations: 159.4 kB / 1.093 GB, free: 12.03 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.981e-05/0.2591, allocations: 81.02 kB / 1.093 GB, free: 11.93 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.271e-05/0.2591, allocations: 0 / 1.093 GB, free: 11.93 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.048e-05/0.2592, allocations: 4 kB / 1.093 GB, free: 11.93 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.813e-05/0.2593, allocations: 3.984 kB / 1.093 GB, free: 11.93 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.296e-06/0.2593, allocations: 4.031 kB / 1.093 GB, free: 11.92 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 6.648e-05/0.2593, allocations: 107.6 kB / 1.093 GB, free: 11.82 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2593, allocations: 0 / 1.093 GB, free: 11.82 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002281/0.2596, allocations: 11.94 kB / 1.093 GB, free: 11.8 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.0005037/0.2601, allocations: 0.6969 MB / 1.094 GB, free: 11.08 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001524/0.2603, allocations: 27.92 kB / 1.094 GB, free: 11.05 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.2603, allocations: 0 / 1.094 GB, free: 11.05 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 4.618e-05/0.2603, allocations: 11.98 kB / 1.094 GB, free: 11.04 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002218/0.2605, allocations: 4 kB / 1.094 GB, free: 11.04 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001283/0.2618, allocations: 1.307 MB / 1.095 GB, free: 9.656 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002589/0.2621, allocations: 0.6846 MB / 1.096 GB, free: 8.945 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.6e-05/0.2621, allocations: 3.984 kB / 1.096 GB, free: 8.941 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.389e-05/0.2622, allocations: 15.44 kB / 1.096 GB, free: 8.93 MB / 0.8575 GB Notification: Performance of SimCode: time 2.5e-07/0.2622, allocations: 3.938 kB / 1.096 GB, free: 8.926 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01667/0.2789, allocations: 1.501 MB / 1.097 GB, free: 7.492 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.395/7.673, allocations: 9.391 kB / 1.097 GB, free: 7.484 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 & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Utilities.Math.Examples.Splice_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0008 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.csv","/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