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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.004422/0.004422, allocations: 99.34 kB / 15.73 MB, free: 6.008 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.00125/0.00125, allocations: 201.3 kB / 16.68 MB, free: 5.934 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.355/1.355, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.689/2.689, allocations: 482.6 MB / 0.7551 GB, free: 6.633 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.002686/0.002687, allocations: 68.86 kB / 1.083 GB, free: 13.75 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3294/0.3321, allocations: 162.3 MB / 1.242 GB, free: 8.863 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Splice): time 0.002455/0.3346, allocations: 1.498 MB / 1.243 GB, free: 7.352 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0009902/0.3356, allocations: 0.6364 MB / 1.244 GB, free: 6.711 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.862e-05/0.3357, allocations: 3.938 kB / 1.244 GB, free: 6.707 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.589e-05/0.3357, allocations: 3.984 kB / 1.244 GB, free: 6.703 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 4.443e-05/0.3357, allocations: 11.88 kB / 1.244 GB, free: 6.691 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003027/0.336, allocations: 79.72 kB / 1.244 GB, free: 6.613 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 7.003e-05/0.3361, allocations: 35.92 kB / 1.244 GB, free: 6.578 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 7.968e-05/0.3362, allocations: 11.98 kB / 1.244 GB, free: 6.566 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 5.86e-05/0.3363, allocations: 15.94 kB / 1.244 GB, free: 6.551 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 4.942e-05/0.3363, allocations: 15.92 kB / 1.244 GB, free: 6.535 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.419e-05/0.3364, allocations: 11.98 kB / 1.244 GB, free: 6.523 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001814/0.3365, allocations: 95.84 kB / 1.244 GB, free: 6.43 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.647e-05/0.3366, allocations: 11.92 kB / 1.244 GB, free: 6.418 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.049e-05/0.3366, allocations: 23.92 kB / 1.244 GB, free: 6.395 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001599/0.3368, allocations: 83.92 kB / 1.244 GB, free: 6.312 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 2.655e-06/0.3368, allocations: 4 kB / 1.244 GB, free: 6.309 MB / 0.9669 GB Notification: Performance of FrontEnd: time 8.32e-07/0.3368, allocations: 0 / 1.244 GB, free: 6.309 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 3.967e-06/0.3368, allocations: 0 / 1.244 GB, free: 6.309 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.0004204/0.3372, allocations: 363.2 kB / 1.245 GB, free: 5.906 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.418e-05/0.3373, allocations: 16.03 kB / 1.245 GB, free: 5.891 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.904e-05/0.3373, allocations: 30.75 kB / 1.245 GB, free: 5.852 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.008e-05/0.3373, allocations: 12.89 kB / 1.245 GB, free: 5.84 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001266/0.3375, allocations: 168.3 kB / 1.245 GB, free: 5.637 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.687e-05/0.3375, allocations: 4.375 kB / 1.245 GB, free: 5.633 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.052e-05/0.3375, allocations: 384 / 1.245 GB, free: 5.633 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001435/0.3376, allocations: 65.72 kB / 1.245 GB, free: 5.562 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.943e-06/0.3377, allocations: 0 / 1.245 GB, free: 5.562 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.708e-06/0.3377, allocations: 4 kB / 1.245 GB, free: 5.559 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.747e-06/0.3377, allocations: 3.938 kB / 1.245 GB, free: 5.555 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.303e-05/0.3378, allocations: 31.98 kB / 1.245 GB, free: 5.523 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003372/0.3381, allocations: 276.8 kB / 1.245 GB, free: 5.203 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 8.942e-05/0.3382, allocations: 34.5 kB / 1.245 GB, free: 5.16 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.14e-05/0.3383, allocations: 16.91 kB / 1.245 GB, free: 5.141 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005016/0.3388, allocations: 0.5622 MB / 1.246 GB, free: 4.449 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.337e-05/0.3388, allocations: 34.56 kB / 1.246 GB, free: 4.406 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/0.3388, allocations: 0 / 1.246 GB, free: 4.406 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0002301/0.3391, allocations: 69.56 kB / 1.246 GB, free: 4.332 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.213e-05/0.3391, allocations: 51.41 kB / 1.246 GB, free: 4.27 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001032/0.3392, allocations: 126 kB / 1.246 GB, free: 4.137 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.361e-05/0.3392, allocations: 25.7 kB / 1.246 GB, free: 4.105 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.039e-05/0.3393, allocations: 92.14 kB / 1.246 GB, free: 4.012 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.279e-05/0.3393, allocations: 3.953 kB / 1.246 GB, free: 4.008 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.236e-05/0.3393, allocations: 13.72 kB / 1.246 GB, free: 3.988 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.000127/0.3395, allocations: 322.8 kB / 1.247 GB, free: 3.664 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.001e-05/0.3395, allocations: 4 kB / 1.247 GB, free: 3.66 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.991e-05/0.3396, allocations: 15.98 kB / 1.247 GB, free: 3.645 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.971e-05/0.3397, allocations: 28.91 kB / 1.247 GB, free: 3.613 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.3397, allocations: 0 / 1.247 GB, free: 3.613 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001209/0.3398, allocations: 57.58 kB / 1.247 GB, free: 3.551 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.322e-05/0.3398, allocations: 9.875 kB / 1.247 GB, free: 3.543 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.627e-06/0.3398, allocations: 0 / 1.247 GB, free: 3.543 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.172e-05/0.3398, allocations: 0 / 1.247 GB, free: 3.543 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.014e-05/0.3399, allocations: 7.984 kB / 1.247 GB, free: 3.535 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.948e-06/0.3399, allocations: 0 / 1.247 GB, free: 3.535 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.65e-05/0.34, allocations: 11.97 kB / 1.247 GB, free: 3.523 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.135e-06/0.34, allocations: 3.938 kB / 1.247 GB, free: 3.52 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 7.556e-05/0.34, allocations: 109.8 kB / 1.247 GB, free: 3.402 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.627e-05/0.3401, allocations: 7.953 kB / 1.247 GB, free: 3.395 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000151/0.3402, allocations: 61.2 kB / 1.247 GB, free: 3.328 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.3402, allocations: 0 / 1.247 GB, free: 3.328 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.77e-06/0.3403, allocations: 4 kB / 1.247 GB, free: 3.324 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.974e-06/0.3403, allocations: 7.969 kB / 1.247 GB, free: 3.316 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001754/0.3404, allocations: 169.6 kB / 1.247 GB, free: 3.102 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.3405, allocations: 0 / 1.247 GB, free: 3.102 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.117e-05/0.3405, allocations: 4 kB / 1.247 GB, free: 3.098 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.506e-06/0.3405, allocations: 0 / 1.247 GB, free: 3.098 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.851e-06/0.3405, allocations: 3.938 kB / 1.247 GB, free: 3.094 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.3405, allocations: 0 / 1.247 GB, free: 3.094 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.3405, allocations: 0 / 1.247 GB, free: 3.094 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001737/0.3407, allocations: 163.5 kB / 1.247 GB, free: 2.918 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.524e-05/0.3408, allocations: 85 kB / 1.247 GB, free: 2.816 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.127e-05/0.3408, allocations: 0 / 1.247 GB, free: 2.816 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.2e-05/0.3408, allocations: 4 kB / 1.247 GB, free: 2.812 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.148e-05/0.3409, allocations: 11.97 kB / 1.247 GB, free: 2.801 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.256e-06/0.3409, allocations: 0 / 1.247 GB, free: 2.801 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 6.118e-05/0.341, allocations: 99.2 kB / 1.247 GB, free: 2.703 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.3e-07/0.341, allocations: 0 / 1.247 GB, free: 2.703 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002231/0.3412, allocations: 8 kB / 1.247 GB, free: 2.695 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.0004905/0.3417, allocations: 0.6973 MB / 1.248 GB, free: 1.973 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001236/0.3418, allocations: 27.98 kB / 1.248 GB, free: 1.945 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 3.868e-06/0.3418, allocations: 4.094 kB / 1.248 GB, free: 1.941 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 5.12e-05/0.3419, allocations: 19.92 kB / 1.248 GB, free: 1.922 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001966/0.3421, allocations: 0.7656 kB / 1.248 GB, free: 1.922 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001269/0.3434, allocations: 1.297 MB / 1.249 GB, free: 0.543 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003021/0.3437, allocations: 0.6807 MB / 1.25 GB, free: 15.84 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.684e-05/0.3437, allocations: 7.984 kB / 1.25 GB, free: 15.83 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.092e-05/0.3438, allocations: 15.44 kB / 1.25 GB, free: 15.81 MB / 0.9825 GB Notification: Performance of SimCode: time 2.3e-07/0.3438, allocations: 0 / 1.25 GB, free: 15.81 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02005/0.3638, allocations: 1.518 MB / 1.252 GB, free: 14.36 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.327/8.69, allocations: 6.938 kB / 1.252 GB, free: 14.36 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=400 --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