Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings_Utilities_Math_Examples_Splice",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Splice,fileNamePrefix="Buildings_latest_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.004696/0.004696, allocations: 103.5 kB / 15.73 MB, free: 6.492 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.001495/0.001495, allocations: 188.1 kB / 16.67 MB, free: 6.379 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.417/1.417, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.868/2.868, allocations: 461.9 MB / 0.7348 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001427/0.001428, allocations: 63.91 kB / 1.054 GB, free: 7.629 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3434/0.3448, allocations: 157.4 MB / 1.207 GB, free: 10.13 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Splice): time 0.003304/0.3482, allocations: 1.494 MB / 1.209 GB, free: 8.621 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001181/0.3494, allocations: 0.6547 MB / 1.209 GB, free: 7.961 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.807e-05/0.3494, allocations: 0 / 1.209 GB, free: 7.961 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.27e-05/0.3495, allocations: 7.938 kB / 1.209 GB, free: 7.953 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 6.186e-05/0.3496, allocations: 11.92 kB / 1.209 GB, free: 7.941 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004001/0.35, allocations: 79.72 kB / 1.209 GB, free: 7.863 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 9.954e-05/0.3501, allocations: 31.92 kB / 1.209 GB, free: 7.832 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001038/0.3502, allocations: 15.94 kB / 1.21 GB, free: 7.816 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 7.782e-05/0.3503, allocations: 15.92 kB / 1.21 GB, free: 7.801 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 7.106e-05/0.3504, allocations: 23.86 kB / 1.21 GB, free: 7.777 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.461e-05/0.3504, allocations: 4 kB / 1.21 GB, free: 7.773 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002028/0.3506, allocations: 99.89 kB / 1.21 GB, free: 7.676 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.736e-05/0.3506, allocations: 4 kB / 1.21 GB, free: 7.672 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.636e-05/0.3507, allocations: 23.86 kB / 1.21 GB, free: 7.648 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002195/0.3509, allocations: 88.05 kB / 1.21 GB, free: 7.562 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 1.059e-05/0.3509, allocations: 4 kB / 1.21 GB, free: 7.559 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.054e-06/0.3509, allocations: 0 / 1.21 GB, free: 7.559 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.133e-05/0.3509, allocations: 0 / 1.21 GB, free: 7.559 MB / 0.9669 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.0005512/0.3515, allocations: 363.2 kB / 1.21 GB, free: 7.156 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 5.04e-05/0.3515, allocations: 16.61 kB / 1.21 GB, free: 7.141 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.389e-05/0.3516, allocations: 34.75 kB / 1.21 GB, free: 7.098 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.309e-05/0.3516, allocations: 4.938 kB / 1.21 GB, free: 7.094 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001457/0.3518, allocations: 168.2 kB / 1.21 GB, free: 6.891 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.414e-05/0.3518, allocations: 4.375 kB / 1.21 GB, free: 6.887 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.119e-05/0.3518, allocations: 384 / 1.21 GB, free: 6.887 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000177/0.352, allocations: 57.8 kB / 1.21 GB, free: 6.824 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.257e-06/0.352, allocations: 4 kB / 1.21 GB, free: 6.82 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.277e-06/0.352, allocations: 0 / 1.21 GB, free: 6.82 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.3521, allocations: 4 kB / 1.21 GB, free: 6.816 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001029/0.3522, allocations: 27.98 kB / 1.21 GB, free: 6.789 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004117/0.3526, allocations: 280.7 kB / 1.211 GB, free: 6.465 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 9.517e-05/0.3527, allocations: 34.56 kB / 1.211 GB, free: 6.422 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.8e-05/0.3528, allocations: 8.922 kB / 1.211 GB, free: 6.41 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00052/0.3533, allocations: 0.5661 MB / 1.211 GB, free: 5.715 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.812e-05/0.3533, allocations: 30.56 kB / 1.211 GB, free: 5.676 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 2.054e-06/0.3533, allocations: 0 / 1.211 GB, free: 5.676 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0002735/0.3536, allocations: 69.52 kB / 1.211 GB, free: 5.602 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.656e-05/0.3537, allocations: 51.53 kB / 1.211 GB, free: 5.539 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001078/0.3538, allocations: 133.7 kB / 1.212 GB, free: 5.398 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.542e-05/0.3538, allocations: 29.64 kB / 1.212 GB, free: 5.363 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 4.928e-05/0.3538, allocations: 92.12 kB / 1.212 GB, free: 5.27 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.924e-05/0.3539, allocations: 3.906 kB / 1.212 GB, free: 5.266 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.738e-05/0.3539, allocations: 13.72 kB / 1.212 GB, free: 5.246 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.000131/0.3541, allocations: 322.8 kB / 1.212 GB, free: 4.922 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.699e-05/0.3541, allocations: 12 kB / 1.212 GB, free: 4.91 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.516e-05/0.3542, allocations: 11.98 kB / 1.212 GB, free: 4.898 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.774e-05/0.3542, allocations: 24.84 kB / 1.212 GB, free: 4.871 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.3542, allocations: 4 kB / 1.212 GB, free: 4.867 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001255/0.3544, allocations: 57.62 kB / 1.212 GB, free: 4.805 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.568e-05/0.3544, allocations: 4 kB / 1.212 GB, free: 4.801 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.119e-06/0.3544, allocations: 3.938 kB / 1.212 GB, free: 4.797 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.529e-05/0.3544, allocations: 0 / 1.212 GB, free: 4.797 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.245e-05/0.3545, allocations: 8.094 kB / 1.212 GB, free: 4.789 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.036e-05/0.3545, allocations: 3.984 kB / 1.212 GB, free: 4.785 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.874e-05/0.3546, allocations: 4 kB / 1.212 GB, free: 4.781 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.029e-05/0.3546, allocations: 7.938 kB / 1.212 GB, free: 4.773 MB / 0.9669 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.072e-05/0.3547, allocations: 109.8 kB / 1.212 GB, free: 4.656 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.822e-05/0.3547, allocations: 3.906 kB / 1.212 GB, free: 4.652 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001707/0.3549, allocations: 69.14 kB / 1.212 GB, free: 4.574 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.3549, allocations: 4.031 kB / 1.212 GB, free: 4.57 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.441e-06/0.3549, allocations: 0 / 1.212 GB, free: 4.57 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.405e-06/0.3549, allocations: 0 / 1.212 GB, free: 4.57 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001784/0.3551, allocations: 169.6 kB / 1.212 GB, free: 4.355 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.634e-06/0.3551, allocations: 0 / 1.212 GB, free: 4.355 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.773e-05/0.3552, allocations: 7.984 kB / 1.212 GB, free: 4.348 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.454e-06/0.3552, allocations: 0 / 1.212 GB, free: 4.348 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.953e-06/0.3552, allocations: 0 / 1.212 GB, free: 4.348 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.3552, allocations: 0 / 1.212 GB, free: 4.348 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.3552, allocations: 0 / 1.212 GB, free: 4.348 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001848/0.3554, allocations: 159.4 kB / 1.213 GB, free: 4.176 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.359e-05/0.3554, allocations: 77.11 kB / 1.213 GB, free: 4.082 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.873e-05/0.3555, allocations: 11.94 kB / 1.213 GB, free: 4.07 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.49e-05/0.3555, allocations: 0 / 1.213 GB, free: 4.07 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.378e-05/0.3556, allocations: 3.984 kB / 1.213 GB, free: 4.066 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.692e-06/0.3556, allocations: 4 kB / 1.213 GB, free: 4.062 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 6.565e-05/0.3557, allocations: 95.2 kB / 1.213 GB, free: 3.969 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.7e-07/0.3557, allocations: 4.031 kB / 1.213 GB, free: 3.965 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002452/0.3559, allocations: 19.98 kB / 1.213 GB, free: 3.945 MB / 0.9669 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.0004763/0.3564, allocations: 0.6851 MB / 1.213 GB, free: 3.234 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001408/0.3566, allocations: 31.89 kB / 1.214 GB, free: 3.203 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.3566, allocations: 0 / 1.214 GB, free: 3.203 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 4.879e-05/0.3566, allocations: 12 kB / 1.214 GB, free: 3.191 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002276/0.3569, allocations: 9.5 kB / 1.214 GB, free: 3.184 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001323/0.3582, allocations: 1.317 MB / 1.215 GB, free: 1.789 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002387/0.3584, allocations: 0.6807 MB / 1.216 GB, free: 1.082 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 2.732e-05/0.3585, allocations: 8 kB / 1.216 GB, free: 1.074 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.989e-05/0.3585, allocations: 19.42 kB / 1.216 GB, free: 1.055 MB / 0.9669 GB Notification: Performance of SimCode: time 3.41e-07/0.3585, allocations: 0 / 1.216 GB, free: 1.055 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0199/0.3784, allocations: 1.507 MB / 1.217 GB, free: 15.61 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.666/8.045, allocations: 4.578 kB / 1.217 GB, free: 15.61 MB / 0.9825 GB (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.Splice.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.Splice.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.Splice.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.Splice.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Examples.Splice_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Examples_Splice_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Math_Examples_Splice.fmu > Buildings_latest_Buildings.Utilities.Math.Examples.Splice.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.Splice_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_Splice.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Examples.Splice.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches