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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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: translateModel(Buildings.Utilities.Math.Functions.Examples.CubicHermite,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y|yMonotone",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Functions.Examples.CubicHermite") translateModel(Buildings.Utilities.Math.Functions.Examples.CubicHermite,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y|yMonotone",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Functions.Examples.CubicHermite") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001066/0.001066, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001129/0.001129, allocations: 192 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.25/1.25, allocations: 222.9 MB / 240.2 MB, free: 4.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.168/2.168, allocations: 390.2 MB / 0.6647 GB, free: 252 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001282/0.001282, allocations: 67.91 kB / 0.8125 GB, free: 14.25 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6268/0.6281, allocations: 140.4 MB / 0.9496 GB, free: 9.094 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.CubicHermite): time 0.001732/0.6299, allocations: 0.6095 MB / 0.9502 GB, free: 8.621 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001462/0.6313, allocations: 1.385 MB / 0.9515 GB, free: 7.516 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.638e-05/0.6314, allocations: 0 / 0.9515 GB, free: 7.516 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.821e-05/0.6314, allocations: 0 / 0.9515 GB, free: 7.516 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 3.729e-05/0.6315, allocations: 1.656 kB / 0.9515 GB, free: 7.516 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000567/0.6321, allocations: 189.6 kB / 0.9517 GB, free: 7.402 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.779e-05/0.6322, allocations: 50.83 kB / 0.9518 GB, free: 7.379 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.74e-05/0.6322, allocations: 1.156 kB / 0.9518 GB, free: 7.379 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.22e-05/0.6322, allocations: 18.11 kB / 0.9518 GB, free: 7.371 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.838e-05/0.6323, allocations: 36.2 kB / 0.9518 GB, free: 7.344 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.592e-05/0.6323, allocations: 2.906 kB / 0.9518 GB, free: 7.344 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002854/0.6326, allocations: 190.5 kB / 0.952 GB, free: 7.246 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.24e-05/0.6326, allocations: 14.56 kB / 0.952 GB, free: 7.238 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.586e-05/0.6327, allocations: 21.92 kB / 0.952 GB, free: 7.223 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002291/0.6329, allocations: 194.3 kB / 0.9522 GB, free: 7.105 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.6329, allocations: 0 / 0.9522 GB, free: 7.105 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.944e-06/0.6329, allocations: 5.5 kB / 0.9522 GB, free: 7.102 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.616e-06/0.633, allocations: 0 / 0.9522 GB, free: 7.102 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.0003297/0.6333, allocations: 444.8 kB / 0.9527 GB, free: 6.637 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.129e-05/0.6333, allocations: 10.03 kB / 0.9527 GB, free: 6.637 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.697e-05/0.6334, allocations: 3.5 kB / 0.9527 GB, free: 6.637 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.89e-05/0.6334, allocations: 174.1 kB / 0.9528 GB, free: 6.434 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.192e-05/0.6335, allocations: 2.375 kB / 0.9528 GB, free: 6.434 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.141e-05/0.6335, allocations: 2.281 kB / 0.9528 GB, free: 6.434 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001647/0.6337, allocations: 102.7 kB / 0.9529 GB, free: 6.375 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.194e-06/0.6337, allocations: 4 kB / 0.9529 GB, free: 6.371 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.042e-05/0.6337, allocations: 1.156 kB / 0.9529 GB, free: 6.371 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.176e-06/0.6337, allocations: 0 / 0.9529 GB, free: 6.371 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.888e-05/0.6338, allocations: 63.92 kB / 0.953 GB, free: 6.352 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001276/0.6339, allocations: 180.2 kB / 0.9532 GB, free: 6.137 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001059/0.634, allocations: 76.62 kB / 0.9532 GB, free: 6.098 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.24e-05/0.6341, allocations: 70.45 kB / 0.9533 GB, free: 6.07 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 9.307e-06/0.6341, allocations: 5.25 kB / 0.9533 GB, free: 6.066 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.812e-05/0.6342, allocations: 35.81 kB / 0.9534 GB, free: 6.023 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 9.52e-07/0.6342, allocations: 0 / 0.9534 GB, free: 6.023 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0003506/0.6345, allocations: 254.9 kB / 0.9536 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.294e-05/0.6346, allocations: 82.52 kB / 0.9537 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.862e-05/0.6346, allocations: 143.6 kB / 0.9538 GB, free: 5.684 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.125e-05/0.6347, allocations: 26.83 kB / 0.9538 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.977e-05/0.6347, allocations: 91 kB / 0.9539 GB, free: 5.562 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.369e-05/0.6347, allocations: 22.53 kB / 0.9539 GB, free: 5.543 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.38e-05/0.6348, allocations: 29.98 kB / 0.954 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.902e-05/0.6348, allocations: 315.9 kB / 0.9543 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001108/0.6349, allocations: 105.2 kB / 0.9544 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001091/0.6351, allocations: 96.62 kB / 0.9545 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002234/0.6353, allocations: 278.8 kB / 0.9547 GB, free: 4.984 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.6353, allocations: 0 / 0.9547 GB, free: 4.984 MB / 0.7169 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002955/0.6356, allocations: 325.9 kB / 0.955 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 4.179e-05/0.6356, allocations: 70.98 kB / 0.9551 GB, free: 4.742 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.638e-06/0.6357, allocations: 5.281 kB / 0.9551 GB, free: 4.738 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.456e-05/0.6357, allocations: 0 / 0.9551 GB, free: 4.738 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.142e-06/0.6357, allocations: 7.938 kB / 0.9551 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.11e-06/0.6357, allocations: 1 kB / 0.9551 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001401/0.6358, allocations: 13.08 kB / 0.9551 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.346e-05/0.6359, allocations: 4.188 kB / 0.9551 GB, free: 4.723 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.122e-05/0.6359, allocations: 147.2 kB / 0.9553 GB, free: 4.574 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.72e-05/0.636, allocations: 11.53 kB / 0.9553 GB, free: 4.566 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.372e-05/0.636, allocations: 9.469 kB / 0.9553 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.636, allocations: 1.188 kB / 0.9553 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.076e-06/0.636, allocations: 0 / 0.9553 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.606e-06/0.636, allocations: 3.984 kB / 0.9553 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.509e-05/0.6361, allocations: 169.1 kB / 0.9555 GB, free: 4.348 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.6361, allocations: 1.438 kB / 0.9555 GB, free: 4.348 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.112e-06/0.6361, allocations: 3.938 kB / 0.9555 GB, free: 4.344 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.6361, allocations: 7.969 kB / 0.9555 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.065e-05/0.6361, allocations: 6.875 kB / 0.9555 GB, free: 4.332 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.82e-07/0.6361, allocations: 0 / 0.9555 GB, free: 4.332 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.6361, allocations: 3.984 kB / 0.9555 GB, free: 4.328 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002231/0.6364, allocations: 229.5 kB / 0.9557 GB, free: 4.184 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.333e-05/0.6364, allocations: 91.58 kB / 0.9558 GB, free: 4.078 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.816e-05/0.6364, allocations: 1.406 kB / 0.9558 GB, free: 4.078 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.469e-05/0.6365, allocations: 2.812 kB / 0.9558 GB, free: 4.078 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.541e-05/0.6365, allocations: 16.73 kB / 0.9558 GB, free: 4.066 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.464e-06/0.6365, allocations: 3.062 kB / 0.9558 GB, free: 4.066 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.879e-05/0.6366, allocations: 105.9 kB / 0.9559 GB, free: 3.98 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.6366, allocations: 4.031 kB / 0.9559 GB, free: 3.977 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002761/0.6369, allocations: 63.97 kB / 0.956 GB, free: 3.969 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002585/0.6371, allocations: 148.1 kB / 0.9561 GB, free: 3.867 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003448/0.6375, allocations: 374 kB / 0.9565 GB, free: 3.641 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.6375, allocations: 0 / 0.9565 GB, free: 3.641 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001167/0.6376, allocations: 135.7 kB / 0.9566 GB, free: 3.551 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001499/0.6378, allocations: 8.125 kB / 0.9566 GB, free: 3.547 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003186/0.6381, allocations: 217.4 kB / 0.9568 GB, free: 3.391 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001228/0.6382, allocations: 0.6941 MB / 0.9575 GB, free: 2.684 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 6.072e-06/0.6383, allocations: 0 / 0.9575 GB, free: 2.684 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.398e-06/0.6383, allocations: 8.812 kB / 0.9575 GB, free: 2.676 MB / 0.7169 GB Notification: Performance of SimCode: time 2.9e-07/0.6383, allocations: 0 / 0.9575 GB, free: 2.676 MB / 0.7169 GB Notification: Performance of Templates: time 0.004496/0.6428, allocations: 2.058 MB / 0.9595 GB, free: 1.633 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.CubicHermite.makefile (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 & ./Buildings_9_Buildings.Utilities.Math.Functions.Examples.CubicHermite -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Functions.Examples.CubicHermite_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Functions_Examples_CubicHermite.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.CubicHermite.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches