Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.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.0008657/0.0008657, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.0009234/0.0009234, allocations: 161 kB / 23.82 MB, free: 0.75 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.9294/0.9294, allocations: 177.1 MB / 204.2 MB, free: 5.254 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.865/1.865, allocations: 359 MB / 0.6052 GB, free: 11.03 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/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.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y_comp|y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") translateModel(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y_comp|y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 0.7871 GB, free: 12.42 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.652e-05/1.797e-05, allocations: 4.984 kB / 0.7872 GB, free: 12.41 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.001169/0.001187, allocations: 0.614 MB / 0.7878 GB, free: 11.82 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001387/0.002574, allocations: 1.472 MB / 0.7892 GB, free: 10.33 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.052e-05/0.002594, allocations: 3.938 kB / 0.7892 GB, free: 10.32 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 1.246e-05/0.002607, allocations: 1.406 kB / 0.7892 GB, free: 10.32 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 1.702e-05/0.002624, allocations: 4 kB / 0.7892 GB, free: 10.32 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.000402/0.003026, allocations: 137.6 kB / 0.7893 GB, free: 10.19 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 4.92e-05/0.003075, allocations: 29.41 kB / 0.7894 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.099e-05/0.003106, allocations: 11.98 kB / 0.7894 GB, free: 10.15 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 3.641e-05/0.003142, allocations: 11.98 kB / 0.7894 GB, free: 10.14 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 5.283e-05/0.003195, allocations: 27.91 kB / 0.7894 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.228e-05/0.003207, allocations: 1.219 kB / 0.7894 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002621/0.00347, allocations: 255.4 kB / 0.7897 GB, free: 9.859 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.417e-05/0.003484, allocations: 3.984 kB / 0.7897 GB, free: 9.855 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.246e-05/0.003506, allocations: 16.84 kB / 0.7897 GB, free: 9.84 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002304/0.003737, allocations: 203.4 kB / 0.7899 GB, free: 9.641 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.733e-06/0.003738, allocations: 1.031 kB / 0.7899 GB, free: 9.641 MB / 0.7448 GB Notification: Performance of FrontEnd: time 5.91e-07/0.003739, allocations: 0 / 0.7899 GB, free: 9.641 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 2.896e-06/0.003742, allocations: 0 / 0.7899 GB, free: 9.641 MB / 0.7448 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.0003584/0.0041, allocations: 390.1 kB / 0.7902 GB, free: 9.227 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 2.89e-05/0.004129, allocations: 12.03 kB / 0.7903 GB, free: 9.215 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002141/0.004343, allocations: 49.47 kB / 0.7903 GB, free: 9.172 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.232e-05/0.004406, allocations: 112.6 kB / 0.7904 GB, free: 9.035 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.105e-05/0.004417, allocations: 4.375 kB / 0.7904 GB, free: 9.031 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.159e-05/0.004438, allocations: 4.375 kB / 0.7904 GB, free: 9.027 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001514/0.00459, allocations: 104.5 kB / 0.7905 GB, free: 8.91 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.829e-06/0.004594, allocations: 0.9062 kB / 0.7905 GB, free: 8.91 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.005e-05/0.004605, allocations: 384 / 0.7905 GB, free: 8.91 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.824e-06/0.004612, allocations: 9.594 kB / 0.7905 GB, free: 8.902 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.113e-05/0.004663, allocations: 15.98 kB / 0.7905 GB, free: 8.887 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001119/0.004775, allocations: 124.5 kB / 0.7907 GB, free: 8.73 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001813/0.004957, allocations: 64.89 kB / 0.7907 GB, free: 8.656 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.434e-05/0.004991, allocations: 19.69 kB / 0.7907 GB, free: 8.633 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001612/0.005152, allocations: 46.72 kB / 0.7908 GB, free: 8.59 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.168e-05/0.005174, allocations: 45.33 kB / 0.7908 GB, free: 8.535 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=4): time 8.12e-07/0.005175, allocations: 0 / 0.7908 GB, free: 8.535 MB / 0.7448 GB Notification: Performance of matching and sorting (n=5): time 0.0004138/0.005588, allocations: 215.9 kB / 0.791 GB, free: 8.289 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.445e-05/0.005613, allocations: 55.34 kB / 0.7911 GB, free: 8.223 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.407e-05/0.005667, allocations: 161.9 kB / 0.7912 GB, free: 8.047 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.118e-05/0.005678, allocations: 26.61 kB / 0.7913 GB, free: 8.016 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 2.697e-05/0.005705, allocations: 126.9 kB / 0.7914 GB, free: 7.887 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.314e-05/0.005728, allocations: 15.91 kB / 0.7914 GB, free: 7.871 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.459e-05/0.005763, allocations: 31.84 kB / 0.7914 GB, free: 7.832 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 9.356e-05/0.005856, allocations: 492.8 kB / 0.7919 GB, free: 7.34 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.405e-05/0.00588, allocations: 8 kB / 0.7919 GB, free: 7.332 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.532e-05/0.005906, allocations: 16.52 kB / 0.7919 GB, free: 7.316 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.293e-05/0.005959, allocations: 32.97 kB / 0.792 GB, free: 7.281 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.32e-07/0.005959, allocations: 0 / 0.792 GB, free: 7.281 MB / 0.7448 GB Notification: Performance of matching and sorting (n=6) (initialization): time 8.577e-05/0.006045, allocations: 65.95 kB / 0.792 GB, free: 7.211 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 9.118e-06/0.006054, allocations: 4.531 kB / 0.792 GB, free: 7.207 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.825e-06/0.006057, allocations: 1.375 kB / 0.792 GB, free: 7.207 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.748e-06/0.006067, allocations: 4 kB / 0.792 GB, free: 7.203 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.943e-05/0.006136, allocations: 19.92 kB / 0.792 GB, free: 7.184 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.006141, allocations: 5.141 kB / 0.7921 GB, free: 7.18 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.068e-05/0.006172, allocations: 4 kB / 0.7921 GB, free: 7.176 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.642e-06/0.006178, allocations: 5.062 kB / 0.7921 GB, free: 7.172 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * 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 6.076e-05/0.006239, allocations: 160.6 kB / 0.7922 GB, free: 7.004 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.275e-05/0.006252, allocations: 8.797 kB / 0.7922 GB, free: 6.996 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001337/0.006386, allocations: 88.75 kB / 0.7923 GB, free: 6.906 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.006388, allocations: 4 kB / 0.7923 GB, free: 6.902 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.006392, allocations: 10.12 kB / 0.7923 GB, free: 6.895 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.144e-06/0.006394, allocations: 0 / 0.7923 GB, free: 6.895 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.588e-05/0.00647, allocations: 128.6 kB / 0.7924 GB, free: 6.734 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.22e-07/0.006471, allocations: 3.938 kB / 0.7924 GB, free: 6.73 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.031e-05/0.006541, allocations: 16.58 kB / 0.7925 GB, free: 6.715 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.202e-06/0.006543, allocations: 0 / 0.7925 GB, free: 6.715 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.347e-06/0.006552, allocations: 7.438 kB / 0.7925 GB, free: 6.711 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.12e-07/0.006553, allocations: 0 / 0.7925 GB, free: 6.711 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.006553, allocations: 0 / 0.7925 GB, free: 6.711 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001501/0.006703, allocations: 124.2 kB / 0.7926 GB, free: 6.566 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 3.031e-05/0.006734, allocations: 11.98 kB / 0.7926 GB, free: 6.555 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.012e-05/0.006744, allocations: 0 / 0.7926 GB, free: 6.555 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.883e-05/0.006783, allocations: 7.984 kB / 0.7926 GB, free: 6.547 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.907e-05/0.006802, allocations: 7.938 kB / 0.7926 GB, free: 6.539 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.074e-06/0.006809, allocations: 8.484 kB / 0.7926 GB, free: 6.531 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 2.748e-05/0.006836, allocations: 119.8 kB / 0.7927 GB, free: 6.414 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7e-08/0.006836, allocations: 1.344 kB / 0.7927 GB, free: 6.414 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.000151/0.006987, allocations: 31.88 kB / 0.7928 GB, free: 6.383 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y_comp) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * 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.0001271/0.007115, allocations: 123.8 kB / 0.7929 GB, free: 6.254 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001014/0.007216, allocations: 48.25 kB / 0.7929 GB, free: 6.203 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.223e-06/0.007217, allocations: 0 / 0.7929 GB, free: 6.203 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 3.16e-05/0.007249, allocations: 28.34 kB / 0.793 GB, free: 6.172 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000102/0.007351, allocations: 10.33 kB / 0.793 GB, free: 6.164 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002925/0.007643, allocations: 162 kB / 0.7931 GB, free: 5.977 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.05e-05/0.007674, allocations: 55.36 kB / 0.7932 GB, free: 5.902 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 5.301e-05/0.007727, allocations: 21.53 kB / 0.7932 GB, free: 5.891 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.613e-05/0.007763, allocations: 12.5 kB / 0.7932 GB, free: 5.879 MB / 0.7448 GB Notification: Performance of SimCode: time 5.51e-07/0.007763, allocations: 0 / 0.7932 GB, free: 5.879 MB / 0.7448 GB Notification: Performance of Templates: time 0.002328/0.01009, allocations: 1.228 MB / 0.7944 GB, free: 4.664 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.sim & ./Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Functions_Examples_InverseXDerivativeCheck.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.076164849568158]