Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_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 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.QuinticHermite,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Functions_Examples_QuinticHermite",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.QuinticHermite,fileNamePrefix="Buildings_9_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.0009314/0.0009314, allocations: 86.8 kB / 15.06 MB, free: 1.09 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.001121/0.001121, allocations: 168.7 kB / 15.95 MB, free: 204 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.359/1.359, allocations: 223.2 MB / 240 MB, free: 5.426 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.372/2.372, allocations: 390.4 MB / 0.6655 GB, free: 2.945 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003859/0.0003859, allocations: 16 kB / 0.8149 GB, free: 14.15 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6386/0.639, allocations: 142.3 MB / 0.9539 GB, free: 8.148 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.QuinticHermite): time 0.0006803/0.6397, allocations: 358.9 kB / 0.9542 GB, free: 7.875 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0003318/0.6401, allocations: 173.1 kB / 0.9544 GB, free: 7.742 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.89e-05/0.6401, allocations: 0 / 0.9544 GB, free: 7.742 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.267e-05/0.6402, allocations: 7.938 kB / 0.9544 GB, free: 7.734 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001449/0.6403, allocations: 13.95 kB / 0.9544 GB, free: 7.723 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001487/0.6405, allocations: 57.81 kB / 0.9544 GB, free: 7.699 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.169e-05/0.6405, allocations: 25.59 kB / 0.9545 GB, free: 7.684 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 5.074e-05/0.6406, allocations: 6.359 kB / 0.9545 GB, free: 7.68 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.277e-05/0.6406, allocations: 13.97 kB / 0.9545 GB, free: 7.672 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.978e-05/0.6407, allocations: 21.69 kB / 0.9545 GB, free: 7.656 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.571e-05/0.6407, allocations: 2.844 kB / 0.9545 GB, free: 7.656 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001539/0.6409, allocations: 101.1 kB / 0.9546 GB, free: 7.59 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.323e-05/0.6409, allocations: 18.09 kB / 0.9546 GB, free: 7.574 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 1.637e-05/0.6409, allocations: 26.73 kB / 0.9547 GB, free: 7.543 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001114/0.6411, allocations: 65.03 kB / 0.9547 GB, free: 7.52 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.107e-06/0.6411, allocations: 1.094 kB / 0.9547 GB, free: 7.52 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.332e-06/0.6411, allocations: 0 / 0.9547 GB, free: 7.52 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.106e-06/0.6411, allocations: 0 / 0.9547 GB, free: 7.52 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004132/0.6415, allocations: 367.7 kB / 0.9551 GB, free: 7.141 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.295e-05/0.6416, allocations: 9.312 kB / 0.9551 GB, free: 7.141 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.671e-05/0.6416, allocations: 31.56 kB / 0.9551 GB, free: 7.102 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.64e-05/0.6416, allocations: 10.23 kB / 0.9551 GB, free: 7.094 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001094/0.6417, allocations: 174.6 kB / 0.9553 GB, free: 6.887 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.003e-05/0.6418, allocations: 5.281 kB / 0.9553 GB, free: 6.883 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.948e-05/0.6418, allocations: 2.406 kB / 0.9553 GB, free: 6.883 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001422/0.6419, allocations: 55.83 kB / 0.9553 GB, free: 6.84 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.18e-05/0.6419, allocations: 4 kB / 0.9553 GB, free: 6.836 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.096e-06/0.642, allocations: 0 / 0.9553 GB, free: 6.836 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.351e-06/0.642, allocations: 1.594 kB / 0.9553 GB, free: 6.836 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001295/0.6421, allocations: 42.61 kB / 0.9554 GB, free: 6.82 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002287/0.6423, allocations: 251.2 kB / 0.9556 GB, free: 6.535 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001817/0.6425, allocations: 85.56 kB / 0.9557 GB, free: 6.484 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.717e-05/0.6426, allocations: 32.88 kB / 0.9557 GB, free: 6.465 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.325e-05/0.6426, allocations: 0 / 0.9557 GB, free: 6.465 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.501e-05/0.6426, allocations: 31.66 kB / 0.9558 GB, free: 6.426 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 8.42e-07/0.6427, allocations: 0 / 0.9558 GB, free: 6.426 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8): time 0.02379/0.6664, allocations: 1.758 MB / 0.9575 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.412e-05/0.6665, allocations: 55.41 kB / 0.9575 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.277e-05/0.6666, allocations: 123.7 kB / 0.9577 GB, free: 5.477 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 4.95e-05/0.6667, allocations: 26.7 kB / 0.9577 GB, free: 5.445 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.378e-05/0.6667, allocations: 90.3 kB / 0.9578 GB, free: 5.355 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 6.548e-05/0.6668, allocations: 22.36 kB / 0.9578 GB, free: 5.336 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.023e-05/0.6668, allocations: 1.312 kB / 0.9578 GB, free: 5.336 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.273e-05/0.6669, allocations: 319.9 kB / 0.9581 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004775/0.6674, allocations: 162.4 kB / 0.9583 GB, free: 4.953 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004711/0.6678, allocations: 162.9 kB / 0.9584 GB, free: 4.891 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004896/0.6683, allocations: 157.2 kB / 0.9586 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.21e-07/0.6683, allocations: 0 / 0.9586 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001185/0.6695, allocations: 392.2 kB / 0.9589 GB, free: 4.652 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.838e-05/0.6696, allocations: 6.469 kB / 0.9589 GB, free: 4.652 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.6696, allocations: 1.172 kB / 0.9589 GB, free: 4.652 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.414e-05/0.6696, allocations: 0.6875 kB / 0.9589 GB, free: 4.652 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001374/0.671, allocations: 77.39 kB / 0.959 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.232e-06/0.671, allocations: 1.156 kB / 0.959 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001139/0.6721, allocations: 55.91 kB / 0.9591 GB, free: 4.605 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.043e-05/0.6722, allocations: 7.422 kB / 0.9591 GB, free: 4.602 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: 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.0001384/0.6723, allocations: 124.7 kB / 0.9592 GB, free: 4.473 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.403e-05/0.6724, allocations: 9.953 kB / 0.9592 GB, free: 4.465 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001366/0.6726, allocations: 23.45 kB / 0.9592 GB, free: 4.445 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.387e-06/0.6726, allocations: 0.9375 kB / 0.9592 GB, free: 4.445 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.6726, allocations: 0.6562 kB / 0.9592 GB, free: 4.445 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.6726, allocations: 5 kB / 0.9592 GB, free: 4.441 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004844/0.6774, allocations: 0.9168 MB / 0.9601 GB, free: 3.773 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.6775, allocations: 0.9688 kB / 0.9601 GB, free: 3.773 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009711/0.6784, allocations: 71.78 kB / 0.9602 GB, free: 3.746 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.907e-06/0.6784, allocations: 1.094 kB / 0.9602 GB, free: 3.746 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.747e-05/0.6785, allocations: 15.09 kB / 0.9602 GB, free: 3.734 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/0.6785, allocations: 4.875 kB / 0.9602 GB, free: 3.73 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.744e-06/0.6785, allocations: 4.969 kB / 0.9602 GB, free: 3.727 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009072/0.6794, allocations: 370.9 kB / 0.9606 GB, free: 3.492 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.196e-05/0.6795, allocations: 87.81 kB / 0.9607 GB, free: 3.391 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.924e-05/0.6795, allocations: 5.312 kB / 0.9607 GB, free: 3.387 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008864/0.6804, allocations: 44.11 kB / 0.9607 GB, free: 3.375 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.275e-05/0.6805, allocations: 10.33 kB / 0.9607 GB, free: 3.367 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.462e-05/0.6805, allocations: 7.641 kB / 0.9607 GB, free: 3.363 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.255e-05/0.6806, allocations: 92.89 kB / 0.9608 GB, free: 3.281 MB / 0.7169 GB Notification: Performance of sort global known variables: time 4.1e-07/0.6806, allocations: 3.938 kB / 0.9608 GB, free: 3.277 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0004087/0.681, allocations: 102.6 kB / 0.9609 GB, free: 3.262 MB / 0.7169 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.001164/0.6822, allocations: 0.9048 MB / 0.9618 GB, free: 2.496 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0009331/0.6831, allocations: 287.5 kB / 0.9621 GB, free: 2.391 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.6831, allocations: 1.531 kB / 0.9621 GB, free: 2.391 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0004256/0.6835, allocations: 120.5 kB / 0.9622 GB, free: 2.348 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002884/0.6838, allocations: 9.766 kB / 0.9622 GB, free: 2.344 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004449/0.6883, allocations: 1.607 MB / 0.9638 GB, free: 1.316 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.916e-05/0.6884, allocations: 0.6947 MB / 0.9644 GB, free: 0.6055 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0005535/0.689, allocations: 52.09 kB / 0.9645 GB, free: 0.5664 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004727/0.6894, allocations: 38.55 kB / 0.9645 GB, free: 0.5352 MB / 0.7169 GB Notification: Performance of SimCode: time 3.41e-07/0.6894, allocations: 0 / 0.9645 GB, free: 0.5352 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02243/0.7119, allocations: 9.018 MB / 0.9733 GB, free: 11.77 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001577/0.7121, allocations: 204.7 kB / 0.9735 GB, free: 11.52 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.05/2.762, allocations: 0 / 0.9735 GB, free: 11.52 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Math.Functions.Examples.QuinticHermite_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Math_Functions_Examples_QuinticHermite_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Math_Functions_Examples_QuinticHermite.fmu > Buildings_9_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Utilities.Math.Functions.Examples.QuinticHermite_res.mat does not exist to compare? outputFormat=mat