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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001126/0.001126, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001132/0.001132, allocations: 193.5 kB / 16.14 MB, free: 6.645 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.353/1.353, allocations: 222.9 MB / 239.8 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.295/2.295, allocations: 390.2 MB / 0.6643 GB, free: 0.6484 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001484/0.001484, allocations: 63.91 kB / 0.812 GB, free: 14.81 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7135/0.715, allocations: 140.4 MB / 0.9491 GB, free: 9.145 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Splice): time 0.003238/0.7183, allocations: 1.542 MB / 0.9506 GB, free: 7.934 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001151/0.7195, allocations: 0.6597 MB / 0.9512 GB, free: 7.418 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.81e-05/0.7195, allocations: 0 / 0.9512 GB, free: 7.418 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.771e-05/0.7196, allocations: 0 / 0.9512 GB, free: 7.418 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.158e-05/0.7197, allocations: 5.281 kB / 0.9512 GB, free: 7.414 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003621/0.7201, allocations: 58.06 kB / 0.9513 GB, free: 7.375 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.8e-05/0.7202, allocations: 35.3 kB / 0.9513 GB, free: 7.355 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001077/0.7203, allocations: 17.83 kB / 0.9513 GB, free: 7.344 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.512e-05/0.7204, allocations: 17.3 kB / 0.9513 GB, free: 7.332 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.94e-05/0.7204, allocations: 17.27 kB / 0.9513 GB, free: 7.32 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.507e-05/0.7205, allocations: 2.5 kB / 0.9514 GB, free: 7.32 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002132/0.7207, allocations: 95.42 kB / 0.9514 GB, free: 7.273 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.741e-05/0.7207, allocations: 13.14 kB / 0.9515 GB, free: 7.262 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.171e-05/0.7207, allocations: 16.03 kB / 0.9515 GB, free: 7.25 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000193/0.7209, allocations: 84.36 kB / 0.9516 GB, free: 7.199 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.7209, allocations: 5.406 kB / 0.9516 GB, free: 7.195 MB / 0.7169 GB Notification: Performance of FrontEnd: time 9.72e-07/0.721, allocations: 0 / 0.9516 GB, free: 7.195 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.9e-06/0.721, allocations: 0 / 0.9516 GB, free: 7.195 MB / 0.7169 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.0004176/0.7214, allocations: 361.7 kB / 0.9519 GB, free: 6.812 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.642e-05/0.7214, allocations: 12.69 kB / 0.9519 GB, free: 6.809 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.163e-05/0.7215, allocations: 36 kB / 0.9519 GB, free: 6.766 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.456e-05/0.7215, allocations: 7.188 kB / 0.952 GB, free: 6.762 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.451e-05/0.7216, allocations: 172.5 kB / 0.9521 GB, free: 6.559 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.173e-05/0.7216, allocations: 4.375 kB / 0.9521 GB, free: 6.555 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.183e-05/0.7217, allocations: 2.875 kB / 0.9521 GB, free: 6.555 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001632/0.7218, allocations: 58.64 kB / 0.9522 GB, free: 6.504 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.355e-06/0.7218, allocations: 0 / 0.9522 GB, free: 6.504 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.237e-06/0.7219, allocations: 1.281 kB / 0.9522 GB, free: 6.504 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.7219, allocations: 1.312 kB / 0.9522 GB, free: 6.504 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.548e-05/0.722, allocations: 34.08 kB / 0.9522 GB, free: 6.484 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00034/0.7223, allocations: 284.5 kB / 0.9525 GB, free: 6.176 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 8.838e-05/0.7224, allocations: 31.53 kB / 0.9525 GB, free: 6.145 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.637e-05/0.7225, allocations: 14.47 kB / 0.9525 GB, free: 6.133 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003798/0.7229, allocations: 0.5579 MB / 0.9531 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.063e-05/0.7229, allocations: 39.91 kB / 0.9531 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.463e-06/0.7229, allocations: 3.938 kB / 0.9531 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0002479/0.7231, allocations: 67.3 kB / 0.9532 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.509e-05/0.7232, allocations: 52.94 kB / 0.9532 GB, free: 5.301 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.44e-05/0.7233, allocations: 125.7 kB / 0.9534 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.124e-06/0.7233, allocations: 25.7 kB / 0.9534 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.401e-05/0.7233, allocations: 86.86 kB / 0.9535 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.731e-05/0.7233, allocations: 9.156 kB / 0.9535 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.23e-05/0.7234, allocations: 12.16 kB / 0.9535 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.062e-05/0.7234, allocations: 324 kB / 0.9538 GB, free: 4.719 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.446e-05/0.7235, allocations: 10.62 kB / 0.9538 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.511e-05/0.7235, allocations: 9.391 kB / 0.9538 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.465e-05/0.7236, allocations: 28.69 kB / 0.9538 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.7236, allocations: 4.062 kB / 0.9538 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001183/0.7238, allocations: 51.19 kB / 0.9539 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.701e-05/0.7238, allocations: 5.25 kB / 0.9539 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.7238, allocations: 1.312 kB / 0.9539 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.338e-05/0.7238, allocations: 0 / 0.9539 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.991e-05/0.7239, allocations: 7.828 kB / 0.9539 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.513e-06/0.7239, allocations: 1.062 kB / 0.9539 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.702e-05/0.7239, allocations: 10.34 kB / 0.9539 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.397e-06/0.724, allocations: 5 kB / 0.9539 GB, free: 4.633 MB / 0.7169 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 5.764e-05/0.724, allocations: 115.4 kB / 0.954 GB, free: 4.512 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.739e-05/0.7241, allocations: 2.219 kB / 0.954 GB, free: 4.512 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001564/0.7242, allocations: 66.58 kB / 0.9541 GB, free: 4.453 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.997e-06/0.7242, allocations: 0 / 0.9541 GB, free: 4.453 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.7242, allocations: 1.531 kB / 0.9541 GB, free: 4.453 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.7242, allocations: 3.938 kB / 0.9541 GB, free: 4.449 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001275/0.7244, allocations: 173.5 kB / 0.9543 GB, free: 4.238 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.7244, allocations: 0 / 0.9543 GB, free: 4.238 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.236e-05/0.7244, allocations: 7.969 kB / 0.9543 GB, free: 4.234 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.7244, allocations: 1.188 kB / 0.9543 GB, free: 4.234 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.754e-06/0.7245, allocations: 0 / 0.9543 GB, free: 4.234 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.606e-06/0.7245, allocations: 1.031 kB / 0.9543 GB, free: 4.234 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.7245, allocations: 3.938 kB / 0.9543 GB, free: 4.23 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001379/0.7246, allocations: 158.6 kB / 0.9544 GB, free: 4.078 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.495e-05/0.7246, allocations: 78.67 kB / 0.9545 GB, free: 3.984 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.614e-05/0.7247, allocations: 4 kB / 0.9545 GB, free: 3.98 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.114e-05/0.7247, allocations: 5.375 kB / 0.9545 GB, free: 3.977 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.873e-05/0.7248, allocations: 5.547 kB / 0.9545 GB, free: 3.973 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.252e-06/0.7248, allocations: 1.438 kB / 0.9545 GB, free: 3.973 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.057e-05/0.7248, allocations: 98.23 kB / 0.9546 GB, free: 3.887 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7248, allocations: 0 / 0.9546 GB, free: 3.887 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002292/0.7251, allocations: 9.625 kB / 0.9546 GB, free: 3.887 MB / 0.7169 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.0003637/0.7254, allocations: 0.6922 MB / 0.9553 GB, free: 3.207 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001315/0.7256, allocations: 26.45 kB / 0.9553 GB, free: 3.195 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.7256, allocations: 0 / 0.9553 GB, free: 3.195 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 4.656e-05/0.7256, allocations: 16.33 kB / 0.9553 GB, free: 3.188 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002211/0.7259, allocations: 9.219 kB / 0.9553 GB, free: 3.18 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001097/0.727, allocations: 1.316 MB / 0.9566 GB, free: 1.914 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001195/0.7271, allocations: 0.6844 MB / 0.9573 GB, free: 1.211 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.69e-05/0.7271, allocations: 1.438 kB / 0.9573 GB, free: 1.211 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.312e-05/0.7272, allocations: 21.14 kB / 0.9573 GB, free: 1.191 MB / 0.7169 GB Notification: Performance of SimCode: time 5.01e-07/0.7272, allocations: 1.344 kB / 0.9573 GB, free: 1.191 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02678/0.754, allocations: 1.329 MB / 0.9586 GB, free: 0.5 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001768/0.7542, allocations: 184.4 kB / 0.9588 GB, free: 252 kB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.682/2.436, allocations: 1.156 kB / 0.9588 GB, free: 252 kB / 0.7169 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