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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009826/0.0009826, allocations: 92.22 kB / 19.65 MB, free: 276 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001081/0.001081, allocations: 173 kB / 23.03 MB, free: 1.543 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9004/0.9004, allocations: 177.1 MB / 203.4 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.03/2.03, allocations: 429.5 MB / 0.6733 GB, free: 4.051 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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 1.452e-06/1.452e-06, allocations: 0 / 0.8782 GB, free: 6.234 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.856e-05/2.002e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.23 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.CubicHermite): time 0.001089/0.001109, allocations: 0.6399 MB / 0.8788 GB, free: 5.609 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001396/0.002506, allocations: 1.426 MB / 0.8802 GB, free: 4.172 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.713e-05/0.002533, allocations: 0.75 kB / 0.8802 GB, free: 4.172 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 6.221e-05/0.002595, allocations: 4 kB / 0.8802 GB, free: 4.168 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 4.089e-05/0.002636, allocations: 8.438 kB / 0.8803 GB, free: 4.16 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005845/0.00322, allocations: 185.2 kB / 0.8804 GB, free: 3.98 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 9.468e-05/0.003315, allocations: 40.69 kB / 0.8805 GB, free: 3.941 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 3.27e-05/0.003348, allocations: 3.984 kB / 0.8805 GB, free: 3.938 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 5.052e-05/0.003398, allocations: 35.88 kB / 0.8805 GB, free: 3.906 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 4.834e-05/0.003447, allocations: 19.97 kB / 0.8805 GB, free: 3.887 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.334e-05/0.00346, allocations: 4 kB / 0.8805 GB, free: 3.883 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002775/0.003737, allocations: 211.6 kB / 0.8807 GB, free: 3.676 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 4.3e-05/0.00378, allocations: 15.92 kB / 0.8807 GB, free: 3.66 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 3.401e-05/0.003814, allocations: 15.94 kB / 0.8808 GB, free: 3.645 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0002478/0.004062, allocations: 231.5 kB / 0.881 GB, free: 3.418 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.064e-06/0.004064, allocations: 0 / 0.881 GB, free: 3.418 MB / 0.8386 GB Notification: Performance of FrontEnd: time 7.01e-07/0.004065, allocations: 0 / 0.881 GB, free: 3.418 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.847e-06/0.004069, allocations: 0 / 0.881 GB, free: 3.418 MB / 0.8386 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.0003896/0.004458, allocations: 476.9 kB / 0.8814 GB, free: 2.906 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.679e-05/0.004495, allocations: 8.031 kB / 0.8814 GB, free: 2.898 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.459e-05/0.00454, allocations: 8.891 kB / 0.8815 GB, free: 2.891 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.34e-05/0.004633, allocations: 127.1 kB / 0.8816 GB, free: 2.742 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.338e-05/0.004647, allocations: 5.375 kB / 0.8816 GB, free: 2.738 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.188e-05/0.004658, allocations: 4.375 kB / 0.8816 GB, free: 2.734 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001565/0.004815, allocations: 115.9 kB / 0.8817 GB, free: 2.609 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.011e-06/0.004821, allocations: 1.25 kB / 0.8817 GB, free: 2.609 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.456e-06/0.004829, allocations: 384 / 0.8817 GB, free: 2.609 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.363e-06/0.004837, allocations: 3.938 kB / 0.8817 GB, free: 2.605 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.154e-05/0.004898, allocations: 86.78 kB / 0.8818 GB, free: 2.516 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003614/0.00526, allocations: 132.6 kB / 0.8819 GB, free: 2.352 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 9.35e-05/0.005353, allocations: 117.8 kB / 0.882 GB, free: 2.219 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.277e-05/0.005416, allocations: 93.42 kB / 0.8821 GB, free: 2.117 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 4.628e-06/0.005421, allocations: 3.984 kB / 0.8821 GB, free: 2.113 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.259e-05/0.005443, allocations: 38.17 kB / 0.8822 GB, free: 2.066 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=4): time 8.62e-07/0.005444, allocations: 0 / 0.8822 GB, free: 2.066 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4): time 0.0002831/0.005727, allocations: 292.3 kB / 0.8824 GB, free: 1.758 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.486e-05/0.005762, allocations: 88.98 kB / 0.8825 GB, free: 1.652 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001008/0.005863, allocations: 205.8 kB / 0.8827 GB, free: 1.434 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.049e-05/0.005873, allocations: 25.7 kB / 0.8827 GB, free: 1.402 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.101e-05/0.005914, allocations: 135.4 kB / 0.8829 GB, free: 1.266 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.956e-05/0.005934, allocations: 11.91 kB / 0.8829 GB, free: 1.254 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.049e-05/0.005974, allocations: 37.05 kB / 0.8829 GB, free: 1.211 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 9.994e-05/0.006074, allocations: 0.4923 MB / 0.8834 GB, free: 0.707 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.487e-05/0.006169, allocations: 135.4 kB / 0.8835 GB, free: 0.5625 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.942e-05/0.006249, allocations: 147.2 kB / 0.8837 GB, free: 416 kB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001566/0.006405, allocations: 253.9 kB / 0.8839 GB, free: 140 kB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.006407, allocations: 0 / 0.8839 GB, free: 140 kB / 0.8386 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002237/0.006631, allocations: 336.2 kB / 0.8842 GB, free: 15.78 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 3.643e-05/0.006667, allocations: 76.22 kB / 0.8843 GB, free: 15.69 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.006672, allocations: 0 / 0.8843 GB, free: 15.69 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.207e-05/0.006684, allocations: 0.6875 kB / 0.8843 GB, free: 15.69 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.467e-06/0.006687, allocations: 0 / 0.8843 GB, free: 15.69 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.411e-06/0.006692, allocations: 9.531 kB / 0.8843 GB, free: 15.68 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.609e-05/0.006769, allocations: 11.89 kB / 0.8843 GB, free: 15.67 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.014e-05/0.006779, allocations: 8 kB / 0.8843 GB, free: 15.66 MB / 0.8542 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.382e-05/0.006853, allocations: 194.3 kB / 0.8845 GB, free: 15.46 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.067e-05/0.006863, allocations: 10.86 kB / 0.8845 GB, free: 15.45 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.222e-05/0.006875, allocations: 8.344 kB / 0.8845 GB, free: 15.44 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.373e-06/0.006877, allocations: 0 / 0.8845 GB, free: 15.44 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.00688, allocations: 3.938 kB / 0.8845 GB, free: 15.43 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.006883, allocations: 3.984 kB / 0.8845 GB, free: 15.43 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.183e-05/0.006945, allocations: 132.6 kB / 0.8847 GB, free: 15.27 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.41e-07/0.006946, allocations: 0 / 0.8847 GB, free: 15.27 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.51e-07/0.006946, allocations: 0 / 0.8847 GB, free: 15.27 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.12e-07/0.006947, allocations: 1.625 kB / 0.8847 GB, free: 15.27 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.076e-06/0.006955, allocations: 4 kB / 0.8847 GB, free: 15.26 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.42e-07/0.006956, allocations: 0 / 0.8847 GB, free: 15.26 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.62e-07/0.006956, allocations: 0 / 0.8847 GB, free: 15.26 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001928/0.007149, allocations: 268.2 kB / 0.8849 GB, free: 14.96 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 9.257e-06/0.007158, allocations: 11.95 kB / 0.8849 GB, free: 14.95 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.053e-05/0.007169, allocations: 4.125 kB / 0.8849 GB, free: 14.95 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.639e-05/0.007195, allocations: 7.984 kB / 0.8849 GB, free: 14.94 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.69e-05/0.007242, allocations: 7.984 kB / 0.885 GB, free: 14.93 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.721e-06/0.007248, allocations: 7.938 kB / 0.885 GB, free: 14.93 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 4.547e-05/0.007293, allocations: 144.9 kB / 0.8851 GB, free: 14.79 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.007293, allocations: 0 / 0.8851 GB, free: 14.79 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001928/0.007486, allocations: 63.88 kB / 0.8852 GB, free: 14.72 MB / 0.8542 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.0001743/0.007661, allocations: 159.1 kB / 0.8853 GB, free: 14.55 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002505/0.007911, allocations: 387.5 kB / 0.8857 GB, free: 14.13 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.382e-06/0.007912, allocations: 0 / 0.8857 GB, free: 14.13 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 8.644e-05/0.007999, allocations: 156.7 kB / 0.8858 GB, free: 13.95 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001083/0.008107, allocations: 8 kB / 0.8858 GB, free: 13.95 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002513/0.008358, allocations: 236.4 kB / 0.8861 GB, free: 13.68 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.288e-05/0.008391, allocations: 67.28 kB / 0.8861 GB, free: 13.59 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 4.789e-06/0.008396, allocations: 0 / 0.8861 GB, free: 13.59 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.312e-05/0.008409, allocations: 12.5 kB / 0.8861 GB, free: 13.58 MB / 0.8542 GB Notification: Performance of SimCode: time 4.61e-07/0.00841, allocations: 0 / 0.8861 GB, free: 13.58 MB / 0.8542 GB Notification: Performance of Templates: time 0.003804/0.01221, allocations: 2.414 MB / 0.8885 GB, free: 11.19 MB / 0.8542 GB " [Timeout remaining time 300] 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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.CubicHermite_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_CubicHermite.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.116039235144854]