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) 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 10.1.1-maint.10.0.x/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004679/0.004679, allocations: 99.16 kB / 15.73 MB, free: 6.012 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.001213/0.001213, allocations: 197 kB / 16.68 MB, free: 5.93 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.293/1.293, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.301/2.301, allocations: 437.1 MB / 0.7106 GB, free: 4.332 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001892/0.001892, allocations: 79.81 kB / 1.018 GB, free: 9.875 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7885/0.7904, allocations: 151.6 MB / 1.166 GB, free: 3.773 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Splice): time 0.002493/0.7929, allocations: 1.494 MB / 1.168 GB, free: 2.27 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001004/0.794, allocations: 0.6537 MB / 1.168 GB, free: 1.609 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.229e-05/0.794, allocations: 0 / 1.168 GB, free: 1.609 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 2.646e-05/0.794, allocations: 3.938 kB / 1.168 GB, free: 1.605 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 5.827e-05/0.7941, allocations: 11.88 kB / 1.168 GB, free: 1.594 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003119/0.7944, allocations: 75.73 kB / 1.168 GB, free: 1.52 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 7.476e-05/0.7945, allocations: 39.89 kB / 1.168 GB, free: 1.48 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 8.643e-05/0.7946, allocations: 15.94 kB / 1.168 GB, free: 1.465 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 6.104e-05/0.7947, allocations: 15.98 kB / 1.168 GB, free: 1.449 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 5.535e-05/0.7947, allocations: 19.86 kB / 1.168 GB, free: 1.43 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.211e-05/0.7947, allocations: 4 kB / 1.168 GB, free: 1.426 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001916/0.7949, allocations: 103.9 kB / 1.169 GB, free: 1.324 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.308e-05/0.795, allocations: 4 kB / 1.169 GB, free: 1.32 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 3.007e-05/0.795, allocations: 23.86 kB / 1.169 GB, free: 1.297 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001685/0.7952, allocations: 87.36 kB / 1.169 GB, free: 1.215 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.7952, allocations: 4 kB / 1.169 GB, free: 1.211 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.333e-06/0.7952, allocations: 4 kB / 1.169 GB, free: 1.207 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 4.478e-06/0.7952, allocations: 0 / 1.169 GB, free: 1.207 MB / 0.8887 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.0004734/0.7957, allocations: 363.1 kB / 1.169 GB, free: 0.8047 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.204e-05/0.7957, allocations: 12.92 kB / 1.169 GB, free: 0.793 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.135e-05/0.7958, allocations: 38.73 kB / 1.169 GB, free: 0.7461 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.878e-05/0.7958, allocations: 8.891 kB / 1.169 GB, free: 0.7383 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001505/0.796, allocations: 160.4 kB / 1.169 GB, free: 0.543 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.054e-05/0.796, allocations: 4.375 kB / 1.169 GB, free: 0.5391 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.163e-05/0.796, allocations: 384 / 1.169 GB, free: 0.5391 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001649/0.7962, allocations: 61.8 kB / 1.169 GB, free: 484 kB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.453e-05/0.7962, allocations: 11.92 kB / 1.169 GB, free: 472 kB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.666e-06/0.7962, allocations: 0 / 1.169 GB, free: 472 kB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.5e-06/0.7962, allocations: 0 / 1.169 GB, free: 472 kB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.776e-05/0.7963, allocations: 27.98 kB / 1.169 GB, free: 444 kB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003889/0.7967, allocations: 276.7 kB / 1.17 GB, free: 116 kB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 9.117e-05/0.7968, allocations: 42.5 kB / 1.17 GB, free: 64 kB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.393e-05/0.7969, allocations: 8.922 kB / 1.17 GB, free: 52 kB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005306/0.7974, allocations: 0.5622 MB / 1.17 GB, free: 15.36 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.37e-05/0.7975, allocations: 30.56 kB / 1.17 GB, free: 15.32 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/0.7975, allocations: 0 / 1.17 GB, free: 15.32 MB / 0.9044 GB Notification: Performance of matching and sorting (n=2): time 0.0002432/0.7977, allocations: 69.62 kB / 1.17 GB, free: 15.25 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.58e-05/0.7978, allocations: 51.41 kB / 1.17 GB, free: 15.18 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000106/0.7979, allocations: 125.8 kB / 1.17 GB, free: 15.05 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.015e-05/0.7979, allocations: 29.64 kB / 1.17 GB, free: 15.02 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 5.235e-05/0.798, allocations: 92.12 kB / 1.171 GB, free: 14.92 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 1.618e-05/0.798, allocations: 8.016 kB / 1.171 GB, free: 14.91 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.122e-05/0.798, allocations: 13.72 kB / 1.171 GB, free: 14.89 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001313/0.7981, allocations: 330.8 kB / 1.171 GB, free: 14.56 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.092e-05/0.7982, allocations: 8 kB / 1.171 GB, free: 14.55 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.387e-05/0.7982, allocations: 11.98 kB / 1.171 GB, free: 14.54 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.239e-05/0.7983, allocations: 24.84 kB / 1.171 GB, free: 14.52 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/0.7983, allocations: 0 / 1.171 GB, free: 14.52 MB / 0.9044 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001211/0.7985, allocations: 57.64 kB / 1.171 GB, free: 14.45 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.361e-05/0.7985, allocations: 8.094 kB / 1.171 GB, free: 14.45 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.416e-06/0.7985, allocations: 3.938 kB / 1.171 GB, free: 14.44 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.254e-05/0.7985, allocations: 0 / 1.171 GB, free: 14.44 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.318e-05/0.7986, allocations: 7.938 kB / 1.171 GB, free: 14.43 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.579e-06/0.7986, allocations: 0 / 1.171 GB, free: 14.43 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.401e-05/0.7986, allocations: 7.984 kB / 1.171 GB, free: 14.43 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.016e-05/0.7986, allocations: 7.938 kB / 1.171 GB, free: 14.42 MB / 0.9044 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.843e-05/0.7987, allocations: 109.8 kB / 1.171 GB, free: 14.3 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.482e-05/0.7988, allocations: 3.953 kB / 1.171 GB, free: 14.3 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001583/0.7989, allocations: 65.2 kB / 1.171 GB, free: 14.22 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.7989, allocations: 4 kB / 1.171 GB, free: 14.22 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.7989, allocations: 0 / 1.171 GB, free: 14.22 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.174e-06/0.7989, allocations: 0 / 1.171 GB, free: 14.22 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001732/0.7991, allocations: 173.5 kB / 1.171 GB, free: 14 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.7991, allocations: 4 kB / 1.171 GB, free: 14 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.16e-05/0.7992, allocations: 7.984 kB / 1.171 GB, free: 13.99 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.547e-06/0.7992, allocations: 0 / 1.171 GB, free: 13.99 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.623e-06/0.7992, allocations: 3.938 kB / 1.171 GB, free: 13.98 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.7992, allocations: 4.031 kB / 1.171 GB, free: 13.98 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-07/0.7992, allocations: 0 / 1.171 GB, free: 13.98 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001689/0.7994, allocations: 151.5 kB / 1.172 GB, free: 13.82 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.392e-05/0.7994, allocations: 81.06 kB / 1.172 GB, free: 13.72 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.528e-05/0.7995, allocations: 8 kB / 1.172 GB, free: 13.71 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.635e-05/0.7995, allocations: 0 / 1.172 GB, free: 13.71 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.001e-05/0.7996, allocations: 4.031 kB / 1.172 GB, free: 13.71 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.461e-06/0.7996, allocations: 4 kB / 1.172 GB, free: 13.7 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 5.993e-05/0.7997, allocations: 95.2 kB / 1.172 GB, free: 13.61 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7997, allocations: 0 / 1.172 GB, free: 13.61 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002312/0.7999, allocations: 12 kB / 1.172 GB, free: 13.6 MB / 0.9044 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.0004951/0.8004, allocations: 0.6968 MB / 1.172 GB, free: 12.88 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0001298/0.8005, allocations: 19.98 kB / 1.172 GB, free: 12.86 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.8005, allocations: 0 / 1.172 GB, free: 12.86 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 4.682e-05/0.8006, allocations: 12 kB / 1.172 GB, free: 12.84 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002008/0.8008, allocations: 11.88 kB / 1.172 GB, free: 12.83 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001273/0.8021, allocations: 1.314 MB / 1.174 GB, free: 11.44 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002936/0.8024, allocations: 0.6807 MB / 1.174 GB, free: 10.73 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 2.63e-05/0.8024, allocations: 8 kB / 1.174 GB, free: 10.73 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.27e-05/0.8025, allocations: 23.42 kB / 1.174 GB, free: 10.7 MB / 0.9044 GB Notification: Performance of SimCode: time 2.5e-07/0.8025, allocations: 0 / 1.174 GB, free: 10.7 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.874/2.676, allocations: 1.497 MB / 1.176 GB, free: 9.273 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.696/11.37, allocations: 8 kB / 1.176 GB, free: 9.266 MB / 0.9044 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.Math.Examples.Splice_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_Math_Examples_Splice_fmu --startTime=0 --stopTime=2 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Utilities_Math_Examples_Splice.fmu > Buildings_10_Buildings.Utilities.Math.Examples.Splice.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Examples.Splice_res.mat","/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) Reference file matches