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 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.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.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.001485/0.001485, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001769/0.001769, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.438/2.438, allocations: 223.2 MB / 239.9 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 4.76/4.76, allocations: 409.2 MB / 0.6838 GB, free: 0.9766 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.000671/0.0006711, allocations: 12 kB / 0.8375 GB, free: 6.598 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.501/1.501, allocations: 146.8 MB / 0.9809 GB, free: 6.336 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunction): time 0.001182/1.503, allocations: 313.6 kB / 0.9812 GB, free: 6.027 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.002499/1.505, allocations: 1.204 MB / 0.9824 GB, free: 4.809 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.965e-05/1.505, allocations: 0 / 0.9824 GB, free: 4.809 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.149e-05/1.505, allocations: 0 / 0.9824 GB, free: 4.809 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 7.935e-06/1.505, allocations: 0 / 0.9824 GB, free: 4.809 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004548/1.506, allocations: 39.89 kB / 0.9824 GB, free: 4.77 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 5.085e-05/1.506, allocations: 0 / 0.9824 GB, free: 4.77 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 6.486e-05/1.506, allocations: 3.938 kB / 0.9824 GB, free: 4.766 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 1.986e-05/1.506, allocations: 7.938 kB / 0.9824 GB, free: 4.758 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 6.984e-05/1.506, allocations: 4 kB / 0.9824 GB, free: 4.754 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.069e-05/1.506, allocations: 0 / 0.9824 GB, free: 4.754 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003473/1.506, allocations: 95.88 kB / 0.9825 GB, free: 4.656 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 9.798e-06/1.506, allocations: 0 / 0.9825 GB, free: 4.656 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 4.081e-05/1.506, allocations: 25.7 kB / 0.9825 GB, free: 4.625 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001499/1.507, allocations: 35.95 kB / 0.9826 GB, free: 4.59 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/1.507, allocations: 0 / 0.9826 GB, free: 4.59 MB / 0.7325 GB Notification: Performance of FrontEnd: time 3.947e-06/1.507, allocations: 0 / 0.9826 GB, free: 4.59 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.282e-06/1.507, allocations: 4 kB / 0.9826 GB, free: 4.586 MB / 0.7325 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.0004575/1.507, allocations: 327.4 kB / 0.9829 GB, free: 4.219 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 6.05e-05/1.507, allocations: 8.031 kB / 0.9829 GB, free: 4.211 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.053e-05/1.507, allocations: 30.56 kB / 0.9829 GB, free: 4.172 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.209e-05/1.507, allocations: 3.906 kB / 0.9829 GB, free: 4.168 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001654/1.507, allocations: 159.1 kB / 0.9831 GB, free: 3.973 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.575e-05/1.508, allocations: 0 / 0.9831 GB, free: 3.973 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.969e-06/1.508, allocations: 4 kB / 0.9831 GB, free: 3.969 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001349/1.508, allocations: 33.59 kB / 0.9831 GB, free: 3.93 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.958e-06/1.508, allocations: 0 / 0.9831 GB, free: 3.93 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.61e-05/1.508, allocations: 11.92 kB / 0.9831 GB, free: 3.918 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.294e-06/1.508, allocations: 0 / 0.9831 GB, free: 3.918 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.996e-05/1.508, allocations: 4 kB / 0.9831 GB, free: 3.914 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000248/1.508, allocations: 145.7 kB / 0.9833 GB, free: 3.723 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 6.473e-05/1.508, allocations: 18.61 kB / 0.9833 GB, free: 3.695 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009129/1.509, allocations: 0.5661 MB / 0.9838 GB, free: 3 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.477e-05/1.509, allocations: 38.5 kB / 0.9839 GB, free: 2.953 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=1): time 1.673e-06/1.509, allocations: 0 / 0.9839 GB, free: 2.953 MB / 0.7325 GB Notification: Performance of matching and sorting (n=1): time 0.0002003/1.509, allocations: 37.66 kB / 0.9839 GB, free: 2.91 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.022e-05/1.509, allocations: 51.41 kB / 0.9839 GB, free: 2.848 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.12e-05/1.509, allocations: 89.86 kB / 0.984 GB, free: 2.75 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.25e-05/1.51, allocations: 29.69 kB / 0.9841 GB, free: 2.715 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 4.334e-05/1.51, allocations: 84.27 kB / 0.9841 GB, free: 2.629 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.354e-05/1.51, allocations: 0 / 0.9841 GB, free: 2.629 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.737e-06/1.51, allocations: 4 kB / 0.9841 GB, free: 2.625 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001971/1.51, allocations: 310.8 kB / 0.9844 GB, free: 2.312 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.352e-05/1.51, allocations: 0 / 0.9844 GB, free: 2.312 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.101e-05/1.51, allocations: 4 kB / 0.9844 GB, free: 2.309 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.001e-05/1.51, allocations: 7.938 kB / 0.9845 GB, free: 2.301 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.985e-06/1.51, allocations: 0 / 0.9845 GB, free: 2.301 MB / 0.7325 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.035e-05/1.51, allocations: 33.77 kB / 0.9845 GB, free: 2.262 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.294e-05/1.51, allocations: 4 kB / 0.9845 GB, free: 2.258 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/1.51, allocations: 0 / 0.9845 GB, free: 2.258 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.145e-05/1.51, allocations: 7.984 kB / 0.9845 GB, free: 2.25 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.062e-05/1.51, allocations: 0 / 0.9845 GB, free: 2.25 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.3e-05/1.51, allocations: 7.938 kB / 0.9845 GB, free: 2.242 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.793e-05/1.51, allocations: 0 / 0.9845 GB, free: 2.242 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.326e-06/1.51, allocations: 0 / 0.9845 GB, free: 2.242 MB / 0.7325 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001279/1.51, allocations: 109.8 kB / 0.9846 GB, free: 2.125 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.127e-05/1.51, allocations: 4.031 kB / 0.9846 GB, free: 2.121 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000156/1.511, allocations: 47 kB / 0.9847 GB, free: 2.074 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.454e-06/1.511, allocations: 0 / 0.9847 GB, free: 2.074 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/1.511, allocations: 0 / 0.9847 GB, free: 2.074 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.594e-06/1.511, allocations: 7.953 kB / 0.9847 GB, free: 2.066 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001749/1.511, allocations: 141.7 kB / 0.9848 GB, free: 1.879 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/1.511, allocations: 0 / 0.9848 GB, free: 1.879 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.1e-05/1.511, allocations: 0 / 0.9848 GB, free: 1.879 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.282e-06/1.511, allocations: 4 kB / 0.9848 GB, free: 1.875 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.936e-06/1.511, allocations: 4.031 kB / 0.9848 GB, free: 1.871 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.232e-06/1.511, allocations: 3.984 kB / 0.9848 GB, free: 1.867 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.189e-06/1.511, allocations: 0 / 0.9848 GB, free: 1.867 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000123/1.511, allocations: 61.03 kB / 0.9849 GB, free: 1.789 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 6.033e-05/1.511, allocations: 85.05 kB / 0.985 GB, free: 1.688 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.056e-05/1.511, allocations: 7.938 kB / 0.985 GB, free: 1.68 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.58e-05/1.511, allocations: 0 / 0.985 GB, free: 1.68 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.456e-05/1.511, allocations: 12 kB / 0.985 GB, free: 1.668 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.148e-06/1.511, allocations: 0 / 0.985 GB, free: 1.668 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.809e-05/1.511, allocations: 75.28 kB / 0.985 GB, free: 1.594 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.91e-07/1.511, allocations: 0 / 0.985 GB, free: 1.594 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003777/1.512, allocations: 8 kB / 0.9851 GB, free: 1.586 MB / 0.7325 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006861/1.512, allocations: 0.6086 MB / 0.9856 GB, free: 0.9492 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 9.398e-05/1.513, allocations: 7.938 kB / 0.9857 GB, free: 0.9414 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/1.513, allocations: 0 / 0.9857 GB, free: 0.9414 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.352e-05/1.513, allocations: 8 kB / 0.9857 GB, free: 0.9336 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001532/1.513, allocations: 0 / 0.9857 GB, free: 0.9336 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004922/1.513, allocations: 100.7 kB / 0.9858 GB, free: 0.7969 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004232/1.514, allocations: 0.6692 MB / 0.9864 GB, free: 104 kB / 0.7325 GB Notification: Performance of simCode: alias equations: time 3.571e-05/1.514, allocations: 8.125 kB / 0.9864 GB, free: 96 kB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.398e-05/1.514, allocations: 7.438 kB / 0.9864 GB, free: 88 kB / 0.7325 GB Notification: Performance of SimCode: time 3e-07/1.514, allocations: 0 / 0.9864 GB, free: 88 kB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02429/1.538, allocations: 0.8165 MB / 0.9872 GB, free: 15.41 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003432/1.539, allocations: 201.2 kB / 0.9874 GB, free: 15.16 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.998/4.536, allocations: 0 / 0.9874 GB, free: 15.16 MB / 0.7481 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/linux/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) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SpliceFunction_res.mat does not exist to compare? outputFormat=mat