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 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.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.001503/0.001503, allocations: 103 kB / 15.06 MB, free: 1.098 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.002046/0.002047, allocations: 173.3 kB / 15.95 MB, free: 212 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.541/2.541, allocations: 223.2 MB / 239.9 MB, free: 5.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 4.77/4.77, allocations: 409.2 MB / 0.6838 GB, free: 1.039 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0006276/0.0006276, allocations: 8 kB / 0.8375 GB, free: 6.566 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.6/1.6, allocations: 146.8 MB / 0.9809 GB, free: 6.289 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Splice): time 0.004025/1.604, allocations: 1.194 MB / 0.982 GB, free: 5.09 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.002071/1.607, allocations: 0.5975 MB / 0.9826 GB, free: 4.48 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.685e-05/1.607, allocations: 4 kB / 0.9826 GB, free: 4.477 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 4.627e-05/1.607, allocations: 3.938 kB / 0.9826 GB, free: 4.473 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001122/1.607, allocations: 7.969 kB / 0.9826 GB, free: 4.465 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006287/1.608, allocations: 51.83 kB / 0.9827 GB, free: 4.414 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001174/1.608, allocations: 23.95 kB / 0.9827 GB, free: 4.391 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000179/1.608, allocations: 15.98 kB / 0.9827 GB, free: 4.375 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001359/1.608, allocations: 11.94 kB / 0.9827 GB, free: 4.363 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001142/1.608, allocations: 19.86 kB / 0.9828 GB, free: 4.344 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.739e-05/1.608, allocations: 0 / 0.9828 GB, free: 4.344 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000338/1.609, allocations: 91.89 kB / 0.9828 GB, free: 4.254 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.253e-05/1.609, allocations: 7.938 kB / 0.9828 GB, free: 4.246 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 4.333e-05/1.609, allocations: 25.7 kB / 0.9829 GB, free: 4.215 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002418/1.609, allocations: 62.16 kB / 0.9829 GB, free: 4.156 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/1.609, allocations: 0 / 0.9829 GB, free: 4.156 MB / 0.7325 GB Notification: Performance of FrontEnd: time 3.346e-06/1.609, allocations: 4 kB / 0.9829 GB, free: 4.152 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.993e-06/1.609, allocations: 0 / 0.9829 GB, free: 4.152 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0008095/1.61, allocations: 359.2 kB / 0.9833 GB, free: 3.754 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 7.315e-05/1.61, allocations: 12.03 kB / 0.9833 GB, free: 3.742 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.79e-05/1.61, allocations: 30.56 kB / 0.9833 GB, free: 3.703 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.587e-05/1.61, allocations: 4 kB / 0.9833 GB, free: 3.699 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002619/1.61, allocations: 174.8 kB / 0.9835 GB, free: 3.488 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.438e-05/1.61, allocations: 8 kB / 0.9835 GB, free: 3.48 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.185e-05/1.61, allocations: 4 kB / 0.9835 GB, free: 3.477 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003334/1.611, allocations: 61.62 kB / 0.9836 GB, free: 3.41 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.624e-05/1.611, allocations: 0 / 0.9836 GB, free: 3.41 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.707e-05/1.611, allocations: 0 / 0.9836 GB, free: 3.41 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.486e-06/1.611, allocations: 0 / 0.9836 GB, free: 3.41 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001817/1.611, allocations: 27.98 kB / 0.9836 GB, free: 3.383 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000701/1.612, allocations: 288.7 kB / 0.9839 GB, free: 3.051 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000141/1.612, allocations: 26.58 kB / 0.9839 GB, free: 3.016 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007302/1.613, allocations: 0.57 MB / 0.9844 GB, free: 2.316 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.269e-05/1.613, allocations: 34.56 kB / 0.9845 GB, free: 2.273 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 3.877e-06/1.613, allocations: 0 / 0.9845 GB, free: 2.273 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2): time 0.0004258/1.613, allocations: 77.55 kB / 0.9846 GB, free: 2.191 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.238e-05/1.613, allocations: 51.41 kB / 0.9846 GB, free: 2.129 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001708/1.613, allocations: 117.8 kB / 0.9847 GB, free: 2.004 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.379e-05/1.613, allocations: 29.83 kB / 0.9847 GB, free: 1.969 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001024/1.614, allocations: 92.12 kB / 0.9848 GB, free: 1.875 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.808e-05/1.614, allocations: 3.906 kB / 0.9848 GB, free: 1.871 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.678e-06/1.614, allocations: 0 / 0.9848 GB, free: 1.871 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001868/1.614, allocations: 314.8 kB / 0.9851 GB, free: 1.555 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.537e-05/1.614, allocations: 11.98 kB / 0.9851 GB, free: 1.543 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.129e-05/1.614, allocations: 12 kB / 0.9852 GB, free: 1.531 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.612e-05/1.614, allocations: 16.05 kB / 0.9852 GB, free: 1.516 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.432e-06/1.614, allocations: 3.953 kB / 0.9852 GB, free: 1.512 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002247/1.614, allocations: 69.53 kB / 0.9852 GB, free: 1.438 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.855e-05/1.614, allocations: 4 kB / 0.9852 GB, free: 1.434 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.808e-06/1.614, allocations: 0 / 0.9852 GB, free: 1.434 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.356e-05/1.614, allocations: 0 / 0.9852 GB, free: 1.434 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000124/1.614, allocations: 12.02 kB / 0.9853 GB, free: 1.422 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.162e-05/1.614, allocations: 0 / 0.9853 GB, free: 1.422 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.186e-05/1.615, allocations: 4 kB / 0.9853 GB, free: 1.418 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.807e-05/1.615, allocations: 4 kB / 0.9853 GB, free: 1.414 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 (2): * Single equations (assignments): 2 * 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.0001127/1.615, allocations: 109.8 kB / 0.9854 GB, free: 1.297 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.462e-05/1.615, allocations: 11.86 kB / 0.9854 GB, free: 1.285 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002619/1.615, allocations: 69.2 kB / 0.9854 GB, free: 1.211 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.237e-06/1.615, allocations: 0 / 0.9854 GB, free: 1.211 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.225e-06/1.615, allocations: 0 / 0.9854 GB, free: 1.211 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.404e-06/1.615, allocations: 0 / 0.9854 GB, free: 1.211 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002951/1.615, allocations: 173.6 kB / 0.9856 GB, free: 0.9922 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/1.615, allocations: 0 / 0.9856 GB, free: 0.9922 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.44e-05/1.615, allocations: 11.94 kB / 0.9856 GB, free: 0.9805 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.362e-06/1.615, allocations: 4 kB / 0.9856 GB, free: 0.9766 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.123e-05/1.616, allocations: 0 / 0.9856 GB, free: 0.9766 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/1.616, allocations: 0 / 0.9856 GB, free: 0.9766 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.037e-06/1.616, allocations: 4.031 kB / 0.9856 GB, free: 0.9727 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002753/1.616, allocations: 155.5 kB / 0.9858 GB, free: 0.8047 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 7.919e-05/1.616, allocations: 85.02 kB / 0.9859 GB, free: 0.7031 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.596e-05/1.616, allocations: 7.938 kB / 0.9859 GB, free: 0.6953 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.248e-05/1.616, allocations: 4 kB / 0.9859 GB, free: 0.6914 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.491e-05/1.616, allocations: 8.016 kB / 0.9859 GB, free: 0.6836 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.82e-06/1.616, allocations: 0 / 0.9859 GB, free: 0.6836 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 8.865e-05/1.616, allocations: 99.2 kB / 0.986 GB, free: 0.5859 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.6e-07/1.616, allocations: 0 / 0.986 GB, free: 0.5859 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004102/1.617, allocations: 12 kB / 0.986 GB, free: 0.5742 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 (2): * Single equations (assignments): 2 * 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.0008777/1.618, allocations: 0.6929 MB / 0.9867 GB, free: 15.85 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.00021/1.618, allocations: 23.98 kB / 0.9867 GB, free: 15.83 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.634e-06/1.618, allocations: 0 / 0.9867 GB, free: 15.83 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 8.418e-05/1.618, allocations: 15.94 kB / 0.9867 GB, free: 15.81 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003023/1.618, allocations: 10.28 kB / 0.9867 GB, free: 15.8 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001458/1.62, allocations: 466.9 kB / 0.9872 GB, free: 15.3 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004389/1.62, allocations: 0.6926 MB / 0.9878 GB, free: 14.59 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 4.897e-05/1.62, allocations: 0 / 0.9878 GB, free: 14.59 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.677e-05/1.62, allocations: 19.38 kB / 0.9879 GB, free: 14.57 MB / 0.7481 GB Notification: Performance of SimCode: time 1.482e-06/1.62, allocations: 0 / 0.9879 GB, free: 14.57 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02066/1.641, allocations: 1.248 MB / 0.9891 GB, free: 13.43 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000545/1.642, allocations: 172.7 kB / 0.9892 GB, free: 13.19 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.976/4.618, allocations: 0 / 0.9892 GB, free: 13.19 MB / 0.7481 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/linux/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) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Utilities.Math.Examples.Splice_res.mat does not exist to compare? outputFormat=mat