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.00176/0.00176, allocations: 80.41 kB / 20.23 MB, free: 4.203 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.002168/0.002168, allocations: 161.7 kB / 23.54 MB, free: 0.8945 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 1.464/1.464, allocations: 177.2 MB / 203.9 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 178] 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 2.725/2.725, allocations: 359 MB / 0.6048 GB, free: 10.95 MB / 0.573 GB " [Timeout remaining time 177] 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.763e-06/1.763e-06, allocations: 0.7656 kB / 0.7864 GB, free: 12.75 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.954e-05/3.13e-05, allocations: 7.25 kB / 0.7864 GB, free: 12.74 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.001774/0.001806, allocations: 0.6204 MB / 0.787 GB, free: 12.14 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.002376/0.004182, allocations: 1.426 MB / 0.7884 GB, free: 10.7 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.352e-05/0.004205, allocations: 0.75 kB / 0.7884 GB, free: 10.7 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 1.651e-05/0.004222, allocations: 3.938 kB / 0.7884 GB, free: 10.69 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 3.728e-05/0.004259, allocations: 0.5625 kB / 0.7884 GB, free: 10.69 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005694/0.004829, allocations: 146.6 kB / 0.7886 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 7.682e-05/0.004905, allocations: 31.95 kB / 0.7886 GB, free: 10.52 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.296e-05/0.004938, allocations: 2.969 kB / 0.7886 GB, free: 10.52 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 8.305e-05/0.005021, allocations: 23.92 kB / 0.7886 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 7.85e-05/0.0051, allocations: 19.95 kB / 0.7887 GB, free: 10.48 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.976e-05/0.00512, allocations: 4 kB / 0.7887 GB, free: 10.47 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004455/0.005565, allocations: 251.4 kB / 0.7889 GB, free: 10.23 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.733e-05/0.005582, allocations: 3.984 kB / 0.7889 GB, free: 10.22 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 4.074e-05/0.005623, allocations: 11.98 kB / 0.7889 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.000382/0.006005, allocations: 203.4 kB / 0.7891 GB, free: 10.01 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.856e-06/0.006008, allocations: 1.25 kB / 0.7891 GB, free: 10.01 MB / 0.7448 GB Notification: Performance of FrontEnd: time 8.92e-07/0.006009, allocations: 0 / 0.7891 GB, free: 10.01 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.217e-06/0.006013, allocations: 0 / 0.7891 GB, free: 10.01 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.0006759/0.006689, allocations: 290.6 kB / 0.7894 GB, free: 9.699 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.204e-05/0.006731, allocations: 9.094 kB / 0.7894 GB, free: 9.691 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005471/0.007278, allocations: 72.78 kB / 0.7895 GB, free: 9.625 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001229/0.007401, allocations: 109.8 kB / 0.7896 GB, free: 9.492 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.704e-05/0.007418, allocations: 2.188 kB / 0.7896 GB, free: 9.492 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.724e-05/0.007445, allocations: 384 / 0.7896 GB, free: 9.492 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002947/0.00774, allocations: 105.4 kB / 0.7897 GB, free: 9.379 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.361e-05/0.007754, allocations: 8.172 kB / 0.7897 GB, free: 9.371 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.768e-05/0.007771, allocations: 4.375 kB / 0.7897 GB, free: 9.367 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.502e-06/0.007778, allocations: 5.75 kB / 0.7897 GB, free: 9.363 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003252/0.008103, allocations: 62.22 kB / 0.7897 GB, free: 9.305 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001932/0.008296, allocations: 113.2 kB / 0.7899 GB, free: 9.164 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006622/0.008958, allocations: 124.4 kB / 0.79 GB, free: 9.039 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001778/0.009136, allocations: 38.27 kB / 0.79 GB, free: 9 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004605/0.009597, allocations: 77.75 kB / 0.7901 GB, free: 8.93 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.865e-05/0.009635, allocations: 38.55 kB / 0.7901 GB, free: 8.883 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=4): time 9.52e-07/0.009636, allocations: 0 / 0.7901 GB, free: 8.883 MB / 0.7448 GB Notification: Performance of matching and sorting (n=5): time 0.001297/0.01093, allocations: 329.3 kB / 0.7904 GB, free: 8.535 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.335e-05/0.01099, allocations: 62.84 kB / 0.7905 GB, free: 8.465 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.418e-05/0.01107, allocations: 93.86 kB / 0.7906 GB, free: 8.363 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.009e-05/0.0111, allocations: 29.7 kB / 0.7906 GB, free: 8.328 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.63e-05/0.01115, allocations: 80.14 kB / 0.7907 GB, free: 8.246 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.373e-05/0.01118, allocations: 11.91 kB / 0.7907 GB, free: 8.234 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.53e-05/0.01124, allocations: 21.7 kB / 0.7907 GB, free: 8.207 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001755/0.01141, allocations: 314.8 kB / 0.791 GB, free: 7.891 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001643/0.01158, allocations: 33.38 kB / 0.7911 GB, free: 7.859 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001591/0.01173, allocations: 38.02 kB / 0.7911 GB, free: 7.824 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003431/0.01208, allocations: 83.3 kB / 0.7912 GB, free: 7.742 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.01208, allocations: 0 / 0.7912 GB, free: 7.742 MB / 0.7448 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003984/0.01248, allocations: 113.8 kB / 0.7913 GB, free: 7.625 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.658e-05/0.01249, allocations: 11.94 kB / 0.7913 GB, free: 7.613 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/0.0125, allocations: 4.062 kB / 0.7913 GB, free: 7.609 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.997e-05/0.01252, allocations: 3.984 kB / 0.7913 GB, free: 7.605 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000159/0.01268, allocations: 23.92 kB / 0.7913 GB, free: 7.582 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.139e-06/0.01269, allocations: 0 / 0.7913 GB, free: 7.582 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001181/0.0128, allocations: 11.98 kB / 0.7913 GB, free: 7.57 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.448e-06/0.01281, allocations: 4 kB / 0.7913 GB, free: 7.566 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 0.0001013/0.01291, allocations: 117.8 kB / 0.7914 GB, free: 7.441 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.297e-05/0.01294, allocations: 4 kB / 0.7914 GB, free: 7.438 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004903/0.01343, allocations: 125.4 kB / 0.7916 GB, free: 7.309 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.01343, allocations: 7.875 kB / 0.7916 GB, free: 7.301 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.518e-06/0.01344, allocations: 11.92 kB / 0.7916 GB, free: 7.289 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.01344, allocations: 0 / 0.7916 GB, free: 7.289 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001479/0.01359, allocations: 113.3 kB / 0.7917 GB, free: 7.148 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.01359, allocations: 0 / 0.7917 GB, free: 7.148 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001814/0.01377, allocations: 27.97 kB / 0.7917 GB, free: 7.121 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.846e-06/0.01378, allocations: 0 / 0.7917 GB, free: 7.121 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.122e-05/0.01379, allocations: 0 / 0.7917 GB, free: 7.121 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.01379, allocations: 0 / 0.7917 GB, free: 7.121 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.01379, allocations: 0 / 0.7917 GB, free: 7.121 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006412/0.01443, allocations: 196.9 kB / 0.7919 GB, free: 6.91 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 5.118e-05/0.01448, allocations: 11.97 kB / 0.7919 GB, free: 6.898 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.068e-05/0.0145, allocations: 3.984 kB / 0.7919 GB, free: 6.895 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001323/0.01464, allocations: 11.98 kB / 0.7919 GB, free: 6.883 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.762e-05/0.01466, allocations: 8.203 kB / 0.7919 GB, free: 6.875 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.327e-05/0.01468, allocations: 7.984 kB / 0.792 GB, free: 6.867 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 5.195e-05/0.01473, allocations: 75.28 kB / 0.792 GB, free: 6.793 MB / 0.7448 GB Notification: Performance of sort global known variables: time 9e-08/0.01473, allocations: 8.156 kB / 0.792 GB, free: 6.785 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002442/0.01497, allocations: 27.94 kB / 0.7921 GB, free: 6.758 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.0002336/0.01521, allocations: 127.1 kB / 0.7922 GB, free: 6.625 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0004073/0.01561, allocations: 84.05 kB / 0.7923 GB, free: 6.543 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.01562, allocations: 0 / 0.7923 GB, free: 6.543 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001829/0.0158, allocations: 47.89 kB / 0.7923 GB, free: 6.496 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001662/0.01597, allocations: 8 kB / 0.7923 GB, free: 6.488 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007089/0.01667, allocations: 196.3 kB / 0.7925 GB, free: 6.27 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.496e-05/0.01674, allocations: 59.36 kB / 0.7926 GB, free: 6.191 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 9.823e-05/0.01684, allocations: 23.97 kB / 0.7926 GB, free: 6.168 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.09e-05/0.0169, allocations: 12.5 kB / 0.7926 GB, free: 6.156 MB / 0.7448 GB Notification: Performance of SimCode: time 5.51e-07/0.0169, allocations: 0 / 0.7926 GB, free: 6.156 MB / 0.7448 GB Notification: Performance of Templates: time 0.004325/0.02122, allocations: 1.211 MB / 0.7938 GB, free: 4.949 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=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe 2>&1) [Timeout 400] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.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: 7.587068255990744]