Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.002439/0.002439, allocations: 83.69 kB / 20.23 MB, free: 4.18 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.002684/0.002684, allocations: 161.3 kB / 23.55 MB, free: 0.8711 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.543/1.543, allocations: 177.1 MB / 203.9 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 3.016/3.016, allocations: 377.8 MB / 0.6232 GB, free: 8.539 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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_12_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_12_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.073e-06/2.073e-06, allocations: 0 / 0.8109 GB, free: 2.035 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.226e-05/4.433e-05, allocations: 6.25 kB / 0.8109 GB, free: 2.027 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.002137/0.002181, allocations: 0.6089 MB / 0.8115 GB, free: 1.441 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.002673/0.004854, allocations: 1.457 MB / 0.8129 GB, free: 15.97 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.331e-05/0.004878, allocations: 1.312 kB / 0.8129 GB, free: 15.97 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 1.19e-05/0.00489, allocations: 0 / 0.8129 GB, free: 15.97 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 4.889e-05/0.004938, allocations: 0 / 0.8129 GB, free: 15.97 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005278/0.005466, allocations: 146.8 kB / 0.813 GB, free: 15.83 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 8.477e-05/0.005551, allocations: 31.91 kB / 0.8131 GB, free: 15.8 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 3.288e-05/0.005584, allocations: 1.344 kB / 0.8131 GB, free: 15.8 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 6.64e-05/0.00565, allocations: 23.92 kB / 0.8131 GB, free: 15.77 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 8.217e-05/0.005733, allocations: 23.95 kB / 0.8131 GB, free: 15.75 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.295e-05/0.005755, allocations: 4 kB / 0.8131 GB, free: 15.75 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004511/0.006207, allocations: 245.4 kB / 0.8133 GB, free: 15.51 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 2.116e-05/0.006228, allocations: 7.984 kB / 0.8133 GB, free: 15.5 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 2.6e-05/0.006254, allocations: 7.984 kB / 0.8134 GB, free: 15.49 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0003703/0.006624, allocations: 211.4 kB / 0.8136 GB, free: 15.29 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 1.994e-06/0.006626, allocations: 0 / 0.8136 GB, free: 15.29 MB / 0.7761 GB Notification: Performance of FrontEnd: time 7.62e-07/0.006627, allocations: 2.156 kB / 0.8136 GB, free: 15.29 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.767e-06/0.006631, allocations: 0 / 0.8136 GB, free: 15.29 MB / 0.7761 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.0006453/0.007276, allocations: 395.9 kB / 0.8139 GB, free: 14.86 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.711e-05/0.007313, allocations: 8.031 kB / 0.8139 GB, free: 14.86 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004204/0.007733, allocations: 52.25 kB / 0.814 GB, free: 14.81 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001254/0.007859, allocations: 108.6 kB / 0.8141 GB, free: 14.68 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.554e-05/0.007874, allocations: 384 / 0.8141 GB, free: 14.68 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.308e-05/0.007897, allocations: 8.375 kB / 0.8141 GB, free: 14.67 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002532/0.008151, allocations: 97.69 kB / 0.8142 GB, free: 14.56 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/0.00816, allocations: 192 / 0.8142 GB, free: 14.56 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.271e-05/0.008172, allocations: 384 / 0.8142 GB, free: 14.56 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.903e-06/0.008179, allocations: 5.094 kB / 0.8142 GB, free: 14.56 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002328/0.008412, allocations: 45.33 kB / 0.8142 GB, free: 14.52 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002065/0.008619, allocations: 128.6 kB / 0.8144 GB, free: 14.36 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005214/0.00914, allocations: 98.67 kB / 0.8145 GB, free: 14.25 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001458/0.009286, allocations: 49.2 kB / 0.8145 GB, free: 14.2 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003145/0.0096, allocations: 51 kB / 0.8146 GB, free: 14.15 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.611e-05/0.009636, allocations: 37.39 kB / 0.8146 GB, free: 14.11 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=4): time 9.82e-07/0.009637, allocations: 0 / 0.8146 GB, free: 14.11 MB / 0.7761 GB Notification: Performance of matching and sorting (n=5): time 0.001076/0.01071, allocations: 290.3 kB / 0.8149 GB, free: 13.79 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.852e-05/0.01076, allocations: 59.33 kB / 0.8149 GB, free: 13.72 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000123/0.01088, allocations: 158.4 kB / 0.8151 GB, free: 13.55 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.452e-05/0.01091, allocations: 26.3 kB / 0.8151 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 6.851e-05/0.01098, allocations: 126.9 kB / 0.8152 GB, free: 13.39 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 3.613e-05/0.01101, allocations: 16.56 kB / 0.8152 GB, free: 13.37 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.271e-05/0.01108, allocations: 31.97 kB / 0.8153 GB, free: 13.33 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002607/0.01134, allocations: 492.1 kB / 0.8157 GB, free: 12.84 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001281/0.01147, allocations: 31.33 kB / 0.8158 GB, free: 12.81 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001171/0.01158, allocations: 27.97 kB / 0.8158 GB, free: 12.79 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002492/0.01183, allocations: 57.94 kB / 0.8159 GB, free: 12.73 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.01183, allocations: 0 / 0.8159 GB, free: 12.73 MB / 0.7761 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003196/0.01215, allocations: 102.7 kB / 0.816 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.813e-05/0.01217, allocations: 8 kB / 0.816 GB, free: 12.61 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.01218, allocations: 1.125 kB / 0.816 GB, free: 12.61 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.487e-05/0.01219, allocations: 3.938 kB / 0.816 GB, free: 12.61 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001388/0.01233, allocations: 21.05 kB / 0.816 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.306e-06/0.01234, allocations: 4 kB / 0.816 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.549e-05/0.01242, allocations: 13.02 kB / 0.816 GB, free: 12.57 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.007e-05/0.01243, allocations: 0 / 0.816 GB, free: 12.57 MB / 0.7761 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.0001299/0.01256, allocations: 161.5 kB / 0.8162 GB, free: 12.41 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.256e-05/0.01259, allocations: 4 kB / 0.8162 GB, free: 12.4 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004204/0.01301, allocations: 123.3 kB / 0.8163 GB, free: 12.29 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.01301, allocations: 0 / 0.8163 GB, free: 12.29 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.01301, allocations: 3.938 kB / 0.8163 GB, free: 12.28 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.01302, allocations: 0 / 0.8163 GB, free: 12.28 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001461/0.01316, allocations: 116.6 kB / 0.8164 GB, free: 12.13 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.01316, allocations: 4.5 kB / 0.8164 GB, free: 12.13 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001379/0.0133, allocations: 18.02 kB / 0.8164 GB, free: 12.11 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.0133, allocations: 0 / 0.8164 GB, free: 12.11 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.133e-05/0.01333, allocations: 11.98 kB / 0.8164 GB, free: 12.1 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.01333, allocations: 0 / 0.8164 GB, free: 12.1 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.01333, allocations: 0 / 0.8164 GB, free: 12.1 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005187/0.01385, allocations: 176.3 kB / 0.8166 GB, free: 11.91 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 5.107e-05/0.0139, allocations: 11.94 kB / 0.8166 GB, free: 11.89 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.108e-05/0.01392, allocations: 3.984 kB / 0.8166 GB, free: 11.89 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001004/0.01402, allocations: 8 kB / 0.8166 GB, free: 11.88 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.616e-05/0.01406, allocations: 11.95 kB / 0.8166 GB, free: 11.87 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.146e-05/0.01407, allocations: 4.188 kB / 0.8166 GB, free: 11.87 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 7.575e-05/0.01414, allocations: 119.2 kB / 0.8167 GB, free: 11.75 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.01414, allocations: 0 / 0.8167 GB, free: 11.75 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002465/0.01439, allocations: 35.92 kB / 0.8168 GB, free: 11.71 MB / 0.7761 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.0002469/0.01464, allocations: 127.1 kB / 0.8169 GB, free: 11.58 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0003412/0.01498, allocations: 83.67 kB / 0.817 GB, free: 11.5 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.053e-06/0.01498, allocations: 0 / 0.817 GB, free: 11.5 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0001452/0.01512, allocations: 43.66 kB / 0.817 GB, free: 11.45 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001641/0.01529, allocations: 9.219 kB / 0.817 GB, free: 11.45 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006037/0.01589, allocations: 178 kB / 0.8172 GB, free: 11.24 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.37e-05/0.01597, allocations: 67.34 kB / 0.8173 GB, free: 11.16 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 9.568e-05/0.01606, allocations: 19.98 kB / 0.8173 GB, free: 11.14 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.845e-05/0.01612, allocations: 20.48 kB / 0.8173 GB, free: 11.12 MB / 0.7761 GB Notification: Performance of SimCode: time 4.8e-07/0.01612, allocations: 3.938 kB / 0.8173 GB, free: 11.11 MB / 0.7761 GB Notification: Performance of Templates: time 0.004569/0.02069, allocations: 1.216 MB / 0.8185 GB, free: 9.91 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.sim & ./Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Functions_Examples_InverseXDerivativeCheck.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 8.11345971096307]