Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.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.Functions.Examples.SpliceFunction,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Functions_Examples_SpliceFunction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.SpliceFunction,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Functions_Examples_SpliceFunction",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.008101/0.008101, allocations: 100.2 kB / 15.73 MB, free: 6.469 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.001854/0.001854, allocations: 193.5 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.481/1.481, allocations: 222.9 MB / 240.4 MB, free: 4.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.777/2.777, allocations: 461.9 MB / 0.7348 GB, free: 14.6 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002113/0.002113, allocations: 63.91 kB / 1.054 GB, free: 7.562 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3426/0.3447, allocations: 157.4 MB / 1.207 GB, free: 10.07 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunction): time 0.001847/0.3466, allocations: 0.5774 MB / 1.208 GB, free: 9.488 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001717/0.3483, allocations: 1.26 MB / 1.209 GB, free: 8.211 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.671e-05/0.3484, allocations: 3.938 kB / 1.209 GB, free: 8.207 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 1.603e-05/0.3484, allocations: 4 kB / 1.209 GB, free: 8.203 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 5.66e-06/0.3484, allocations: 0 / 1.209 GB, free: 8.203 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004408/0.3489, allocations: 67.73 kB / 1.209 GB, free: 8.137 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 4.281e-05/0.3489, allocations: 4 kB / 1.209 GB, free: 8.133 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.2e-05/0.349, allocations: 0 / 1.209 GB, free: 8.133 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 1.594e-05/0.349, allocations: 4 kB / 1.209 GB, free: 8.129 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 4.264e-05/0.349, allocations: 3.938 kB / 1.209 GB, free: 8.125 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 8.696e-06/0.3491, allocations: 4 kB / 1.209 GB, free: 8.121 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002664/0.3493, allocations: 99.88 kB / 1.209 GB, free: 8.023 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 9.618e-06/0.3494, allocations: 0 / 1.209 GB, free: 8.023 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 1.726e-05/0.3494, allocations: 0 / 1.209 GB, free: 8.023 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001486/0.3495, allocations: 51.94 kB / 1.209 GB, free: 7.973 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.61e-06/0.3495, allocations: 0 / 1.209 GB, free: 7.973 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.945e-06/0.3496, allocations: 0 / 1.209 GB, free: 7.973 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.592e-06/0.3496, allocations: 0 / 1.209 GB, free: 7.973 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003527/0.3499, allocations: 327.6 kB / 1.21 GB, free: 7.605 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.628e-05/0.35, allocations: 12.56 kB / 1.21 GB, free: 7.594 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.721e-05/0.35, allocations: 34.75 kB / 1.21 GB, free: 7.551 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.272e-05/0.3501, allocations: 0.9375 kB / 1.21 GB, free: 7.551 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001083/0.3502, allocations: 164.4 kB / 1.21 GB, free: 7.352 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.077e-05/0.3502, allocations: 384 / 1.21 GB, free: 7.352 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.663e-06/0.3502, allocations: 384 / 1.21 GB, free: 7.352 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.543e-05/0.3503, allocations: 33.81 kB / 1.21 GB, free: 7.312 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.073e-06/0.3503, allocations: 0 / 1.21 GB, free: 7.312 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.704e-06/0.3503, allocations: 0 / 1.21 GB, free: 7.312 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.3503, allocations: 4 kB / 1.21 GB, free: 7.309 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.246e-05/0.3504, allocations: 4 kB / 1.21 GB, free: 7.305 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001529/0.3505, allocations: 145.7 kB / 1.21 GB, free: 7.113 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 4.325e-05/0.3506, allocations: 22.55 kB / 1.21 GB, free: 7.082 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.235e-05/0.3506, allocations: 8.797 kB / 1.21 GB, free: 7.07 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006089/0.3512, allocations: 0.5623 MB / 1.211 GB, free: 6.379 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.855e-05/0.3513, allocations: 42.5 kB / 1.211 GB, free: 6.328 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=1): time 1.253e-06/0.3513, allocations: 0 / 1.211 GB, free: 6.328 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1): time 0.0001381/0.3514, allocations: 37.62 kB / 1.211 GB, free: 6.285 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.242e-05/0.3515, allocations: 51.41 kB / 1.211 GB, free: 6.223 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.491e-05/0.3515, allocations: 89.86 kB / 1.211 GB, free: 6.125 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.496e-05/0.3515, allocations: 25.7 kB / 1.211 GB, free: 6.094 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 3.794e-05/0.3516, allocations: 80.14 kB / 1.211 GB, free: 6.012 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.111e-05/0.3516, allocations: 11.91 kB / 1.211 GB, free: 6 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.793e-05/0.3516, allocations: 13.84 kB / 1.211 GB, free: 5.98 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.000113/0.3517, allocations: 310.8 kB / 1.211 GB, free: 5.668 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.908e-06/0.3518, allocations: 3.938 kB / 1.211 GB, free: 5.664 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.473e-06/0.3518, allocations: 4 kB / 1.211 GB, free: 5.66 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.423e-05/0.3518, allocations: 4.859 kB / 1.211 GB, free: 5.652 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.3518, allocations: 4 kB / 1.211 GB, free: 5.648 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.1e-05/0.3519, allocations: 41.62 kB / 1.211 GB, free: 5.602 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.641e-05/0.3519, allocations: 12.03 kB / 1.211 GB, free: 5.59 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.3519, allocations: 0 / 1.211 GB, free: 5.59 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.387e-05/0.3519, allocations: 0 / 1.211 GB, free: 5.59 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.739e-05/0.352, allocations: 8 kB / 1.211 GB, free: 5.582 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.979e-06/0.352, allocations: 0 / 1.211 GB, free: 5.582 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.247e-05/0.352, allocations: 0 / 1.211 GB, free: 5.582 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.859e-06/0.352, allocations: 0 / 1.211 GB, free: 5.582 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 (1): * Single equations (assignments): 1 * 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.718e-05/0.3521, allocations: 109.8 kB / 1.211 GB, free: 5.465 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.788e-06/0.3521, allocations: 3.938 kB / 1.211 GB, free: 5.461 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.649e-05/0.3522, allocations: 48.89 kB / 1.211 GB, free: 5.414 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.3522, allocations: 0 / 1.211 GB, free: 5.414 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.3522, allocations: 0 / 1.211 GB, free: 5.414 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.578e-06/0.3523, allocations: 4 kB / 1.211 GB, free: 5.41 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001061/0.3524, allocations: 149.7 kB / 1.212 GB, free: 5.215 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.3524, allocations: 0 / 1.212 GB, free: 5.215 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.596e-05/0.3524, allocations: 3.938 kB / 1.212 GB, free: 5.211 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.628e-06/0.3524, allocations: 3.938 kB / 1.212 GB, free: 5.207 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.631e-06/0.3524, allocations: 4.031 kB / 1.212 GB, free: 5.203 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.516e-06/0.3524, allocations: 4 kB / 1.212 GB, free: 5.199 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.3524, allocations: 3.938 kB / 1.212 GB, free: 5.195 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.06e-05/0.3525, allocations: 57.12 kB / 1.212 GB, free: 5.121 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.785e-05/0.3526, allocations: 85.05 kB / 1.212 GB, free: 5.02 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.217e-06/0.3526, allocations: 0 / 1.212 GB, free: 5.02 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.728e-06/0.3526, allocations: 0 / 1.212 GB, free: 5.02 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.638e-06/0.3526, allocations: 0 / 1.212 GB, free: 5.02 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.385e-06/0.3526, allocations: 4.031 kB / 1.212 GB, free: 5.016 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 2.819e-05/0.3526, allocations: 75.78 kB / 1.212 GB, free: 4.941 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3527, allocations: 0 / 1.212 GB, free: 4.941 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002119/0.3529, allocations: 12 kB / 1.212 GB, free: 4.93 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 (1): * Single equations (assignments): 1 * 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.0004144/0.3533, allocations: 0.6046 MB / 1.212 GB, free: 4.293 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 7.54e-05/0.3534, allocations: 4 kB / 1.212 GB, free: 4.289 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.3534, allocations: 0 / 1.212 GB, free: 4.289 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 1.151e-05/0.3534, allocations: 7.984 kB / 1.212 GB, free: 4.281 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001362/0.3535, allocations: 1.719 kB / 1.212 GB, free: 4.281 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003485/0.3539, allocations: 122.5 kB / 1.213 GB, free: 4.121 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002772/0.3542, allocations: 0.6729 MB / 1.213 GB, free: 3.422 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 2.662e-05/0.3542, allocations: 12.11 kB / 1.213 GB, free: 3.41 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.688e-05/0.3542, allocations: 7.438 kB / 1.213 GB, free: 3.406 MB / 0.9669 GB Notification: Performance of SimCode: time 2.3e-07/0.3542, allocations: 0 / 1.213 GB, free: 3.406 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0176/0.3719, allocations: 1.035 MB / 1.214 GB, free: 2.477 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.738/8.11, allocations: 2.062 kB / 1.214 GB, free: 2.477 MB / 0.9669 GB (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SpliceFunction_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Functions_Examples_SpliceFunction_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Math_Functions_Examples_SpliceFunction.fmu > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SpliceFunction_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_SpliceFunction.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches