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.00103/0.00103, allocations: 73.09 kB / 20.65 MB, free: 3.844 MB / 18.57 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.001692/0.001692, allocations: 169 kB / 24.05 MB, free: 456 kB / 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 1.019/1.019, allocations: 177.1 MB / 204.5 MB, free: 5.516 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.094/2.094, allocations: 429.5 MB / 0.6743 GB, free: 3.934 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.242e-06/1.242e-06, allocations: 0 / 0.8794 GB, free: 5.965 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.408e-05/2.532e-05, allocations: 2.312 kB / 0.8795 GB, free: 5.961 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.CubicHermite): time 0.004629/0.004654, allocations: 0.6344 MB / 0.8801 GB, free: 5.352 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001821/0.006476, allocations: 1.416 MB / 0.8815 GB, free: 3.922 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.109e-05/0.006507, allocations: 0 / 0.8815 GB, free: 3.922 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 5.051e-05/0.006557, allocations: 0.7188 kB / 0.8815 GB, free: 3.922 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 4.435e-05/0.006602, allocations: 9.594 kB / 0.8815 GB, free: 3.914 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.003758/0.01036, allocations: 184 kB / 0.8816 GB, free: 3.734 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001269/0.01049, allocations: 57.7 kB / 0.8817 GB, free: 3.68 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 3.67e-05/0.01052, allocations: 0 / 0.8817 GB, free: 3.68 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 5.587e-05/0.01058, allocations: 23.97 kB / 0.8817 GB, free: 3.656 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 6.414e-05/0.01064, allocations: 23.91 kB / 0.8817 GB, free: 3.633 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.589e-05/0.01066, allocations: 4 kB / 0.8817 GB, free: 3.629 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003953/0.01105, allocations: 212.9 kB / 0.8819 GB, free: 3.422 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 4.241e-05/0.0111, allocations: 15.94 kB / 0.882 GB, free: 3.406 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 3.185e-05/0.01113, allocations: 15.98 kB / 0.882 GB, free: 3.391 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0003177/0.01145, allocations: 233 kB / 0.8822 GB, free: 3.164 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.01145, allocations: 0 / 0.8822 GB, free: 3.164 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.442e-06/0.01145, allocations: 0 / 0.8822 GB, free: 3.164 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.407e-06/0.01146, allocations: 0 / 0.8822 GB, free: 3.164 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.0004091/0.01186, allocations: 473.6 kB / 0.8827 GB, free: 2.656 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.483e-05/0.0119, allocations: 8.031 kB / 0.8827 GB, free: 2.648 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.467e-05/0.01194, allocations: 8.891 kB / 0.8827 GB, free: 2.641 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.538e-05/0.01204, allocations: 120.5 kB / 0.8828 GB, free: 2.496 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.231e-05/0.01205, allocations: 384 / 0.8828 GB, free: 2.496 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.212e-05/0.01206, allocations: 4.375 kB / 0.8828 GB, free: 2.492 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001339/0.0122, allocations: 102.3 kB / 0.8829 GB, free: 2.383 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.246e-06/0.01221, allocations: 4.172 kB / 0.8829 GB, free: 2.379 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.617e-06/0.01221, allocations: 384 / 0.8829 GB, free: 2.379 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.752e-06/0.01222, allocations: 7.938 kB / 0.8829 GB, free: 2.371 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.308e-05/0.01228, allocations: 57.67 kB / 0.883 GB, free: 2.309 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001106/0.0124, allocations: 113.2 kB / 0.8831 GB, free: 2.172 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001441/0.01254, allocations: 96.72 kB / 0.8832 GB, free: 2.059 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.106e-05/0.0126, allocations: 65.44 kB / 0.8832 GB, free: 1.984 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 5.4e-06/0.01261, allocations: 4 kB / 0.8832 GB, free: 1.98 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.176e-05/0.01263, allocations: 33.39 kB / 0.8832 GB, free: 1.938 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=4): time 1.233e-06/0.01263, allocations: 0 / 0.8832 GB, free: 1.938 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4): time 0.0003076/0.01294, allocations: 230.7 kB / 0.8835 GB, free: 1.688 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.101e-05/0.01298, allocations: 81.11 kB / 0.8835 GB, free: 1.59 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001269/0.0131, allocations: 212.2 kB / 0.8837 GB, free: 1.367 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.404e-05/0.01312, allocations: 25.7 kB / 0.8838 GB, free: 1.336 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.654e-05/0.01317, allocations: 138.9 kB / 0.8839 GB, free: 1.195 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.3e-05/0.0132, allocations: 11.91 kB / 0.8839 GB, free: 1.184 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.066e-05/0.01326, allocations: 43.38 kB / 0.884 GB, free: 1.133 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001332/0.01339, allocations: 0.4923 MB / 0.8844 GB, free: 0.6289 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.19e-05/0.01348, allocations: 99.38 kB / 0.8845 GB, free: 0.5195 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.831e-05/0.01357, allocations: 103.4 kB / 0.8846 GB, free: 416 kB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001637/0.01374, allocations: 184.7 kB / 0.8848 GB, free: 208 kB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.01374, allocations: 0 / 0.8848 GB, free: 208 kB / 0.8386 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003858/0.01412, allocations: 268.3 kB / 0.8851 GB, free: 15.91 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 5.507e-05/0.01418, allocations: 75.38 kB / 0.8851 GB, free: 15.82 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.588e-06/0.01418, allocations: 0 / 0.8851 GB, free: 15.82 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.797e-06/0.01419, allocations: 3.938 kB / 0.8851 GB, free: 15.82 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.032e-06/0.01419, allocations: 4.062 kB / 0.8851 GB, free: 15.82 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.335e-06/0.0142, allocations: 0 / 0.8851 GB, free: 15.82 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.46e-05/0.01428, allocations: 15.83 kB / 0.8852 GB, free: 15.8 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.369e-05/0.01429, allocations: 4 kB / 0.8852 GB, free: 15.8 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 9.941e-05/0.01439, allocations: 194.2 kB / 0.8853 GB, free: 15.59 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.16e-05/0.01441, allocations: 11.95 kB / 0.8854 GB, free: 15.58 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.61e-05/0.01443, allocations: 8.344 kB / 0.8854 GB, free: 15.57 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.01443, allocations: 0 / 0.8854 GB, free: 15.57 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.473e-06/0.01443, allocations: 0 / 0.8854 GB, free: 15.57 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/0.01444, allocations: 7.875 kB / 0.8854 GB, free: 15.56 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.657e-05/0.01453, allocations: 109.2 kB / 0.8855 GB, free: 15.43 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.01453, allocations: 0 / 0.8855 GB, free: 15.43 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.026e-06/0.01453, allocations: 3.984 kB / 0.8855 GB, free: 15.42 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.01453, allocations: 0 / 0.8855 GB, free: 15.42 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.218e-06/0.01454, allocations: 4 kB / 0.8855 GB, free: 15.42 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.01454, allocations: 4 kB / 0.8855 GB, free: 15.41 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.01454, allocations: 0 / 0.8855 GB, free: 15.41 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002352/0.01478, allocations: 223.6 kB / 0.8857 GB, free: 15.16 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.213e-05/0.01479, allocations: 7.953 kB / 0.8857 GB, free: 15.15 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.614e-05/0.01481, allocations: 4 kB / 0.8857 GB, free: 15.15 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.24e-05/0.01485, allocations: 3.984 kB / 0.8857 GB, free: 15.14 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.883e-05/0.0149, allocations: 8.031 kB / 0.8857 GB, free: 15.14 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.104e-05/0.01491, allocations: 8 kB / 0.8857 GB, free: 15.13 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 6.106e-05/0.01497, allocations: 137.2 kB / 0.8859 GB, free: 15 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1e-07/0.01497, allocations: 0 / 0.8859 GB, free: 15 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003041/0.01527, allocations: 71.86 kB / 0.8859 GB, free: 14.93 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.0002586/0.01553, allocations: 151.2 kB / 0.8861 GB, free: 14.77 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0003043/0.01584, allocations: 327.6 kB / 0.8864 GB, free: 14.4 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.01584, allocations: 0 / 0.8864 GB, free: 14.4 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001123/0.01595, allocations: 136.8 kB / 0.8865 GB, free: 14.24 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001505/0.0161, allocations: 12.62 kB / 0.8865 GB, free: 14.23 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003003/0.0164, allocations: 216.5 kB / 0.8867 GB, free: 13.98 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.721e-05/0.01644, allocations: 59.34 kB / 0.8868 GB, free: 13.91 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 5.209e-06/0.01644, allocations: 0 / 0.8868 GB, free: 13.91 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.153e-05/0.01654, allocations: 82.2 kB / 0.8869 GB, free: 13.82 MB / 0.8542 GB Notification: Performance of SimCode: time 6.21e-07/0.01654, allocations: 0 / 0.8869 GB, free: 13.82 MB / 0.8542 GB Notification: Performance of Templates: time 0.004845/0.02138, allocations: 2.469 MB / 0.8893 GB, free: 11.37 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.360214261338115]