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.0008314/0.0008314, allocations: 86.48 kB / 15.06 MB, free: 1.09 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.0009666/0.0009667, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 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: 223.3 MB / 240 MB, free: 5.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.462/2.462, allocations: 409.4 MB / 0.684 GB, free: 0.8633 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003351/0.0003351, allocations: 12 kB / 0.8378 GB, free: 6.473 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7283/0.7286, allocations: 146.8 MB / 0.9812 GB, free: 6.258 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunction): time 0.0007185/0.7294, allocations: 325.5 kB / 0.9815 GB, free: 5.938 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001382/0.7308, allocations: 1.2 MB / 0.9826 GB, free: 4.723 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.437e-06/0.7308, allocations: 0 / 0.9826 GB, free: 4.723 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 8.987e-06/0.7308, allocations: 0 / 0.9826 GB, free: 4.723 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 5.61e-06/0.7308, allocations: 0 / 0.9826 GB, free: 4.723 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.000264/0.7311, allocations: 43.83 kB / 0.9827 GB, free: 4.676 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 3.656e-05/0.7311, allocations: 4 kB / 0.9827 GB, free: 4.672 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 3.535e-05/0.7312, allocations: 3.984 kB / 0.9827 GB, free: 4.668 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 1.259e-05/0.7312, allocations: 0 / 0.9827 GB, free: 4.668 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 4.264e-05/0.7312, allocations: 3.984 kB / 0.9827 GB, free: 4.664 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 8.065e-06/0.7313, allocations: 4 kB / 0.9827 GB, free: 4.66 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002195/0.7315, allocations: 95.91 kB / 0.9828 GB, free: 4.566 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 9.558e-06/0.7315, allocations: 3.984 kB / 0.9828 GB, free: 4.562 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.142e-05/0.7315, allocations: 25.7 kB / 0.9828 GB, free: 4.531 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 8.537e-05/0.7316, allocations: 35.97 kB / 0.9828 GB, free: 4.496 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.7316, allocations: 0 / 0.9828 GB, free: 4.496 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.813e-06/0.7316, allocations: 0 / 0.9828 GB, free: 4.496 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 3.237e-06/0.7317, allocations: 0 / 0.9828 GB, free: 4.496 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.0003636/0.732, allocations: 319.4 kB / 0.9832 GB, free: 4.137 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.824e-05/0.7321, allocations: 16.03 kB / 0.9832 GB, free: 4.121 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.304e-05/0.7321, allocations: 30.56 kB / 0.9832 GB, free: 4.082 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.838e-05/0.7321, allocations: 3.906 kB / 0.9832 GB, free: 4.078 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.722e-05/0.7322, allocations: 163 kB / 0.9834 GB, free: 3.879 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.283e-06/0.7322, allocations: 7.875 kB / 0.9834 GB, free: 3.871 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.716e-06/0.7323, allocations: 0 / 0.9834 GB, free: 3.871 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.935e-05/0.7323, allocations: 41.64 kB / 0.9834 GB, free: 3.824 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.033e-06/0.7324, allocations: 0 / 0.9834 GB, free: 3.824 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.312e-06/0.7324, allocations: 0 / 0.9834 GB, free: 3.824 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.7324, allocations: 0 / 0.9834 GB, free: 3.824 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.884e-05/0.7324, allocations: 4 kB / 0.9834 GB, free: 3.82 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000124/0.7325, allocations: 149.7 kB / 0.9836 GB, free: 3.625 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 3.79e-05/0.7326, allocations: 18.52 kB / 0.9836 GB, free: 3.598 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.608e-05/0.7326, allocations: 8.859 kB / 0.9836 GB, free: 3.586 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005225/0.7331, allocations: 0.5662 MB / 0.9841 GB, free: 2.891 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.339e-05/0.7332, allocations: 30.56 kB / 0.9842 GB, free: 2.852 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=1): time 1.122e-06/0.7332, allocations: 0 / 0.9842 GB, free: 2.852 MB / 0.7325 GB Notification: Performance of matching and sorting (n=1): time 0.0001301/0.7333, allocations: 45.64 kB / 0.9842 GB, free: 2.801 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.435e-05/0.7333, allocations: 51.41 kB / 0.9843 GB, free: 2.738 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.181e-05/0.7334, allocations: 89.86 kB / 0.9843 GB, free: 2.641 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.175e-05/0.7334, allocations: 25.7 kB / 0.9844 GB, free: 2.609 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 2.763e-05/0.7335, allocations: 84.2 kB / 0.9844 GB, free: 2.523 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.58e-05/0.7335, allocations: 4 kB / 0.9844 GB, free: 2.52 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.355e-06/0.7335, allocations: 0 / 0.9844 GB, free: 2.52 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001189/0.7336, allocations: 314.8 kB / 0.9847 GB, free: 2.203 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.725e-06/0.7336, allocations: 0 / 0.9847 GB, free: 2.203 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.588e-06/0.7336, allocations: 0 / 0.9847 GB, free: 2.203 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.485e-05/0.7337, allocations: 0 / 0.9847 GB, free: 2.203 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.7337, allocations: 4 kB / 0.9847 GB, free: 2.199 MB / 0.7325 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.168e-05/0.7337, allocations: 37.69 kB / 0.9848 GB, free: 2.156 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.572e-05/0.7338, allocations: 8.094 kB / 0.9848 GB, free: 2.148 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.7338, allocations: 0 / 0.9848 GB, free: 2.148 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.076e-05/0.7338, allocations: 0 / 0.9848 GB, free: 2.148 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.642e-05/0.7338, allocations: 7.953 kB / 0.9848 GB, free: 2.141 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/0.7338, allocations: 0 / 0.9848 GB, free: 2.141 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.015e-05/0.7339, allocations: 0 / 0.9848 GB, free: 2.141 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.42e-06/0.7339, allocations: 0 / 0.9848 GB, free: 2.141 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 6.607e-05/0.7339, allocations: 113.8 kB / 0.9849 GB, free: 2.02 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.861e-06/0.7339, allocations: 0 / 0.9849 GB, free: 2.02 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.299e-05/0.734, allocations: 47.06 kB / 0.985 GB, free: 1.973 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.7341, allocations: 3.938 kB / 0.985 GB, free: 1.969 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.7341, allocations: 3.953 kB / 0.985 GB, free: 1.965 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.014e-06/0.7341, allocations: 0 / 0.985 GB, free: 1.965 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.584e-05/0.7342, allocations: 149.7 kB / 0.9851 GB, free: 1.77 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.01e-07/0.7342, allocations: 0 / 0.9851 GB, free: 1.77 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.344e-05/0.7342, allocations: 0 / 0.9851 GB, free: 1.77 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.457e-06/0.7342, allocations: 7.922 kB / 0.9851 GB, free: 1.762 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.107e-06/0.7342, allocations: 4 kB / 0.9851 GB, free: 1.758 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/0.7342, allocations: 4.031 kB / 0.9851 GB, free: 1.754 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.7342, allocations: 0 / 0.9851 GB, free: 1.754 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.29e-05/0.7343, allocations: 61.03 kB / 0.9852 GB, free: 1.676 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 3.244e-05/0.7343, allocations: 81.09 kB / 0.9853 GB, free: 1.578 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.257e-06/0.7343, allocations: 4 kB / 0.9853 GB, free: 1.574 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.787e-06/0.7344, allocations: 0 / 0.9853 GB, free: 1.574 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.209e-05/0.7344, allocations: 0 / 0.9853 GB, free: 1.574 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.854e-06/0.7344, allocations: 4.031 kB / 0.9853 GB, free: 1.57 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 2.624e-05/0.7344, allocations: 75.28 kB / 0.9853 GB, free: 1.496 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7344, allocations: 0 / 0.9853 GB, free: 1.496 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.000188/0.7346, allocations: 11.95 kB / 0.9853 GB, free: 1.484 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.0003881/0.735, allocations: 0.6046 MB / 0.9859 GB, free: 0.8516 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 6.669e-05/0.7351, allocations: 8 kB / 0.9859 GB, free: 0.8438 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.7351, allocations: 0 / 0.9859 GB, free: 0.8438 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 5.871e-06/0.7351, allocations: 0 / 0.9859 GB, free: 0.8438 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001379/0.7353, allocations: 9.391 kB / 0.986 GB, free: 0.8359 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002866/0.7355, allocations: 104.5 kB / 0.9861 GB, free: 0.6953 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002594/0.7358, allocations: 0.677 MB / 0.9867 GB, free: 15.99 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 2.302e-05/0.7358, allocations: 4.125 kB / 0.9867 GB, free: 15.99 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.458e-05/0.7359, allocations: 7.438 kB / 0.9867 GB, free: 15.98 MB / 0.7481 GB Notification: Performance of SimCode: time 2.41e-07/0.7359, allocations: 0 / 0.9867 GB, free: 15.98 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01109/0.747, allocations: 0.8417 MB / 0.9875 GB, free: 15.29 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000239/0.7473, allocations: 196.4 kB / 0.9877 GB, free: 15.05 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.737/2.485, allocations: 3.938 kB / 0.9877 GB, free: 15.04 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