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.001236/0.001236, allocations: 121.5 kB / 17.08 MB, free: 5.828 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.00127/0.00127, allocations: 191.7 kB / 20.02 MB, free: 2.934 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.399/1.399, allocations: 222.9 MB / 245.7 MB, free: 4.199 MB / 190.1 MB " [Timeout remaining time 179] 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 2.92/2.92, allocations: 489.3 MB / 0.7687 GB, free: 3.754 MB / 0.6075 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: translateModel(Buildings.Utilities.Math.Functions.Examples.CubicHermite,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y|yMonotone",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.CubicHermite") translateModel(Buildings.Utilities.Math.Functions.Examples.CubicHermite,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y|yMonotone",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.CubicHermite") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001961/0.001961, allocations: 75.89 kB / 1.103 GB, free: 0.7188 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.912/0.914, allocations: 163.8 MB / 1.263 GB, free: 7.992 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.CubicHermite): time 0.001639/0.9157, allocations: 0.619 MB / 1.263 GB, free: 7.621 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.00167/0.9174, allocations: 1.377 MB / 1.265 GB, free: 6.637 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.561e-05/0.9174, allocations: 0 / 1.265 GB, free: 6.637 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 5.183e-05/0.9175, allocations: 6.984 kB / 1.265 GB, free: 6.633 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 3.681e-05/0.9175, allocations: 2.359 kB / 1.265 GB, free: 6.633 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006752/0.9182, allocations: 184.6 kB / 1.265 GB, free: 6.562 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001168/0.9183, allocations: 52.67 kB / 1.265 GB, free: 6.547 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.969e-05/0.9184, allocations: 2.688 kB / 1.265 GB, free: 6.547 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.014e-05/0.9184, allocations: 20.84 kB / 1.265 GB, free: 6.539 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.874e-05/0.9185, allocations: 28.25 kB / 1.265 GB, free: 6.527 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.663e-05/0.9185, allocations: 2.812 kB / 1.265 GB, free: 6.527 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003878/0.9189, allocations: 198 kB / 1.265 GB, free: 6.477 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 4.459e-05/0.919, allocations: 8.203 kB / 1.265 GB, free: 6.477 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 4.459e-05/0.919, allocations: 33.52 kB / 1.265 GB, free: 6.453 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003139/0.9193, allocations: 189.6 kB / 1.265 GB, free: 6.406 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.9193, allocations: 0.7812 kB / 1.265 GB, free: 6.406 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.853e-06/0.9194, allocations: 0 / 1.265 GB, free: 6.406 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.739e-06/0.9194, allocations: 0 / 1.265 GB, free: 6.406 MB / 0.9981 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.000361/0.9197, allocations: 443.1 kB / 1.266 GB, free: 5.953 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.578e-05/0.9198, allocations: 9.031 kB / 1.266 GB, free: 5.953 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.305e-05/0.9198, allocations: 9.016 kB / 1.266 GB, free: 5.949 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.642e-05/0.9199, allocations: 182.1 kB / 1.266 GB, free: 5.738 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.351e-05/0.9199, allocations: 5.375 kB / 1.266 GB, free: 5.734 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.399e-05/0.92, allocations: 7.469 kB / 1.266 GB, free: 5.73 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000177/0.9201, allocations: 101.3 kB / 1.266 GB, free: 5.688 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.407e-06/0.9202, allocations: 1.125 kB / 1.266 GB, free: 5.688 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.264e-05/0.9202, allocations: 0.875 kB / 1.266 GB, free: 5.688 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.9202, allocations: 0.6094 kB / 1.266 GB, free: 5.688 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001078/0.9203, allocations: 64.45 kB / 1.266 GB, free: 5.68 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001373/0.9204, allocations: 171.1 kB / 1.266 GB, free: 5.484 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000122/0.9206, allocations: 81.52 kB / 1.266 GB, free: 5.453 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001023/0.9207, allocations: 74.31 kB / 1.266 GB, free: 5.434 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 9.488e-06/0.9207, allocations: 0.9062 kB / 1.266 GB, free: 5.434 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.912e-05/0.9207, allocations: 36.06 kB / 1.266 GB, free: 5.391 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=4): time 1.002e-06/0.9207, allocations: 0 / 1.266 GB, free: 5.391 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4): time 0.0004089/0.9211, allocations: 252.3 kB / 1.267 GB, free: 5.309 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.619e-05/0.9212, allocations: 80.72 kB / 1.267 GB, free: 5.215 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001128/0.9213, allocations: 149.6 kB / 1.267 GB, free: 5.098 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.161e-05/0.9213, allocations: 31.25 kB / 1.267 GB, free: 5.062 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 3.005e-05/0.9214, allocations: 88.73 kB / 1.267 GB, free: 4.977 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.414e-05/0.9214, allocations: 19.78 kB / 1.267 GB, free: 4.961 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.228e-05/0.9214, allocations: 27.72 kB / 1.267 GB, free: 4.941 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.663e-05/0.9215, allocations: 316 kB / 1.267 GB, free: 4.629 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001491/0.9216, allocations: 105.5 kB / 1.267 GB, free: 4.613 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001401/0.9218, allocations: 106.6 kB / 1.268 GB, free: 4.598 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002891/0.9221, allocations: 277.4 kB / 1.268 GB, free: 4.465 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.9221, allocations: 4.938 kB / 1.268 GB, free: 4.461 MB / 0.9981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003783/0.9225, allocations: 322.6 kB / 1.268 GB, free: 4.328 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 4.732e-05/0.9225, allocations: 72.39 kB / 1.268 GB, free: 4.262 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.199e-06/0.9225, allocations: 1.172 kB / 1.268 GB, free: 4.262 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.444e-05/0.9226, allocations: 4.719 kB / 1.268 GB, free: 4.258 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.91e-07/0.9226, allocations: 0 / 1.268 GB, free: 4.258 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.959e-06/0.9226, allocations: 1.578 kB / 1.268 GB, free: 4.258 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001404/0.9227, allocations: 10.36 kB / 1.268 GB, free: 4.254 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.558e-05/0.9227, allocations: 4.156 kB / 1.268 GB, free: 4.254 MB / 0.9981 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 7.976e-05/0.9228, allocations: 150.9 kB / 1.268 GB, free: 4.105 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.855e-05/0.9229, allocations: 12.64 kB / 1.268 GB, free: 4.098 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.736e-05/0.9229, allocations: 11.17 kB / 1.268 GB, free: 4.086 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.312e-06/0.9229, allocations: 0 / 1.268 GB, free: 4.086 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.9229, allocations: 0.625 kB / 1.268 GB, free: 4.086 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.405e-06/0.9229, allocations: 0.7031 kB / 1.268 GB, free: 4.086 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.036e-05/0.923, allocations: 172.4 kB / 1.269 GB, free: 3.891 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.923, allocations: 0.5156 kB / 1.269 GB, free: 3.891 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.582e-06/0.923, allocations: 4.656 kB / 1.269 GB, free: 3.887 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.132e-06/0.923, allocations: 3.938 kB / 1.269 GB, free: 3.883 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.159e-05/0.923, allocations: 6.938 kB / 1.269 GB, free: 3.879 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.923, allocations: 0.9062 kB / 1.269 GB, free: 3.879 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.923, allocations: 4.547 kB / 1.269 GB, free: 3.875 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002621/0.9233, allocations: 232.5 kB / 1.269 GB, free: 3.754 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.919e-05/0.9233, allocations: 87.8 kB / 1.269 GB, free: 3.652 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.933e-05/0.9233, allocations: 3 kB / 1.269 GB, free: 3.652 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.656e-05/0.9234, allocations: 8.406 kB / 1.269 GB, free: 3.648 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.806e-05/0.9235, allocations: 6.625 kB / 1.269 GB, free: 3.648 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.865e-06/0.9235, allocations: 6.312 kB / 1.269 GB, free: 3.645 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 5.641e-05/0.9235, allocations: 110.2 kB / 1.269 GB, free: 3.562 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9235, allocations: 0 / 1.269 GB, free: 3.562 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003338/0.9239, allocations: 62.09 kB / 1.269 GB, free: 3.559 MB / 0.9981 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.0002559/0.9241, allocations: 159.4 kB / 1.269 GB, free: 3.453 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0003996/0.9245, allocations: 372.5 kB / 1.27 GB, free: 3.27 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.9246, allocations: 0 / 1.27 GB, free: 3.27 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001299/0.9247, allocations: 137.7 kB / 1.27 GB, free: 3.191 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001402/0.9248, allocations: 4.812 kB / 1.27 GB, free: 3.191 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003237/0.9252, allocations: 243.5 kB / 1.27 GB, free: 3.023 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001095/0.9253, allocations: 0.6908 MB / 1.271 GB, free: 2.328 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.527e-06/0.9253, allocations: 8.156 kB / 1.271 GB, free: 2.32 MB / 0.9981 GB Notification: Performance of SimCode: time 2.2e-07/0.9253, allocations: 0 / 1.271 GB, free: 2.32 MB / 0.9981 GB Notification: Performance of Templates: time 0.003692/0.929, allocations: 1.658 MB / 1.272 GB, free: 2.188 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.CubicHermite.makefile [Timeout 300] (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 & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.CubicHermite -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe 2>&1) [Timeout 800] 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: 11.26017425605096]