Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.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.QuinticHermite,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Functions_Examples_QuinticHermite",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.QuinticHermite,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Functions_Examples_QuinticHermite",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.001458/0.001458, 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.001511/0.001511, 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 2.469/2.469, allocations: 223.2 MB / 239.9 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 4.634/4.634, allocations: 409.2 MB / 0.6838 GB, free: 0.9883 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0007964/0.0007966, allocations: 12 kB / 0.8375 GB, free: 6.551 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.395/1.396, allocations: 146.8 MB / 0.9809 GB, free: 6.297 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.QuinticHermite): time 0.0013/1.398, allocations: 369.4 kB / 0.9812 GB, free: 5.934 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0006342/1.398, allocations: 177.9 kB / 0.9814 GB, free: 5.762 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.134e-05/1.398, allocations: 0 / 0.9814 GB, free: 5.762 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.873e-05/1.398, allocations: 0 / 0.9814 GB, free: 5.762 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0002149/1.399, allocations: 8 kB / 0.9814 GB, free: 5.754 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002834/1.399, allocations: 59.83 kB / 0.9815 GB, free: 5.695 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 7.765e-05/1.399, allocations: 19.97 kB / 0.9815 GB, free: 5.676 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 6.768e-05/1.399, allocations: 4 kB / 0.9815 GB, free: 5.672 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 7.055e-05/1.399, allocations: 19.91 kB / 0.9815 GB, free: 5.652 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001058/1.399, allocations: 19.92 kB / 0.9815 GB, free: 5.633 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.152e-05/1.399, allocations: 4 kB / 0.9815 GB, free: 5.629 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002477/1.4, allocations: 103.8 kB / 0.9816 GB, free: 5.527 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.055e-05/1.4, allocations: 11.88 kB / 0.9816 GB, free: 5.516 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.684e-05/1.4, allocations: 29.7 kB / 0.9817 GB, free: 5.48 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002132/1.4, allocations: 71.92 kB / 0.9817 GB, free: 5.41 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/1.4, allocations: 0 / 0.9817 GB, free: 5.41 MB / 0.7325 GB Notification: Performance of FrontEnd: time 3.156e-06/1.4, allocations: 0 / 0.9817 GB, free: 5.41 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.961e-06/1.4, allocations: 0 / 0.9817 GB, free: 5.41 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0007954/1.401, allocations: 367.3 kB / 0.9821 GB, free: 5.008 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 7.949e-05/1.401, allocations: 12.02 kB / 0.9821 GB, free: 4.996 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.621e-05/1.401, allocations: 34.56 kB / 0.9821 GB, free: 4.953 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.512e-05/1.401, allocations: 7.906 kB / 0.9821 GB, free: 4.945 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002301/1.401, allocations: 167 kB / 0.9823 GB, free: 4.742 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.021e-05/1.401, allocations: 0 / 0.9823 GB, free: 4.742 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.563e-05/1.401, allocations: 8 kB / 0.9823 GB, free: 4.734 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000252/1.402, allocations: 65.55 kB / 0.9824 GB, free: 4.664 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.913e-05/1.402, allocations: 4 kB / 0.9824 GB, free: 4.66 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.433e-05/1.402, allocations: 0 / 0.9824 GB, free: 4.66 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.039e-05/1.402, allocations: 4 kB / 0.9824 GB, free: 4.656 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002514/1.402, allocations: 35.97 kB / 0.9824 GB, free: 4.621 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004839/1.402, allocations: 248.8 kB / 0.9826 GB, free: 4.324 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003895/1.403, allocations: 98.45 kB / 0.9827 GB, free: 4.219 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.449e-05/1.403, allocations: 0 / 0.9827 GB, free: 4.219 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.349e-05/1.403, allocations: 30.56 kB / 0.9828 GB, free: 4.18 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=4): time 1.393e-06/1.403, allocations: 0 / 0.9828 GB, free: 4.18 MB / 0.7325 GB Notification: Performance of matching and sorting (n=8): time 0.04368/1.447, allocations: 1.753 MB / 0.9845 GB, free: 2.418 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.026e-05/1.447, allocations: 55.41 kB / 0.9845 GB, free: 2.352 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001637/1.447, allocations: 125.7 kB / 0.9847 GB, free: 2.219 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001232/1.447, allocations: 29.69 kB / 0.9847 GB, free: 2.184 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 8.656e-05/1.447, allocations: 88.14 kB / 0.9848 GB, free: 2.094 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001212/1.447, allocations: 23.61 kB / 0.9848 GB, free: 2.07 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.42e-05/1.447, allocations: 4 kB / 0.9848 GB, free: 2.066 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001854/1.448, allocations: 318.8 kB / 0.9851 GB, free: 1.746 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009077/1.449, allocations: 159.9 kB / 0.9852 GB, free: 1.59 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008801/1.449, allocations: 159.9 kB / 0.9854 GB, free: 1.434 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009432/1.45, allocations: 171.8 kB / 0.9856 GB, free: 1.266 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/1.45, allocations: 0 / 0.9856 GB, free: 1.266 MB / 0.7325 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.002233/1.453, allocations: 385.4 kB / 0.9859 GB, free: 0.8828 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 4.175e-05/1.453, allocations: 8 kB / 0.9859 GB, free: 0.875 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.239e-05/1.453, allocations: 0 / 0.9859 GB, free: 0.875 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.661e-05/1.453, allocations: 0 / 0.9859 GB, free: 0.875 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002511/1.455, allocations: 75.89 kB / 0.986 GB, free: 0.8008 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.223e-05/1.455, allocations: 0 / 0.986 GB, free: 0.8008 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002106/1.457, allocations: 59.94 kB / 0.9861 GB, free: 0.7422 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001079/1.458, allocations: 4.641 kB / 0.9861 GB, free: 0.7383 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 (9): * Single equations (assignments): 9 * 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.0003445/1.458, allocations: 121.7 kB / 0.9862 GB, free: 0.6094 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001493/1.458, allocations: 7.906 kB / 0.9862 GB, free: 0.6016 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002397/1.458, allocations: 16.38 kB / 0.9862 GB, free: 0.582 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.437e-06/1.458, allocations: 7.984 kB / 0.9862 GB, free: 0.5742 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.157e-06/1.458, allocations: 0 / 0.9862 GB, free: 0.5742 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/1.458, allocations: 4 kB / 0.9862 GB, free: 0.5703 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009514/1.468, allocations: 0.9272 MB / 0.9871 GB, free: 15.58 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.907e-06/1.468, allocations: 4 kB / 0.9871 GB, free: 15.57 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001812/1.47, allocations: 67.91 kB / 0.9872 GB, free: 15.51 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.184e-05/1.47, allocations: 0 / 0.9872 GB, free: 15.51 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.574e-05/1.47, allocations: 8.047 kB / 0.9872 GB, free: 15.5 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.67e-06/1.47, allocations: 4 kB / 0.9872 GB, free: 15.5 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.33e-06/1.47, allocations: 3.984 kB / 0.9872 GB, free: 15.49 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001784/1.472, allocations: 392.4 kB / 0.9876 GB, free: 15.07 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 8.047e-05/1.472, allocations: 89 kB / 0.9877 GB, free: 14.97 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001194/1.472, allocations: 0 / 0.9877 GB, free: 14.97 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001651/1.474, allocations: 55.91 kB / 0.9877 GB, free: 14.91 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.51e-05/1.474, allocations: 0 / 0.9877 GB, free: 14.91 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.329e-05/1.474, allocations: 11.97 kB / 0.9877 GB, free: 14.9 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0001105/1.474, allocations: 99.27 kB / 0.9878 GB, free: 14.8 MB / 0.7481 GB Notification: Performance of sort global known variables: time 3.41e-07/1.474, allocations: 0 / 0.9878 GB, free: 14.8 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.000799/1.475, allocations: 92 kB / 0.9879 GB, free: 14.71 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (8): * Single equations (assignments): 8 * 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.002572/1.477, allocations: 1.079 MB / 0.989 GB, free: 13.6 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001865/1.479, allocations: 291.8 kB / 0.9893 GB, free: 13.31 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 5.801e-06/1.479, allocations: 0 / 0.9893 GB, free: 13.31 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0007839/1.48, allocations: 124 kB / 0.9894 GB, free: 13.19 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003333/1.48, allocations: 0.7812 kB / 0.9894 GB, free: 13.19 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008722/1.489, allocations: 1.609 MB / 0.9909 GB, free: 11.53 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004421/1.49, allocations: 0.6887 MB / 0.9916 GB, free: 10.81 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.001014/1.491, allocations: 52 kB / 0.9917 GB, free: 10.76 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007353/1.491, allocations: 39.36 kB / 0.9917 GB, free: 10.73 MB / 0.7481 GB Notification: Performance of SimCode: time 1.844e-06/1.491, allocations: 480 / 0.9917 GB, free: 10.73 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03601/1.527, allocations: 9.008 MB / 1 GB, free: 1.816 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003462/1.528, allocations: 202.4 kB / 1.001 GB, free: 1.57 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.458/4.986, allocations: 0 / 1.001 GB, free: 1.57 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Functions.Examples.QuinticHermite_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Functions_Examples_QuinticHermite_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Math_Functions_Examples_QuinticHermite.fmu > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Utilities.Math.Functions.Examples.QuinticHermite_res.mat does not exist to compare? outputFormat=mat