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.0008144/0.0008144, 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.0008343/0.0008343, 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.384/1.384, allocations: 223.2 MB / 240 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 2.488/2.488, allocations: 409.4 MB / 0.684 GB, free: 0.9883 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003694/0.0003696, allocations: 8 kB / 0.8378 GB, free: 6.492 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6727/0.6731, allocations: 146.8 MB / 0.9811 GB, free: 6.238 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.QuinticHermite): time 0.0006628/0.6738, allocations: 361.5 kB / 0.9815 GB, free: 5.883 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0003459/0.6742, allocations: 175.5 kB / 0.9817 GB, free: 5.711 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.63e-05/0.6742, allocations: 0 / 0.9817 GB, free: 5.711 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.004e-05/0.6743, allocations: 0 / 0.9817 GB, free: 5.711 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001529/0.6744, allocations: 19.88 kB / 0.9817 GB, free: 5.691 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001447/0.6746, allocations: 59.89 kB / 0.9817 GB, free: 5.633 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 5.351e-05/0.6746, allocations: 27.91 kB / 0.9818 GB, free: 5.605 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 4.212e-05/0.6747, allocations: 0 / 0.9818 GB, free: 5.605 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 3.038e-05/0.6747, allocations: 19.92 kB / 0.9818 GB, free: 5.586 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 6.124e-05/0.6748, allocations: 15.92 kB / 0.9818 GB, free: 5.57 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.363e-05/0.6748, allocations: 4 kB / 0.9818 GB, free: 5.566 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001464/0.675, allocations: 99.72 kB / 0.9819 GB, free: 5.469 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.396e-05/0.675, allocations: 11.98 kB / 0.9819 GB, free: 5.457 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.314e-05/0.675, allocations: 33.64 kB / 0.9819 GB, free: 5.418 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001076/0.6751, allocations: 67.92 kB / 0.982 GB, free: 5.352 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.6751, allocations: 0 / 0.982 GB, free: 5.352 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.473e-06/0.6751, allocations: 0 / 0.982 GB, free: 5.352 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 3.176e-06/0.6752, allocations: 4 kB / 0.982 GB, free: 5.348 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.000431/0.6756, allocations: 357.6 kB / 0.9823 GB, free: 4.953 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.569e-05/0.6756, allocations: 8.031 kB / 0.9824 GB, free: 4.945 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.04e-05/0.6757, allocations: 42.56 kB / 0.9824 GB, free: 4.895 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.198e-05/0.6757, allocations: 7.891 kB / 0.9824 GB, free: 4.887 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001167/0.6758, allocations: 167 kB / 0.9826 GB, free: 4.684 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.034e-05/0.6758, allocations: 4 kB / 0.9826 GB, free: 4.68 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.673e-05/0.6759, allocations: 4 kB / 0.9826 GB, free: 4.676 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001356/0.676, allocations: 57.62 kB / 0.9826 GB, free: 4.609 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.136e-05/0.676, allocations: 0 / 0.9826 GB, free: 4.609 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.989e-06/0.676, allocations: 11.92 kB / 0.9826 GB, free: 4.598 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.458e-06/0.676, allocations: 4 kB / 0.9826 GB, free: 4.594 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001271/0.6762, allocations: 43.91 kB / 0.9827 GB, free: 4.551 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002479/0.6764, allocations: 244.9 kB / 0.9829 GB, free: 4.262 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002102/0.6767, allocations: 82.48 kB / 0.983 GB, free: 4.172 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.613e-05/0.6767, allocations: 32.92 kB / 0.983 GB, free: 4.137 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.365e-05/0.6768, allocations: 4 kB / 0.983 GB, free: 4.133 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.224e-05/0.6768, allocations: 34.5 kB / 0.9831 GB, free: 4.09 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=4): time 1.162e-06/0.6768, allocations: 0 / 0.9831 GB, free: 4.09 MB / 0.7325 GB Notification: Performance of matching and sorting (n=8): time 0.02321/0.7, allocations: 1.753 MB / 0.9848 GB, free: 2.328 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.159e-05/0.7001, allocations: 55.41 kB / 0.9848 GB, free: 2.262 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001121/0.7002, allocations: 121.7 kB / 0.9849 GB, free: 2.133 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 5.468e-05/0.7003, allocations: 29.7 kB / 0.985 GB, free: 2.098 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.238e-05/0.7003, allocations: 94.42 kB / 0.9851 GB, free: 2.004 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 6.717e-05/0.7004, allocations: 19.62 kB / 0.9851 GB, free: 1.984 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.572e-05/0.7005, allocations: 4 kB / 0.9851 GB, free: 1.98 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001174/0.7006, allocations: 318.8 kB / 0.9854 GB, free: 1.66 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004698/0.7011, allocations: 163.9 kB / 0.9855 GB, free: 1.5 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004537/0.7015, allocations: 155.9 kB / 0.9857 GB, free: 1.348 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000501/0.702, allocations: 167.9 kB / 0.9859 GB, free: 1.184 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.702, allocations: 0 / 0.9859 GB, free: 1.184 MB / 0.7325 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001145/0.7032, allocations: 381.5 kB / 0.9862 GB, free: 0.8047 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.603e-05/0.7032, allocations: 8 kB / 0.9862 GB, free: 0.7969 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.7032, allocations: 0 / 0.9862 GB, free: 0.7969 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.396e-05/0.7032, allocations: 0 / 0.9862 GB, free: 0.7969 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001321/0.7046, allocations: 83.83 kB / 0.9863 GB, free: 0.7148 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.676e-06/0.7046, allocations: 0 / 0.9863 GB, free: 0.7148 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001087/0.7057, allocations: 51.95 kB / 0.9864 GB, free: 0.6641 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.095e-05/0.7058, allocations: 11.97 kB / 0.9864 GB, free: 0.6523 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.0001666/0.7059, allocations: 117.7 kB / 0.9865 GB, free: 0.5273 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.386e-05/0.706, allocations: 11.89 kB / 0.9865 GB, free: 0.5156 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001476/0.7062, allocations: 20.38 kB / 0.9865 GB, free: 0.4922 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.7062, allocations: 0 / 0.9865 GB, free: 0.4922 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.426e-06/0.7062, allocations: 7.984 kB / 0.9865 GB, free: 496 kB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.09e-06/0.7062, allocations: 0.6562 kB / 0.9865 GB, free: 496 kB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004841/0.711, allocations: 0.9232 MB / 0.9874 GB, free: 15.5 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.19e-06/0.7111, allocations: 3.984 kB / 0.9874 GB, free: 15.49 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008952/0.712, allocations: 71.91 kB / 0.9875 GB, free: 15.42 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.522e-06/0.712, allocations: 0 / 0.9875 GB, free: 15.42 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.736e-05/0.712, allocations: 7.984 kB / 0.9875 GB, free: 15.41 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.787e-06/0.712, allocations: 0 / 0.9875 GB, free: 15.41 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.7121, allocations: 4 kB / 0.9875 GB, free: 15.41 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000913/0.713, allocations: 377 kB / 0.9879 GB, free: 15.02 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 3.676e-05/0.713, allocations: 81.02 kB / 0.9879 GB, free: 14.92 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.926e-05/0.7131, allocations: 7.984 kB / 0.9879 GB, free: 14.91 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008117/0.7139, allocations: 47.95 kB / 0.988 GB, free: 14.87 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.078e-05/0.7139, allocations: 0 / 0.988 GB, free: 14.87 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.885e-05/0.714, allocations: 19.92 kB / 0.988 GB, free: 14.85 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 5.857e-05/0.7141, allocations: 91.28 kB / 0.9881 GB, free: 14.76 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7141, allocations: 0 / 0.9881 GB, free: 14.76 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0004137/0.7145, allocations: 91.98 kB / 0.9882 GB, free: 14.67 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.001393/0.7159, allocations: 0.917 MB / 0.9891 GB, free: 13.72 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0009941/0.7169, allocations: 287.8 kB / 0.9894 GB, free: 13.44 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.506e-06/0.7169, allocations: 0 / 0.9894 GB, free: 13.44 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0004076/0.7173, allocations: 115.9 kB / 0.9895 GB, free: 13.32 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003032/0.7176, allocations: 5.719 kB / 0.9895 GB, free: 13.32 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004374/0.722, allocations: 1.614 MB / 0.991 GB, free: 11.65 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002456/0.7223, allocations: 0.6848 MB / 0.9917 GB, free: 10.94 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0005323/0.7228, allocations: 63.97 kB / 0.9918 GB, free: 10.88 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004673/0.7233, allocations: 35.38 kB / 0.9918 GB, free: 10.85 MB / 0.7481 GB Notification: Performance of SimCode: time 3.5e-07/0.7233, allocations: 0 / 0.9918 GB, free: 10.85 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01982/0.7431, allocations: 9.033 MB / 1.001 GB, free: 1.922 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001672/0.7433, allocations: 194.1 kB / 1.001 GB, free: 1.688 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.075/2.819, allocations: 3.938 kB / 1.001 GB, free: 1.684 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