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.001022/0.001022, allocations: 91.53 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.001398/0.001398, 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.337/1.337, allocations: 223.2 MB / 240 MB, free: 5.305 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.359/2.359, allocations: 390.4 MB / 0.6655 GB, free: 2.84 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003809/0.000381, allocations: 8 kB / 0.8149 GB, free: 14.06 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7087/0.7091, allocations: 142.3 MB / 0.9539 GB, free: 8.047 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.CubicHermite): time 0.0007523/0.7099, allocations: 340.7 kB / 0.9542 GB, free: 7.789 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001494/0.7114, allocations: 1.332 MB / 0.9555 GB, free: 6.73 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.683e-05/0.7115, allocations: 0 / 0.9555 GB, free: 6.73 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 5.294e-05/0.7115, allocations: 9.328 kB / 0.9555 GB, free: 6.723 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.587e-05/0.7116, allocations: 5.344 kB / 0.9555 GB, free: 6.719 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005038/0.7121, allocations: 133.1 kB / 0.9556 GB, free: 6.637 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.839e-05/0.7122, allocations: 45.06 kB / 0.9557 GB, free: 6.609 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.331e-05/0.7122, allocations: 1.5 kB / 0.9557 GB, free: 6.609 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.819e-05/0.7123, allocations: 17.7 kB / 0.9557 GB, free: 6.602 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.989e-05/0.7123, allocations: 25.56 kB / 0.9557 GB, free: 6.586 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.441e-05/0.7124, allocations: 7.75 kB / 0.9557 GB, free: 6.582 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002647/0.7126, allocations: 182 kB / 0.9559 GB, free: 6.488 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.528e-05/0.7127, allocations: 18.7 kB / 0.9559 GB, free: 6.477 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.736e-05/0.7127, allocations: 28.17 kB / 0.9559 GB, free: 6.445 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001641/0.7129, allocations: 114.9 kB / 0.956 GB, free: 6.387 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.129e-06/0.7129, allocations: 0 / 0.956 GB, free: 6.387 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.483e-06/0.7129, allocations: 0 / 0.956 GB, free: 6.387 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.887e-06/0.7129, allocations: 0 / 0.956 GB, free: 6.387 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.0003041/0.7132, allocations: 436.7 kB / 0.9565 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.128e-05/0.7133, allocations: 10.25 kB / 0.9565 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.573e-05/0.7133, allocations: 39.89 kB / 0.9565 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.103e-05/0.7133, allocations: 10.98 kB / 0.9565 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.961e-05/0.7134, allocations: 174.5 kB / 0.9567 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.276e-05/0.7135, allocations: 6.375 kB / 0.9567 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.436e-05/0.7135, allocations: 2.469 kB / 0.9567 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001676/0.7136, allocations: 96.8 kB / 0.9568 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.103e-06/0.7137, allocations: 1.438 kB / 0.9568 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.458e-06/0.7137, allocations: 0 / 0.9568 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.12e-06/0.7137, allocations: 1.406 kB / 0.9568 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.446e-05/0.7138, allocations: 64.09 kB / 0.9569 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000127/0.7139, allocations: 179.8 kB / 0.957 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001121/0.714, allocations: 81.44 kB / 0.9571 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.605e-05/0.7141, allocations: 70.05 kB / 0.9572 GB, free: 5.301 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 6.973e-06/0.7141, allocations: 0 / 0.9572 GB, free: 5.301 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.795e-05/0.7142, allocations: 31.75 kB / 0.9572 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 8.31e-07/0.7142, allocations: 0 / 0.9572 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.000381/0.7145, allocations: 258 kB / 0.9574 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.87e-05/0.7146, allocations: 79.73 kB / 0.9575 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.662e-05/0.7147, allocations: 147.2 kB / 0.9577 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.207e-05/0.7147, allocations: 27.73 kB / 0.9577 GB, free: 4.887 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.282e-05/0.7147, allocations: 90.3 kB / 0.9578 GB, free: 4.797 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.012e-05/0.7148, allocations: 15 kB / 0.9578 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.722e-06/0.7148, allocations: 5.125 kB / 0.9578 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.758e-05/0.7148, allocations: 317 kB / 0.9581 GB, free: 4.465 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001298/0.715, allocations: 100.3 kB / 0.9582 GB, free: 4.438 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001143/0.7151, allocations: 107.9 kB / 0.9583 GB, free: 4.402 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001388/0.7152, allocations: 166.2 kB / 0.9584 GB, free: 4.305 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.7152, allocations: 0 / 0.9584 GB, free: 4.305 MB / 0.7169 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003043/0.7155, allocations: 317.5 kB / 0.9588 GB, free: 4.141 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 4.308e-05/0.7156, allocations: 75.75 kB / 0.9588 GB, free: 4.066 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.7156, allocations: 0 / 0.9588 GB, free: 4.066 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.052e-05/0.7156, allocations: 3.938 kB / 0.9588 GB, free: 4.062 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.064e-06/0.7156, allocations: 1.375 kB / 0.9588 GB, free: 4.062 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.538e-06/0.7156, allocations: 0 / 0.9588 GB, free: 4.062 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001422/0.7158, allocations: 18.78 kB / 0.9588 GB, free: 4.051 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.486e-05/0.7158, allocations: 10.7 kB / 0.9589 GB, free: 4.043 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 8.084e-05/0.7159, allocations: 151.9 kB / 0.959 GB, free: 3.891 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.349e-05/0.7159, allocations: 10.59 kB / 0.959 GB, free: 3.883 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.475e-05/0.7159, allocations: 10.98 kB / 0.959 GB, free: 3.871 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.7159, allocations: 0 / 0.959 GB, free: 3.871 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.716, allocations: 0 / 0.959 GB, free: 3.871 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.826e-06/0.716, allocations: 1.375 kB / 0.959 GB, free: 3.871 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.43e-05/0.716, allocations: 176.6 kB / 0.9592 GB, free: 3.66 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.716, allocations: 4 kB / 0.9592 GB, free: 3.656 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.21e-07/0.716, allocations: 0 / 0.9592 GB, free: 3.656 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.293e-06/0.7161, allocations: 1.375 kB / 0.9592 GB, free: 3.656 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.006e-05/0.7161, allocations: 1.375 kB / 0.9592 GB, free: 3.656 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.7161, allocations: 1.375 kB / 0.9592 GB, free: 3.656 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.7161, allocations: 0 / 0.9592 GB, free: 3.656 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002297/0.7163, allocations: 228.5 kB / 0.9594 GB, free: 3.512 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.236e-05/0.7163, allocations: 83.77 kB / 0.9595 GB, free: 3.414 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.897e-05/0.7164, allocations: 1.375 kB / 0.9595 GB, free: 3.414 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.436e-05/0.7164, allocations: 8.156 kB / 0.9595 GB, free: 3.41 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.437e-05/0.7165, allocations: 12.11 kB / 0.9595 GB, free: 3.402 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.664e-06/0.7165, allocations: 2.75 kB / 0.9595 GB, free: 3.402 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 5.456e-05/0.7166, allocations: 108.8 kB / 0.9596 GB, free: 3.312 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7166, allocations: 3.938 kB / 0.9596 GB, free: 3.309 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002818/0.7169, allocations: 64.14 kB / 0.9597 GB, free: 3.301 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.0005784/0.7174, allocations: 0.8135 MB / 0.9605 GB, free: 2.609 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003841/0.7178, allocations: 369.1 kB / 0.9608 GB, free: 2.387 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.7179, allocations: 0.9062 kB / 0.9608 GB, free: 2.387 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001298/0.718, allocations: 139.2 kB / 0.961 GB, free: 2.293 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001485/0.7181, allocations: 11.12 kB / 0.961 GB, free: 2.285 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001235/0.7194, allocations: 1.017 MB / 0.962 GB, free: 1.688 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001229/0.7195, allocations: 0.6902 MB / 0.9626 GB, free: 0.9844 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 5.33e-06/0.7195, allocations: 0 / 0.9626 GB, free: 0.9844 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.238e-05/0.7196, allocations: 20.73 kB / 0.9627 GB, free: 0.9648 MB / 0.7169 GB Notification: Performance of SimCode: time 3.31e-07/0.7196, allocations: 0 / 0.9627 GB, free: 0.9648 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01266/0.7322, allocations: 2.945 MB / 0.9655 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001607/0.7324, allocations: 197.2 kB / 0.9657 GB, free: 15.3 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.682/2.415, allocations: 0 / 0.9657 GB, free: 15.3 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