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.0009345/0.0009345, allocations: 81.86 kB / 20.68 MB, free: 3.812 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.001042/0.001042, allocations: 181 kB / 24.09 MB, free: 416 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 0.9544/0.9544, allocations: 177.1 MB / 204.5 MB, free: 5.512 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.791/1.791, allocations: 359 MB / 0.6055 GB, free: 10.88 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.7876 GB, free: 12.11 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.173e-05/2.318e-05, allocations: 2.312 kB / 0.7876 GB, free: 12.1 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.001192/0.001215, allocations: 0.6122 MB / 0.7882 GB, free: 11.5 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0015/0.002715, allocations: 1.465 MB / 0.7897 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.66e-05/0.002741, allocations: 0 / 0.7897 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 1.456e-05/0.002756, allocations: 1.25 kB / 0.7897 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 2.796e-05/0.002784, allocations: 3.938 kB / 0.7897 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003778/0.003162, allocations: 142.3 kB / 0.7898 GB, free: 9.883 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 5.223e-05/0.003214, allocations: 23.98 kB / 0.7898 GB, free: 9.859 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 2.991e-05/0.003244, allocations: 4.891 kB / 0.7898 GB, free: 9.855 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 6.192e-05/0.003306, allocations: 23.97 kB / 0.7898 GB, free: 9.832 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 6.478e-05/0.003371, allocations: 24.97 kB / 0.7899 GB, free: 9.809 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.619e-05/0.003387, allocations: 4 kB / 0.7899 GB, free: 9.805 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002404/0.003627, allocations: 239.5 kB / 0.7901 GB, free: 9.57 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.766e-05/0.003645, allocations: 13.23 kB / 0.7901 GB, free: 9.559 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 1.637e-05/0.003661, allocations: 7.984 kB / 0.7901 GB, free: 9.551 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002121/0.003873, allocations: 207.5 kB / 0.7903 GB, free: 9.348 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.964e-06/0.003875, allocations: 0 / 0.7903 GB, free: 9.348 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.202e-06/0.003876, allocations: 5.531 kB / 0.7903 GB, free: 9.344 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.407e-06/0.00388, allocations: 0 / 0.7903 GB, free: 9.344 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.0003525/0.004232, allocations: 384 kB / 0.7907 GB, free: 8.934 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.523e-05/0.004278, allocations: 17.55 kB / 0.7907 GB, free: 8.918 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002181/0.004496, allocations: 55.89 kB / 0.7908 GB, free: 8.867 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.217e-05/0.004568, allocations: 108.6 kB / 0.7909 GB, free: 8.734 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.678e-05/0.004585, allocations: 4.375 kB / 0.7909 GB, free: 8.73 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.653e-05/0.004601, allocations: 384 / 0.7909 GB, free: 8.73 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001499/0.004751, allocations: 103 kB / 0.791 GB, free: 8.617 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.482e-06/0.004758, allocations: 4.188 kB / 0.791 GB, free: 8.613 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.574e-06/0.004765, allocations: 384 / 0.791 GB, free: 8.613 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.132e-06/0.004771, allocations: 3.938 kB / 0.791 GB, free: 8.609 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.689e-05/0.004808, allocations: 21.67 kB / 0.791 GB, free: 8.59 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001434/0.004952, allocations: 101.3 kB / 0.7911 GB, free: 8.465 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001647/0.005116, allocations: 55.06 kB / 0.7911 GB, free: 8.398 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.952e-05/0.005146, allocations: 28.81 kB / 0.7912 GB, free: 8.367 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001717/0.005317, allocations: 47.88 kB / 0.7912 GB, free: 8.324 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.532e-05/0.005343, allocations: 39.33 kB / 0.7913 GB, free: 8.277 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=4): time 1.783e-06/0.005345, allocations: 0 / 0.7913 GB, free: 8.277 MB / 0.7448 GB Notification: Performance of matching and sorting (n=5): time 0.0004072/0.005752, allocations: 205.7 kB / 0.7914 GB, free: 8.039 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.003e-05/0.005772, allocations: 52.06 kB / 0.7915 GB, free: 7.977 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.73e-05/0.005829, allocations: 166.4 kB / 0.7917 GB, free: 7.797 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.222e-05/0.005841, allocations: 30.36 kB / 0.7917 GB, free: 7.762 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 2.843e-05/0.00587, allocations: 126.9 kB / 0.7918 GB, free: 7.633 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.525e-05/0.005895, allocations: 20.36 kB / 0.7918 GB, free: 7.613 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002894/0.006184, allocations: 24.78 kB / 0.7919 GB, free: 7.582 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 9.963e-05/0.006284, allocations: 0.4923 MB / 0.7923 GB, free: 7.078 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.199e-05/0.006306, allocations: 8 kB / 0.7923 GB, free: 7.07 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.813e-05/0.006324, allocations: 8 kB / 0.7923 GB, free: 7.062 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.521e-05/0.006369, allocations: 28.2 kB / 0.7924 GB, free: 7.031 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.00637, allocations: 1.375 kB / 0.7924 GB, free: 7.031 MB / 0.7448 GB Notification: Performance of matching and sorting (n=6) (initialization): time 7.847e-05/0.006449, allocations: 61.64 kB / 0.7924 GB, free: 6.965 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.202e-05/0.006461, allocations: 4 kB / 0.7924 GB, free: 6.961 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.006465, allocations: 1.484 kB / 0.7924 GB, free: 6.961 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.015e-05/0.006475, allocations: 0 / 0.7924 GB, free: 6.961 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.999e-05/0.006545, allocations: 25.27 kB / 0.7925 GB, free: 6.938 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.146e-06/0.006548, allocations: 3.938 kB / 0.7925 GB, free: 6.934 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.132e-05/0.00658, allocations: 11.98 kB / 0.7925 GB, free: 6.922 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.299e-06/0.006585, allocations: 0.8438 kB / 0.7925 GB, free: 6.922 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 5.962e-05/0.006645, allocations: 157.5 kB / 0.7926 GB, free: 6.758 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.249e-05/0.006657, allocations: 7.984 kB / 0.7926 GB, free: 6.75 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001212/0.006778, allocations: 82.09 kB / 0.7927 GB, free: 6.668 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.006781, allocations: 4 kB / 0.7927 GB, free: 6.664 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.334e-06/0.006784, allocations: 4.062 kB / 0.7927 GB, free: 6.66 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/0.006788, allocations: 7.922 kB / 0.7927 GB, free: 6.652 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.07e-05/0.006859, allocations: 109.2 kB / 0.7928 GB, free: 6.52 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.00686, allocations: 0.875 kB / 0.7928 GB, free: 6.52 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.987e-05/0.00692, allocations: 19.42 kB / 0.7929 GB, free: 6.504 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.006921, allocations: 0 / 0.7929 GB, free: 6.504 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.775e-06/0.006929, allocations: 11.94 kB / 0.7929 GB, free: 6.492 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.00693, allocations: 0 / 0.7929 GB, free: 6.492 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.006932, allocations: 0 / 0.7929 GB, free: 6.492 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001318/0.007063, allocations: 108.4 kB / 0.793 GB, free: 6.363 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 3.168e-05/0.007095, allocations: 11.94 kB / 0.793 GB, free: 6.352 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.082e-05/0.007106, allocations: 0 / 0.793 GB, free: 6.352 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.667e-05/0.007143, allocations: 12.61 kB / 0.793 GB, free: 6.34 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.793e-05/0.00716, allocations: 8.484 kB / 0.793 GB, free: 6.332 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.721e-06/0.007166, allocations: 7.938 kB / 0.793 GB, free: 6.324 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 2.735e-05/0.007194, allocations: 120.5 kB / 0.7931 GB, free: 6.207 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.007194, allocations: 0 / 0.7931 GB, free: 6.207 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.000152/0.007346, allocations: 31.86 kB / 0.7932 GB, free: 6.176 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.000142/0.007488, allocations: 136.3 kB / 0.7933 GB, free: 6.035 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 8.445e-05/0.007572, allocations: 36.2 kB / 0.7933 GB, free: 5.996 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.007574, allocations: 0 / 0.7933 GB, free: 5.996 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.826e-05/0.007602, allocations: 30.23 kB / 0.7933 GB, free: 5.965 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001067/0.007709, allocations: 8 kB / 0.7934 GB, free: 5.957 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000265/0.007974, allocations: 150.2 kB / 0.7935 GB, free: 5.781 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.305e-05/0.007997, allocations: 62.06 kB / 0.7936 GB, free: 5.703 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 5.628e-05/0.008053, allocations: 18.67 kB / 0.7936 GB, free: 5.691 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.174e-05/0.008115, allocations: 75.08 kB / 0.7936 GB, free: 5.617 MB / 0.7448 GB Notification: Performance of SimCode: time 5.21e-07/0.008116, allocations: 0 / 0.7936 GB, free: 5.617 MB / 0.7448 GB Notification: Performance of Templates: time 0.002546/0.01066, allocations: 1.329 MB / 0.7949 GB, free: 4.297 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: 4.91439981199801]