Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001413/0.001413, allocations: 109 kB / 17.54 MB, free: 4.746 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001406/0.001406, allocations: 185.9 kB / 20.71 MB, free: 1.586 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.302/1.302, allocations: 225.6 MB / 249.3 MB, free: 3.152 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.507/2.507, allocations: 476.7 MB / 0.7628 GB, free: 15.07 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Utilities_Math_Examples_Splice",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Splice,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Examples_Splice",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00185/0.00185, allocations: 71.88 kB / 1.107 GB, free: 5.113 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.814/0.8158, allocations: 168.7 MB / 1.271 GB, free: 7.672 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Splice): time 0.002176/0.818, allocations: 1.523 MB / 1.273 GB, free: 6.633 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0008582/0.8189, allocations: 0.6586 MB / 1.274 GB, free: 6.18 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.722e-05/0.8189, allocations: 1.375 kB / 1.274 GB, free: 6.18 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.636e-05/0.8189, allocations: 1.266 kB / 1.274 GB, free: 6.18 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 4.047e-05/0.819, allocations: 9.281 kB / 1.274 GB, free: 6.172 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003114/0.8193, allocations: 78.55 kB / 1.274 GB, free: 6.137 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 8.408e-05/0.8194, allocations: 35.47 kB / 1.274 GB, free: 6.121 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.191e-05/0.8194, allocations: 12.38 kB / 1.274 GB, free: 6.117 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.312e-05/0.8195, allocations: 16.03 kB / 1.274 GB, free: 6.109 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.94e-05/0.8196, allocations: 21.89 kB / 1.274 GB, free: 6.098 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.238e-05/0.8196, allocations: 3.031 kB / 1.274 GB, free: 6.098 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001723/0.8197, allocations: 109.1 kB / 1.274 GB, free: 6.062 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.101e-05/0.8198, allocations: 3.062 kB / 1.274 GB, free: 6.062 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.764e-05/0.8198, allocations: 21.5 kB / 1.274 GB, free: 6.047 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001535/0.8199, allocations: 85 kB / 1.274 GB, free: 6.016 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.8199, allocations: 7.938 kB / 1.274 GB, free: 6.008 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.302e-06/0.8199, allocations: 0.9688 kB / 1.274 GB, free: 6.008 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 8.065e-06/0.82, allocations: 0 / 1.274 GB, free: 6.008 MB / 0.9981 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.0003423/0.8203, allocations: 361.7 kB / 1.274 GB, free: 5.633 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.459e-05/0.8203, allocations: 9.531 kB / 1.274 GB, free: 5.633 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.696e-05/0.8204, allocations: 37.48 kB / 1.274 GB, free: 5.59 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.488e-05/0.8204, allocations: 7.016 kB / 1.274 GB, free: 5.586 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.907e-05/0.8204, allocations: 173.4 kB / 1.274 GB, free: 5.383 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.158e-05/0.8205, allocations: 1.438 kB / 1.274 GB, free: 5.383 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.727e-06/0.8205, allocations: 7.469 kB / 1.274 GB, free: 5.379 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001272/0.8206, allocations: 60.3 kB / 1.275 GB, free: 5.332 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.075e-06/0.8206, allocations: 0 / 1.275 GB, free: 5.332 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.395e-06/0.8206, allocations: 0.5312 kB / 1.275 GB, free: 5.332 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.988e-06/0.8206, allocations: 4.75 kB / 1.275 GB, free: 5.328 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.635e-05/0.8207, allocations: 29.11 kB / 1.275 GB, free: 5.32 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002627/0.821, allocations: 285.3 kB / 1.275 GB, free: 5.027 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 7.468e-05/0.821, allocations: 31.42 kB / 1.275 GB, free: 4.996 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.437e-05/0.8211, allocations: 15.86 kB / 1.275 GB, free: 4.988 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003228/0.8214, allocations: 0.5584 MB / 1.275 GB, free: 4.328 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.619e-05/0.8214, allocations: 35.5 kB / 1.275 GB, free: 4.285 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.8214, allocations: 0 / 1.275 GB, free: 4.285 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2): time 0.0002155/0.8216, allocations: 62.69 kB / 1.276 GB, free: 4.246 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.199e-05/0.8217, allocations: 58.91 kB / 1.276 GB, free: 4.18 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.378e-05/0.8217, allocations: 119.2 kB / 1.276 GB, free: 4.074 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 7.073e-06/0.8217, allocations: 29.7 kB / 1.276 GB, free: 4.039 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 2.172e-05/0.8218, allocations: 87.02 kB / 1.276 GB, free: 3.953 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.212e-05/0.8218, allocations: 5.141 kB / 1.276 GB, free: 3.949 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.541e-05/0.8218, allocations: 18.98 kB / 1.276 GB, free: 3.93 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.713e-05/0.8218, allocations: 320.7 kB / 1.276 GB, free: 3.609 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.892e-05/0.8219, allocations: 8.938 kB / 1.276 GB, free: 3.609 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.186e-05/0.8219, allocations: 13.81 kB / 1.276 GB, free: 3.602 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.929e-05/0.822, allocations: 25.94 kB / 1.276 GB, free: 3.59 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.822, allocations: 0.9062 kB / 1.276 GB, free: 3.59 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001055/0.8221, allocations: 59.56 kB / 1.276 GB, free: 3.547 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.182e-05/0.8221, allocations: 5.125 kB / 1.276 GB, free: 3.547 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.8221, allocations: 1.922 kB / 1.276 GB, free: 3.547 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.127e-05/0.8221, allocations: 0.9062 kB / 1.276 GB, free: 3.547 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.055e-05/0.8222, allocations: 9.172 kB / 1.276 GB, free: 3.543 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.338e-06/0.8222, allocations: 0 / 1.276 GB, free: 3.543 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.316e-05/0.8222, allocations: 8.781 kB / 1.276 GB, free: 3.539 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.813e-06/0.8222, allocations: 4.906 kB / 1.276 GB, free: 3.535 MB / 0.9981 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 4.485e-05/0.8223, allocations: 113.3 kB / 1.276 GB, free: 3.418 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.523e-05/0.8223, allocations: 14.64 kB / 1.276 GB, free: 3.406 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001485/0.8224, allocations: 64.38 kB / 1.276 GB, free: 3.359 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.363e-06/0.8224, allocations: 4.031 kB / 1.276 GB, free: 3.355 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.8224, allocations: 1.094 kB / 1.276 GB, free: 3.355 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.993e-06/0.8224, allocations: 0 / 1.276 GB, free: 3.355 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001116/0.8225, allocations: 167.9 kB / 1.277 GB, free: 3.156 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.82e-07/0.8225, allocations: 0 / 1.277 GB, free: 3.156 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.112e-05/0.8226, allocations: 10.83 kB / 1.277 GB, free: 3.152 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.302e-06/0.8226, allocations: 0 / 1.277 GB, free: 3.152 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.413e-06/0.8226, allocations: 3.25 kB / 1.277 GB, free: 3.152 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/0.8226, allocations: 0 / 1.277 GB, free: 3.152 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.8226, allocations: 1.031 kB / 1.277 GB, free: 3.152 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001214/0.8227, allocations: 154.8 kB / 1.277 GB, free: 3.008 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.873e-05/0.8227, allocations: 82.97 kB / 1.277 GB, free: 2.91 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.374e-05/0.8228, allocations: 3.344 kB / 1.277 GB, free: 2.91 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.866e-05/0.8228, allocations: 6.156 kB / 1.277 GB, free: 2.906 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.837e-05/0.8228, allocations: 1.219 kB / 1.277 GB, free: 2.906 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.988e-06/0.8228, allocations: 5.391 kB / 1.277 GB, free: 2.902 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 3.525e-05/0.8229, allocations: 98.8 kB / 1.277 GB, free: 2.82 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/0.8229, allocations: 4.031 kB / 1.277 GB, free: 2.816 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002126/0.8231, allocations: 9.281 kB / 1.277 GB, free: 2.816 MB / 0.9981 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.0002908/0.8234, allocations: 0.6886 MB / 1.278 GB, free: 2.148 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001224/0.8235, allocations: 27.59 kB / 1.278 GB, free: 2.141 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.8235, allocations: 0 / 1.278 GB, free: 2.141 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 4.364e-05/0.8235, allocations: 18.28 kB / 1.278 GB, free: 2.133 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001905/0.8237, allocations: 4.312 kB / 1.278 GB, free: 2.133 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001168/0.8249, allocations: 1.309 MB / 1.279 GB, free: 16.91 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003049/0.8252, allocations: 0.6853 MB / 1.28 GB, free: 16.21 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 2.237e-05/0.8252, allocations: 2.797 kB / 1.28 GB, free: 16.21 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.887e-05/0.8253, allocations: 20.84 kB / 1.28 GB, free: 16.2 MB / 1.014 GB Notification: Performance of SimCode: time 2.9e-07/0.8253, allocations: 0 / 1.28 GB, free: 16.2 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02348/0.8487, allocations: 1.512 MB / 1.281 GB, free: 15.81 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.078/7.927, allocations: 4.562 kB / 1.281 GB, free: 15.81 MB / 1.014 GB " [Timeout remaining time 292] (rm -f Buildings_11_Buildings.Utilities.Math.Examples.Splice.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.Splice.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.Splice.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.Splice.sim & python3 -m fmpy simulate --output-file Buildings_11_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_11_Buildings_Utilities_Math_Examples_Splice.fmu > Buildings_11_Buildings.Utilities.Math.Examples.Splice.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.Splice_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_Splice.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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_11_Buildings.Utilities.Math.Examples.Splice_res.csv. Warning: Get data of variable splice.x from file Buildings_11_Buildings.Utilities.Math.Examples.Splice_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 13.30536100899917]