Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Functions.Examples.CubicHermite.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.CubicHermite,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Functions_Examples_CubicHermite",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.CubicHermite,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Functions_Examples_CubicHermite",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.001257/0.001257, 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.001519/0.001519, allocations: 177.3 kB / 15.95 MB, free: 216 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.89/1.89, allocations: 223.2 MB / 239.9 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 3.47/3.47, allocations: 409.2 MB / 0.6838 GB, free: 0.9453 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0006374/0.0006375, allocations: 12 kB / 0.8375 GB, free: 6.523 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.445/1.446, allocations: 146.8 MB / 0.9809 GB, free: 6.246 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.CubicHermite): time 0.001748/1.448, allocations: 345.6 kB / 0.9812 GB, free: 5.906 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.003319/1.451, allocations: 1.333 MB / 0.9825 GB, free: 4.559 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.846e-05/1.451, allocations: 0 / 0.9825 GB, free: 4.559 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 9.462e-05/1.451, allocations: 0 / 0.9825 GB, free: 4.559 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 7.884e-05/1.451, allocations: 4 kB / 0.9825 GB, free: 4.555 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001066/1.452, allocations: 130.6 kB / 0.9826 GB, free: 4.426 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001115/1.452, allocations: 31.91 kB / 0.9827 GB, free: 4.395 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 8.02e-05/1.453, allocations: 7.984 kB / 0.9827 GB, free: 4.387 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 6.546e-05/1.453, allocations: 16 kB / 0.9827 GB, free: 4.371 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000106/1.453, allocations: 23.91 kB / 0.9827 GB, free: 4.348 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.27e-05/1.453, allocations: 4 kB / 0.9827 GB, free: 4.344 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004664/1.453, allocations: 167.8 kB / 0.9829 GB, free: 4.18 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 5.216e-05/1.453, allocations: 11.92 kB / 0.9829 GB, free: 4.168 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 5.688e-05/1.453, allocations: 29.7 kB / 0.9829 GB, free: 4.133 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0003003/1.454, allocations: 130 kB / 0.983 GB, free: 4.008 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/1.454, allocations: 0 / 0.983 GB, free: 4.008 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.945e-06/1.454, allocations: 0 / 0.983 GB, free: 4.008 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.032e-06/1.454, allocations: 0 / 0.983 GB, free: 4.008 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006675/1.454, allocations: 436 kB / 0.9835 GB, free: 3.523 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 6.397e-05/1.454, allocations: 11.97 kB / 0.9835 GB, free: 3.512 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.201e-05/1.455, allocations: 38.5 kB / 0.9835 GB, free: 3.465 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.214e-05/1.455, allocations: 7.906 kB / 0.9835 GB, free: 3.457 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001987/1.455, allocations: 168.2 kB / 0.9837 GB, free: 3.254 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.126e-05/1.455, allocations: 4 kB / 0.9837 GB, free: 3.25 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.815e-05/1.455, allocations: 0 / 0.9837 GB, free: 3.25 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002859/1.455, allocations: 101.5 kB / 0.9838 GB, free: 3.145 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/1.455, allocations: 0 / 0.9838 GB, free: 3.145 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.667e-05/1.455, allocations: 4 kB / 0.9838 GB, free: 3.141 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.177e-05/1.455, allocations: 11.97 kB / 0.9838 GB, free: 3.129 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001553/1.455, allocations: 59.95 kB / 0.9838 GB, free: 3.07 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002171/1.456, allocations: 173.6 kB / 0.984 GB, free: 2.852 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001473/1.456, allocations: 82.53 kB / 0.9841 GB, free: 2.762 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 6.862e-06/1.456, allocations: 0 / 0.9841 GB, free: 2.762 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.781e-05/1.456, allocations: 30.56 kB / 0.9841 GB, free: 2.723 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=4): time 1.513e-06/1.456, allocations: 4 kB / 0.9841 GB, free: 2.719 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4): time 0.0007309/1.457, allocations: 340.2 kB / 0.9844 GB, free: 2.355 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.735e-05/1.457, allocations: 81.11 kB / 0.9845 GB, free: 2.258 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001377/1.457, allocations: 143.6 kB / 0.9847 GB, free: 2.109 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.456e-05/1.457, allocations: 25.7 kB / 0.9847 GB, free: 2.078 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 6.462e-05/1.457, allocations: 92.05 kB / 0.9848 GB, free: 1.984 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.084e-05/1.457, allocations: 11.89 kB / 0.9848 GB, free: 1.973 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.955e-06/1.457, allocations: 4 kB / 0.9848 GB, free: 1.969 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001471/1.457, allocations: 318.9 kB / 0.9851 GB, free: 1.648 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000156/1.457, allocations: 103.9 kB / 0.9852 GB, free: 1.547 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00012/1.457, allocations: 99.94 kB / 0.9853 GB, free: 1.449 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001751/1.458, allocations: 163.3 kB / 0.9854 GB, free: 1.277 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/1.458, allocations: 0 / 0.9854 GB, free: 1.277 MB / 0.7325 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004003/1.458, allocations: 320.9 kB / 0.9857 GB, free: 0.9453 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 7.98e-05/1.458, allocations: 71.33 kB / 0.9858 GB, free: 0.8633 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.123e-06/1.458, allocations: 0 / 0.9858 GB, free: 0.8633 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.956e-05/1.458, allocations: 0 / 0.9858 GB, free: 0.8633 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.268e-06/1.458, allocations: 7.891 kB / 0.9858 GB, free: 0.8555 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.316e-06/1.458, allocations: 8.062 kB / 0.9858 GB, free: 0.8477 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001948/1.458, allocations: 15.83 kB / 0.9858 GB, free: 0.832 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.066e-05/1.458, allocations: 4 kB / 0.9858 GB, free: 0.8281 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: 1 (i) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 2 * 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.0001654/1.459, allocations: 151.5 kB / 0.986 GB, free: 0.6641 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.886e-05/1.459, allocations: 7.906 kB / 0.986 GB, free: 0.6562 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.828e-05/1.459, allocations: 4.25 kB / 0.986 GB, free: 0.6523 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/1.459, allocations: 0 / 0.986 GB, free: 0.6523 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.798e-06/1.459, allocations: 7.953 kB / 0.986 GB, free: 0.6445 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/1.459, allocations: 4 kB / 0.986 GB, free: 0.6406 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001519/1.459, allocations: 169.6 kB / 0.9862 GB, free: 436 kB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.997e-06/1.459, allocations: 4 kB / 0.9862 GB, free: 432 kB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.32e-07/1.459, allocations: 0 / 0.9862 GB, free: 432 kB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.293e-06/1.459, allocations: 0 / 0.9862 GB, free: 432 kB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.225e-05/1.459, allocations: 0 / 0.9862 GB, free: 432 kB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/1.459, allocations: 4 kB / 0.9862 GB, free: 428 kB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/1.459, allocations: 7.938 kB / 0.9862 GB, free: 420 kB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003132/1.459, allocations: 234.5 kB / 0.9864 GB, free: 160 kB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 5.686e-05/1.459, allocations: 89.02 kB / 0.9865 GB, free: 52 kB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.425e-05/1.459, allocations: 3.984 kB / 0.9865 GB, free: 48 kB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.278e-05/1.459, allocations: 4 kB / 0.9865 GB, free: 44 kB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.513e-05/1.459, allocations: 11.97 kB / 0.9865 GB, free: 32 kB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.546e-06/1.459, allocations: 4 kB / 0.9865 GB, free: 28 kB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001135/1.46, allocations: 104 kB / 0.9866 GB, free: 15.93 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.2e-07/1.46, allocations: 0 / 0.9866 GB, free: 15.93 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0003706/1.46, allocations: 67.94 kB / 0.9867 GB, free: 15.86 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (i) * Number of discrete states: 1 (i) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0009082/1.461, allocations: 0.8092 MB / 0.9875 GB, free: 15.01 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.000462/1.461, allocations: 378.6 kB / 0.9878 GB, free: 14.62 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/1.461, allocations: 3.938 kB / 0.9878 GB, free: 14.61 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001635/1.462, allocations: 135.3 kB / 0.988 GB, free: 14.47 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001239/1.462, allocations: 2.031 kB / 0.988 GB, free: 14.47 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006992/1.462, allocations: 443.1 kB / 0.9884 GB, free: 13.99 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003334/1.463, allocations: 0.6967 MB / 0.9891 GB, free: 13.27 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 7.384e-06/1.463, allocations: 0 / 0.9891 GB, free: 13.27 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.455e-05/1.463, allocations: 19.44 kB / 0.9891 GB, free: 13.25 MB / 0.7481 GB Notification: Performance of SimCode: time 1.242e-06/1.463, allocations: 0 / 0.9891 GB, free: 13.25 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02152/1.484, allocations: 2.871 MB / 0.9919 GB, free: 10.52 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003142/1.485, allocations: 194.1 kB / 0.9921 GB, free: 10.28 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.083/4.568, allocations: 0 / 0.9921 GB, free: 10.28 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.CubicHermite.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Functions.Examples.CubicHermite_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Functions_Examples_CubicHermite_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Math_Functions_Examples_CubicHermite.fmu > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Utilities.Math.Functions.Examples.CubicHermite_res.mat does not exist to compare? outputFormat=mat