Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_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 9.1.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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_9_Buildings_Utilities_Math_Functions_Examples_CubicHermite",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.CubicHermite,fileNamePrefix="Buildings_9_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.001209/0.001209, allocations: 100.1 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.001387/0.001387, 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.386/1.386, allocations: 223.2 MB / 239.9 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.32/2.32, allocations: 390.3 MB / 0.6653 GB, free: 2.969 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003502/0.0003503, allocations: 12 kB / 0.8146 GB, free: 14.2 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6742/0.6746, allocations: 142.3 MB / 0.9536 GB, free: 8.035 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.CubicHermite): time 0.0007078/0.6753, allocations: 354 kB / 0.9539 GB, free: 7.766 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001417/0.6768, allocations: 1.331 MB / 0.9552 GB, free: 6.711 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.306e-05/0.6768, allocations: 0 / 0.9552 GB, free: 6.711 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 5.628e-05/0.6769, allocations: 3.938 kB / 0.9552 GB, free: 6.707 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.66e-05/0.6769, allocations: 2.531 kB / 0.9552 GB, free: 6.707 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004612/0.6774, allocations: 131.1 kB / 0.9554 GB, free: 6.625 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.463e-05/0.6774, allocations: 21.72 kB / 0.9554 GB, free: 6.613 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.201e-05/0.6775, allocations: 6.453 kB / 0.9554 GB, free: 6.609 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.618e-05/0.6775, allocations: 20.89 kB / 0.9554 GB, free: 6.598 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.806e-05/0.6776, allocations: 22.97 kB / 0.9554 GB, free: 6.586 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.35e-05/0.6776, allocations: 6.656 kB / 0.9554 GB, free: 6.582 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002402/0.6779, allocations: 169 kB / 0.9556 GB, free: 6.492 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.655e-05/0.6779, allocations: 7.688 kB / 0.9556 GB, free: 6.492 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.863e-05/0.6779, allocations: 36.89 kB / 0.9556 GB, free: 6.453 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001673/0.6781, allocations: 125.4 kB / 0.9558 GB, free: 6.383 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.886e-06/0.6781, allocations: 1.406 kB / 0.9558 GB, free: 6.383 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.393e-06/0.6781, allocations: 0 / 0.9558 GB, free: 6.383 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.707e-06/0.6781, allocations: 0 / 0.9558 GB, free: 6.383 MB / 0.7169 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.0002884/0.6784, allocations: 435.4 kB / 0.9562 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.903e-05/0.6785, allocations: 9.469 kB / 0.9562 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.742e-05/0.6785, allocations: 31.75 kB / 0.9562 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.977e-05/0.6785, allocations: 11.58 kB / 0.9562 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.143e-05/0.6786, allocations: 168 kB / 0.9564 GB, free: 5.676 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.125e-05/0.6786, allocations: 1.062 kB / 0.9564 GB, free: 5.676 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.34e-05/0.6787, allocations: 7.188 kB / 0.9564 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001778/0.6788, allocations: 105.5 kB / 0.9565 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.392e-06/0.6789, allocations: 0 / 0.9565 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.229e-05/0.6789, allocations: 1 kB / 0.9565 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.599e-06/0.6789, allocations: 0 / 0.9565 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.386e-05/0.679, allocations: 64.97 kB / 0.9566 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001255/0.6791, allocations: 176.4 kB / 0.9567 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000116/0.6792, allocations: 79.84 kB / 0.9568 GB, free: 5.336 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 5.199e-06/0.6793, allocations: 9 kB / 0.9568 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.041e-05/0.6793, allocations: 39.91 kB / 0.9568 GB, free: 5.281 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 9.72e-07/0.6793, allocations: 0 / 0.9568 GB, free: 5.281 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0004336/0.6797, allocations: 327.9 kB / 0.9572 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.29e-05/0.6798, allocations: 79.86 kB / 0.9572 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.976e-05/0.6799, allocations: 141.1 kB / 0.9574 GB, free: 4.855 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.298e-05/0.6799, allocations: 27.17 kB / 0.9574 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.982e-05/0.6799, allocations: 107 kB / 0.9575 GB, free: 4.719 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.942e-05/0.68, allocations: 6.938 kB / 0.9575 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.101e-06/0.68, allocations: 1.219 kB / 0.9575 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.456e-05/0.68, allocations: 320.5 kB / 0.9578 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000115/0.6802, allocations: 105 kB / 0.9579 GB, free: 4.363 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001184/0.6803, allocations: 104 kB / 0.958 GB, free: 4.332 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001473/0.6804, allocations: 165.4 kB / 0.9582 GB, free: 4.234 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.6804, allocations: 0 / 0.9582 GB, free: 4.234 MB / 0.7169 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000351/0.6808, allocations: 321.8 kB / 0.9585 GB, free: 4.066 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 4.596e-05/0.6809, allocations: 73.55 kB / 0.9585 GB, free: 3.996 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.608e-06/0.6809, allocations: 0 / 0.9585 GB, free: 3.996 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.465e-05/0.6809, allocations: 0 / 0.9585 GB, free: 3.996 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.013e-06/0.6809, allocations: 1.375 kB / 0.9585 GB, free: 3.996 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.673e-06/0.6809, allocations: 3.984 kB / 0.9585 GB, free: 3.992 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000151/0.6811, allocations: 22.7 kB / 0.9586 GB, free: 3.977 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.457e-05/0.6811, allocations: 2.75 kB / 0.9586 GB, free: 3.977 MB / 0.7169 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.072e-05/0.6812, allocations: 151.9 kB / 0.9587 GB, free: 3.824 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.381e-05/0.6812, allocations: 6.797 kB / 0.9587 GB, free: 3.82 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.552e-05/0.6812, allocations: 14.98 kB / 0.9587 GB, free: 3.805 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.273e-06/0.6812, allocations: 3.938 kB / 0.9587 GB, free: 3.801 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.6812, allocations: 0 / 0.9587 GB, free: 3.801 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.095e-06/0.6812, allocations: 1.375 kB / 0.9587 GB, free: 3.801 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.5e-05/0.6813, allocations: 176.6 kB / 0.9589 GB, free: 3.59 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.6813, allocations: 0 / 0.9589 GB, free: 3.59 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.664e-06/0.6813, allocations: 0 / 0.9589 GB, free: 3.59 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.6813, allocations: 5.312 kB / 0.9589 GB, free: 3.586 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.088e-05/0.6814, allocations: 1.375 kB / 0.9589 GB, free: 3.586 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.875e-06/0.6814, allocations: 5.359 kB / 0.9589 GB, free: 3.582 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.6814, allocations: 0 / 0.9589 GB, free: 3.582 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002505/0.6816, allocations: 232.5 kB / 0.9591 GB, free: 3.434 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.669e-05/0.6817, allocations: 87.75 kB / 0.9592 GB, free: 3.332 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.826e-05/0.6817, allocations: 1.375 kB / 0.9592 GB, free: 3.332 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.813e-05/0.6817, allocations: 4.125 kB / 0.9592 GB, free: 3.332 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.269e-05/0.6818, allocations: 8.109 kB / 0.9592 GB, free: 3.328 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.995e-06/0.6818, allocations: 2.75 kB / 0.9592 GB, free: 3.328 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 5.109e-05/0.6819, allocations: 115.6 kB / 0.9594 GB, free: 3.23 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6819, allocations: 0 / 0.9594 GB, free: 3.23 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003072/0.6822, allocations: 60.69 kB / 0.9594 GB, free: 3.227 MB / 0.7169 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.0006137/0.6828, allocations: 0.8127 MB / 0.9602 GB, free: 2.535 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003782/0.6832, allocations: 373.3 kB / 0.9606 GB, free: 2.309 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.6832, allocations: 4.969 kB / 0.9606 GB, free: 2.305 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001215/0.6833, allocations: 135.7 kB / 0.9607 GB, free: 2.215 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001076/0.6835, allocations: 6.578 kB / 0.9607 GB, free: 2.211 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005143/0.684, allocations: 445.5 kB / 0.9611 GB, free: 1.828 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001242/0.6841, allocations: 0.6953 MB / 0.9618 GB, free: 1.121 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 5.48e-06/0.6841, allocations: 0 / 0.9618 GB, free: 1.121 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.193e-05/0.6841, allocations: 16.47 kB / 0.9618 GB, free: 1.105 MB / 0.7169 GB Notification: Performance of SimCode: time 2.5e-07/0.6842, allocations: 0 / 0.9618 GB, free: 1.105 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01276/0.6969, allocations: 2.868 MB / 0.9646 GB, free: 15.72 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001648/0.6971, allocations: 184 kB / 0.9648 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.648/2.345, allocations: 1.031 kB / 0.9648 GB, free: 15.48 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.CubicHermite.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Math.Functions.Examples.CubicHermite_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Math_Functions_Examples_CubicHermite_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Math_Functions_Examples_CubicHermite.fmu > Buildings_9_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Utilities.Math.Functions.Examples.CubicHermite_res.mat does not exist to compare? outputFormat=mat