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.0007564/0.0007565, allocations: 91.84 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.0007945/0.0007945, allocations: 172.7 kB / 15.95 MB, free: 208 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.297/1.297, allocations: 223.3 MB / 240 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 2.389/2.389, allocations: 409.4 MB / 0.684 GB, free: 0.9336 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003137/0.0003137, allocations: 16 kB / 0.8378 GB, free: 6.512 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5828/0.5831, allocations: 146.8 MB / 0.9812 GB, free: 6.273 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.CubicHermite): time 0.0006329/0.5838, allocations: 341.5 kB / 0.9815 GB, free: 5.938 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001538/0.5854, allocations: 1.337 MB / 0.9828 GB, free: 4.586 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.847e-05/0.5854, allocations: 0 / 0.9828 GB, free: 4.586 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.757e-05/0.5854, allocations: 0 / 0.9828 GB, free: 4.586 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 4.035e-05/0.5855, allocations: 7.875 kB / 0.9828 GB, free: 4.578 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005164/0.586, allocations: 131.8 kB / 0.9829 GB, free: 4.449 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 6.094e-05/0.5861, allocations: 35.95 kB / 0.983 GB, free: 4.414 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 3.194e-05/0.5861, allocations: 7.938 kB / 0.983 GB, free: 4.406 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 3.382e-05/0.5862, allocations: 19.98 kB / 0.983 GB, free: 4.387 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 5.4e-05/0.5862, allocations: 23.91 kB / 0.983 GB, free: 4.363 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.282e-05/0.5862, allocations: 4 kB / 0.983 GB, free: 4.359 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002605/0.5865, allocations: 183.7 kB / 0.9832 GB, free: 4.18 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.468e-05/0.5865, allocations: 7.984 kB / 0.9832 GB, free: 4.172 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.18e-05/0.5866, allocations: 37.64 kB / 0.9832 GB, free: 4.129 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001557/0.5867, allocations: 122 kB / 0.9833 GB, free: 4.012 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.5867, allocations: 0 / 0.9833 GB, free: 4.012 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.222e-06/0.5868, allocations: 0 / 0.9833 GB, free: 4.012 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.992e-06/0.5868, allocations: 4 kB / 0.9833 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.0003453/0.5871, allocations: 442.4 kB / 0.9838 GB, free: 3.516 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.08e-05/0.5872, allocations: 8.031 kB / 0.9838 GB, free: 3.508 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.204e-05/0.5872, allocations: 30.56 kB / 0.9838 GB, free: 3.469 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.395e-05/0.5872, allocations: 7.906 kB / 0.9838 GB, free: 3.461 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001078/0.5873, allocations: 167 kB / 0.984 GB, free: 3.258 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.118e-05/0.5874, allocations: 4 kB / 0.984 GB, free: 3.254 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.538e-06/0.5874, allocations: 0 / 0.984 GB, free: 3.254 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001563/0.5875, allocations: 101.5 kB / 0.9841 GB, free: 3.148 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.623e-06/0.5875, allocations: 4 kB / 0.9841 GB, free: 3.145 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.109e-05/0.5876, allocations: 7.984 kB / 0.9841 GB, free: 3.137 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.276e-06/0.5876, allocations: 0 / 0.9841 GB, free: 3.137 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.712e-05/0.5877, allocations: 59.95 kB / 0.9841 GB, free: 3.078 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001412/0.5878, allocations: 173.6 kB / 0.9843 GB, free: 2.859 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001459/0.588, allocations: 78.53 kB / 0.9844 GB, free: 2.773 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.239e-05/0.5881, allocations: 64.89 kB / 0.9844 GB, free: 2.707 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 6.692e-06/0.5881, allocations: 7.938 kB / 0.9844 GB, free: 2.699 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.411e-05/0.5881, allocations: 42.55 kB / 0.9845 GB, free: 2.648 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=4): time 9.62e-07/0.5881, allocations: 0 / 0.9845 GB, free: 2.648 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4): time 0.0003588/0.5885, allocations: 255.1 kB / 0.9847 GB, free: 2.387 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001275/0.5886, allocations: 77.11 kB / 0.9848 GB, free: 2.293 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001042/0.5887, allocations: 144.7 kB / 0.9849 GB, free: 2.145 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001152/0.5888, allocations: 25.7 kB / 0.985 GB, free: 2.113 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 4.543e-05/0.5889, allocations: 92.05 kB / 0.9851 GB, free: 2.02 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.016e-05/0.5889, allocations: 11.89 kB / 0.9851 GB, free: 2.008 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.731e-06/0.5889, allocations: 4.031 kB / 0.9851 GB, free: 2.004 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001016/0.589, allocations: 318.8 kB / 0.9854 GB, free: 1.684 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001217/0.5892, allocations: 103.9 kB / 0.9855 GB, free: 1.582 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000111/0.5893, allocations: 103.9 kB / 0.9856 GB, free: 1.48 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001746/0.5895, allocations: 167.2 kB / 0.9857 GB, free: 1.305 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.5895, allocations: 0 / 0.9857 GB, free: 1.305 MB / 0.7325 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000342/0.5898, allocations: 324.8 kB / 0.986 GB, free: 0.9688 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 5.548e-05/0.5899, allocations: 71.39 kB / 0.9861 GB, free: 0.8867 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.647e-06/0.5899, allocations: 0 / 0.9861 GB, free: 0.8867 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.16e-05/0.5899, allocations: 8.016 kB / 0.9861 GB, free: 0.8789 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.41e-07/0.5899, allocations: 0 / 0.9861 GB, free: 0.8789 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.659e-06/0.5899, allocations: 0 / 0.9861 GB, free: 0.8789 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001314/0.5901, allocations: 15.84 kB / 0.9861 GB, free: 0.8633 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.502e-05/0.5901, allocations: 7.984 kB / 0.9861 GB, free: 0.8555 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 9.898e-05/0.5902, allocations: 147.5 kB / 0.9863 GB, free: 0.6953 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.651e-05/0.5902, allocations: 7.906 kB / 0.9863 GB, free: 0.6875 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.148e-05/0.5902, allocations: 8.25 kB / 0.9863 GB, free: 0.6797 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.062e-06/0.5902, allocations: 0 / 0.9863 GB, free: 0.6797 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.5902, allocations: 7.953 kB / 0.9863 GB, free: 0.6719 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.723e-06/0.5902, allocations: 0 / 0.9863 GB, free: 0.6719 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001064/0.5904, allocations: 173.6 kB / 0.9865 GB, free: 464 kB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.5904, allocations: 144 / 0.9865 GB, free: 464 kB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.71e-07/0.5904, allocations: 3.938 kB / 0.9865 GB, free: 460 kB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.544e-06/0.5904, allocations: 3.984 kB / 0.9865 GB, free: 456 kB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.08e-05/0.5904, allocations: 4 kB / 0.9865 GB, free: 452 kB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.5904, allocations: 0 / 0.9865 GB, free: 452 kB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.5904, allocations: 0 / 0.9865 GB, free: 452 kB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002502/0.5907, allocations: 234.6 kB / 0.9867 GB, free: 192 kB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 3.417e-05/0.5907, allocations: 81.02 kB / 0.9868 GB, free: 92 kB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.949e-05/0.5907, allocations: 8 kB / 0.9868 GB, free: 84 kB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.809e-05/0.5908, allocations: 7.984 kB / 0.9868 GB, free: 76 kB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.083e-05/0.5908, allocations: 8 kB / 0.9868 GB, free: 68 kB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.674e-06/0.5909, allocations: 3.984 kB / 0.9868 GB, free: 64 kB / 0.7325 GB Notification: Performance of sorting global known variables: time 7.975e-05/0.5909, allocations: 104.9 kB / 0.9869 GB, free: 15.96 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.7e-07/0.5909, allocations: 0 / 0.9869 GB, free: 15.96 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0002668/0.5912, allocations: 76.02 kB / 0.987 GB, free: 15.89 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.0006664/0.5919, allocations: 0.813 MB / 0.9878 GB, free: 15.04 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0004374/0.5923, allocations: 370.6 kB / 0.9881 GB, free: 14.65 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.5924, allocations: 0 / 0.9881 GB, free: 14.65 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001358/0.5925, allocations: 143.4 kB / 0.9883 GB, free: 14.5 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001394/0.5926, allocations: 4.109 kB / 0.9883 GB, free: 14.49 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001297/0.5939, allocations: 1.021 MB / 0.9893 GB, free: 13.43 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002174/0.5942, allocations: 0.7005 MB / 0.99 GB, free: 12.7 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 4.889e-06/0.5942, allocations: 0 / 0.99 GB, free: 12.7 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.188e-05/0.5942, allocations: 15.44 kB / 0.99 GB, free: 12.69 MB / 0.7481 GB Notification: Performance of SimCode: time 2.61e-07/0.5942, allocations: 0 / 0.99 GB, free: 12.69 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01286/0.6071, allocations: 2.934 MB / 0.9928 GB, free: 9.906 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001988/0.6073, allocations: 200 kB / 0.993 GB, free: 9.664 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.714/2.321, allocations: 0 / 0.993 GB, free: 9.664 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