Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001284/0.001284, allocations: 108.9 kB / 16.45 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001332/0.001332, allocations: 192.5 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.496/1.496, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.33/3.33, allocations: 497.2 MB / 0.7811 GB, free: 33.67 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.CubicHermite,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Functions_Examples_CubicHermite",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.CubicHermite,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Functions_Examples_CubicHermite",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001927/0.001927, allocations: 73.91 kB / 1.134 GB, free: 33.59 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3525/0.3545, allocations: 173.9 MB / 1.304 GB, free: 1.492 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.CubicHermite): time 0.002023/0.3565, allocations: 0.6133 MB / 1.305 GB, free: 0.8828 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.002067/0.3586, allocations: 1.393 MB / 1.306 GB, free: 15.47 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.196e-05/0.3586, allocations: 0 / 1.306 GB, free: 15.47 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 5.818e-05/0.3587, allocations: 7.922 kB / 1.306 GB, free: 15.46 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 4.03e-05/0.3587, allocations: 3.938 kB / 1.306 GB, free: 15.46 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007168/0.3594, allocations: 183 kB / 1.306 GB, free: 15.29 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001205/0.3595, allocations: 47.89 kB / 1.306 GB, free: 15.24 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 4.218e-05/0.3596, allocations: 4.281 kB / 1.306 GB, free: 15.23 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 3.675e-05/0.3596, allocations: 19.92 kB / 1.306 GB, free: 15.21 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 8.876e-05/0.3597, allocations: 27.91 kB / 1.306 GB, free: 15.19 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.507e-05/0.3597, allocations: 0 / 1.306 GB, free: 15.19 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003662/0.3601, allocations: 211.7 kB / 1.306 GB, free: 14.98 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 5.002e-05/0.3601, allocations: 11.94 kB / 1.306 GB, free: 14.97 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 5.025e-05/0.3602, allocations: 23.86 kB / 1.306 GB, free: 14.95 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0002936/0.3605, allocations: 195.4 kB / 1.307 GB, free: 14.75 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.3605, allocations: 4 kB / 1.307 GB, free: 14.75 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.773e-06/0.3605, allocations: 0 / 1.307 GB, free: 14.75 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.48e-06/0.3605, allocations: 0 / 1.307 GB, free: 14.75 MB / 1.014 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.0005489/0.361, allocations: 442.4 kB / 1.307 GB, free: 14.26 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.179e-05/0.3611, allocations: 12.56 kB / 1.307 GB, free: 14.25 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.846e-05/0.3611, allocations: 34.75 kB / 1.307 GB, free: 14.2 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.516e-05/0.3612, allocations: 4.891 kB / 1.307 GB, free: 14.2 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001678/0.3613, allocations: 184.3 kB / 1.307 GB, free: 13.98 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.027e-05/0.3613, allocations: 384 / 1.307 GB, free: 13.98 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.933e-05/0.3613, allocations: 8.375 kB / 1.307 GB, free: 13.97 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001945/0.3615, allocations: 97.77 kB / 1.307 GB, free: 13.87 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.355e-06/0.3616, allocations: 0 / 1.307 GB, free: 13.87 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.059e-05/0.3616, allocations: 0 / 1.307 GB, free: 13.87 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.3616, allocations: 0 / 1.307 GB, free: 13.87 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.466e-05/0.3617, allocations: 59.95 kB / 1.307 GB, free: 13.81 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001983/0.3619, allocations: 181.6 kB / 1.308 GB, free: 13.59 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001322/0.362, allocations: 78.53 kB / 1.308 GB, free: 13.5 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.565e-05/0.3621, allocations: 68.89 kB / 1.308 GB, free: 13.43 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 5.159e-06/0.3621, allocations: 0 / 1.308 GB, free: 13.43 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.759e-05/0.3621, allocations: 34.5 kB / 1.308 GB, free: 13.39 MB / 1.014 GB Notification: Performance of pre-optimization done (n=4): time 8.42e-07/0.3621, allocations: 3.938 kB / 1.308 GB, free: 13.38 MB / 1.014 GB Notification: Performance of matching and sorting (n=4): time 0.0004334/0.3626, allocations: 255.2 kB / 1.308 GB, free: 13.12 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.112e-05/0.3626, allocations: 85.09 kB / 1.308 GB, free: 13.02 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001411/0.3628, allocations: 143.5 kB / 1.308 GB, free: 12.87 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.292e-05/0.3628, allocations: 25.7 kB / 1.308 GB, free: 12.84 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 6.181e-05/0.3629, allocations: 96.16 kB / 1.308 GB, free: 12.74 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 2.832e-05/0.3629, allocations: 15.84 kB / 1.308 GB, free: 12.73 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.477e-05/0.3629, allocations: 29.7 kB / 1.308 GB, free: 12.69 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001464/0.3631, allocations: 314.8 kB / 1.309 GB, free: 12.38 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001358/0.3632, allocations: 103.9 kB / 1.309 GB, free: 12.27 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001266/0.3633, allocations: 99.94 kB / 1.309 GB, free: 12.18 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003251/0.3637, allocations: 281.8 kB / 1.309 GB, free: 11.88 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/0.3637, allocations: 0 / 1.309 GB, free: 11.88 MB / 1.014 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003925/0.3641, allocations: 332.8 kB / 1.31 GB, free: 11.54 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 7.055e-05/0.3641, allocations: 71.39 kB / 1.31 GB, free: 11.45 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.3641, allocations: 0 / 1.31 GB, free: 11.45 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.696e-05/0.3642, allocations: 0 / 1.31 GB, free: 11.45 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.547e-06/0.3642, allocations: 3.984 kB / 1.31 GB, free: 11.45 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.3642, allocations: 0 / 1.31 GB, free: 11.45 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001752/0.3643, allocations: 11.95 kB / 1.31 GB, free: 11.44 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.739e-05/0.3644, allocations: 8 kB / 1.31 GB, free: 11.43 MB / 1.014 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 0.0001226/0.3645, allocations: 147.5 kB / 1.31 GB, free: 11.27 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.842e-05/0.3645, allocations: 11.97 kB / 1.31 GB, free: 11.26 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.227e-05/0.3645, allocations: 12.25 kB / 1.31 GB, free: 11.24 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.3645, allocations: 3.984 kB / 1.31 GB, free: 11.23 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.3645, allocations: 0 / 1.31 GB, free: 11.23 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.314e-06/0.3645, allocations: 0 / 1.31 GB, free: 11.23 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001477/0.3647, allocations: 169.6 kB / 1.31 GB, free: 11.02 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.559e-06/0.3647, allocations: 7.922 kB / 1.31 GB, free: 11.01 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.41e-07/0.3647, allocations: 0 / 1.31 GB, free: 11.01 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.332e-06/0.3647, allocations: 0 / 1.31 GB, free: 11.01 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.225e-05/0.3647, allocations: 4 kB / 1.31 GB, free: 11.01 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.3647, allocations: 0 / 1.31 GB, free: 11.01 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.3647, allocations: 4 kB / 1.31 GB, free: 11 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003157/0.365, allocations: 234.6 kB / 1.31 GB, free: 10.75 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 5.242e-05/0.3651, allocations: 85.12 kB / 1.31 GB, free: 10.65 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.217e-05/0.3651, allocations: 11.92 kB / 1.31 GB, free: 10.64 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.292e-05/0.3651, allocations: 0 / 1.31 GB, free: 10.64 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.564e-05/0.3652, allocations: 7.984 kB / 1.31 GB, free: 10.63 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.879e-06/0.3652, allocations: 8 kB / 1.31 GB, free: 10.62 MB / 1.014 GB Notification: Performance of sorting global known variables: time 8.418e-05/0.3653, allocations: 113.2 kB / 1.31 GB, free: 10.51 MB / 1.014 GB Notification: Performance of sort global known variables: time 1e-07/0.3653, allocations: 0 / 1.31 GB, free: 10.51 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0003025/0.3656, allocations: 63.94 kB / 1.31 GB, free: 10.45 MB / 1.014 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.0007969/0.3664, allocations: 0.8169 MB / 1.311 GB, free: 9.598 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0004198/0.3668, allocations: 330.7 kB / 1.312 GB, free: 9.25 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.3668, allocations: 0 / 1.312 GB, free: 9.25 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0001356/0.3669, allocations: 123.3 kB / 1.312 GB, free: 9.117 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001517/0.3671, allocations: 8 kB / 1.312 GB, free: 9.109 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002352/0.3695, allocations: 2.129 MB / 1.314 GB, free: 6.883 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000347/0.3698, allocations: 0.6963 MB / 1.314 GB, free: 6.16 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 6.443e-06/0.3698, allocations: 0 / 1.314 GB, free: 6.16 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.661e-05/0.3698, allocations: 23.36 kB / 1.314 GB, free: 6.137 MB / 1.014 GB Notification: Performance of SimCode: time 4.81e-07/0.3698, allocations: 0 / 1.314 GB, free: 6.137 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02698/0.3968, allocations: 3.314 MB / 1.318 GB, free: 2.938 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.017/8.414, allocations: 1.172 kB / 1.318 GB, free: 2.938 MB / 1.014 GB " [Timeout remaining time 292] (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.CubicHermite.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Functions.Examples.CubicHermite_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Functions_Examples_CubicHermite_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Math_Functions_Examples_CubicHermite.fmu > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.CubicHermite_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_CubicHermite.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.CubicHermite.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.33234603703022]