Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") translateModel(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.648/1.648, allocations: 306.1 MB / 321.4 MB, free: 10.74 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001056/0.001056, allocations: 179.3 kB / 393.1 MB, free: 4.07 MB / 314.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.392/1.392, allocations: 225.7 MB / 0.6743 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009258/0.0009261, allocations: 96.92 kB / 0.7935 GB, free: 40.07 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003547/0.0003547, allocations: 12 kB / 0.9224 GB, free: 8.629 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5089/0.5092, allocations: 121.3 MB / 1.041 GB, free: 58.51 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.0006943/0.51, allocations: 342 kB / 1.041 GB, free: 58.36 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001678/0.5117, allocations: 1.802 MB / 1.043 GB, free: 56.87 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.693e-05/0.5117, allocations: 0 / 1.043 GB, free: 56.87 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 1.582e-05/0.5117, allocations: 0 / 1.043 GB, free: 56.87 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 2.591e-05/0.5118, allocations: 3.938 kB / 1.043 GB, free: 56.87 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003866/0.5121, allocations: 111.3 kB / 1.043 GB, free: 56.82 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 5.369e-05/0.5122, allocations: 30.53 kB / 1.043 GB, free: 56.82 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 4.231e-05/0.5123, allocations: 11.7 kB / 1.043 GB, free: 56.81 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 3.533e-05/0.5123, allocations: 17.67 kB / 1.043 GB, free: 56.8 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 7.498e-05/0.5124, allocations: 19.59 kB / 1.043 GB, free: 56.8 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.471e-05/0.5124, allocations: 3.219 kB / 1.043 GB, free: 56.8 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004264/0.5128, allocations: 313.8 kB / 1.043 GB, free: 56.71 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.692e-05/0.5129, allocations: 6.609 kB / 1.043 GB, free: 56.71 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 3.344e-05/0.5129, allocations: 42.12 kB / 1.044 GB, free: 56.68 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0002651/0.5132, allocations: 182.5 kB / 1.044 GB, free: 56.63 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.5132, allocations: 1.469 kB / 1.044 GB, free: 56.63 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.492e-06/0.5132, allocations: 1.094 kB / 1.044 GB, free: 56.63 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.276e-06/0.5132, allocations: 0 / 1.044 GB, free: 56.63 MB / 0.698 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.0003962/0.5136, allocations: 365.3 kB / 1.044 GB, free: 56.25 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.225e-05/0.5136, allocations: 9.219 kB / 1.044 GB, free: 56.25 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004606/0.5141, allocations: 79.28 kB / 1.044 GB, free: 56.25 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.821e-05/0.5142, allocations: 164.8 kB / 1.044 GB, free: 56.06 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.999e-05/0.5142, allocations: 1.5 kB / 1.044 GB, free: 56.06 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.183e-05/0.5142, allocations: 6.812 kB / 1.044 GB, free: 56.06 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002412/0.5145, allocations: 86.48 kB / 1.044 GB, free: 56.02 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.113e-06/0.5145, allocations: 0 / 1.044 GB, free: 56.02 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.307e-05/0.5145, allocations: 5.688 kB / 1.044 GB, free: 56.01 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.5145, allocations: 0.8125 kB / 1.044 GB, free: 56.01 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003089/0.5148, allocations: 79.41 kB / 1.044 GB, free: 56.01 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001396/0.515, allocations: 161.7 kB / 1.045 GB, free: 55.81 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005806/0.5156, allocations: 141.3 kB / 1.045 GB, free: 55.78 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001641/0.5158, allocations: 55.45 kB / 1.045 GB, free: 55.76 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004424/0.5162, allocations: 177.2 kB / 1.045 GB, free: 55.66 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.626e-05/0.5162, allocations: 38.52 kB / 1.045 GB, free: 55.61 MB / 0.698 GB Notification: Performance of pre-optimization done (n=4): time 1.132e-06/0.5162, allocations: 0 / 1.045 GB, free: 55.61 MB / 0.698 GB Notification: Performance of matching and sorting (n=5): time 0.00109/0.5173, allocations: 435.1 kB / 1.045 GB, free: 55.33 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.161e-05/0.5174, allocations: 55.16 kB / 1.045 GB, free: 55.27 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.095e-05/0.5174, allocations: 99.11 kB / 1.046 GB, free: 55.16 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.159e-05/0.5174, allocations: 33.58 kB / 1.046 GB, free: 55.12 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 1.291e-05/0.5175, allocations: 81.88 kB / 1.046 GB, free: 55.04 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.306e-05/0.5175, allocations: 11.72 kB / 1.046 GB, free: 55.03 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.036e-06/0.5175, allocations: 4 kB / 1.046 GB, free: 55.03 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 4.34e-05/0.5175, allocations: 313.7 kB / 1.046 GB, free: 54.71 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001616/0.5177, allocations: 47.55 kB / 1.046 GB, free: 54.71 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001422/0.5179, allocations: 37.81 kB / 1.046 GB, free: 54.7 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000293/0.5182, allocations: 90.94 kB / 1.046 GB, free: 54.68 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.52e-07/0.5182, allocations: 0 / 1.046 GB, free: 54.68 MB / 0.698 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003511/0.5185, allocations: 132.5 kB / 1.046 GB, free: 54.62 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.324e-05/0.5186, allocations: 9.359 kB / 1.046 GB, free: 54.62 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.5186, allocations: 3.938 kB / 1.046 GB, free: 54.62 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.461e-05/0.5186, allocations: 1.188 kB / 1.046 GB, free: 54.62 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001682/0.5188, allocations: 30.67 kB / 1.046 GB, free: 54.61 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.741e-06/0.5188, allocations: 0 / 1.046 GB, free: 54.61 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001049/0.5189, allocations: 15.95 kB / 1.046 GB, free: 54.61 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.154e-05/0.5189, allocations: 2.312 kB / 1.046 GB, free: 54.61 MB / 0.698 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.479e-05/0.519, allocations: 115.8 kB / 1.046 GB, free: 54.49 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.277e-05/0.519, allocations: 4.188 kB / 1.046 GB, free: 54.49 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004346/0.5194, allocations: 156.4 kB / 1.047 GB, free: 54.43 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.5194, allocations: 0 / 1.047 GB, free: 54.43 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.5194, allocations: 0 / 1.047 GB, free: 54.43 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.524e-06/0.5195, allocations: 0 / 1.047 GB, free: 54.43 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.98e-05/0.5196, allocations: 170.5 kB / 1.047 GB, free: 54.23 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.5196, allocations: 3.891 kB / 1.047 GB, free: 54.23 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001535/0.5197, allocations: 28.75 kB / 1.047 GB, free: 54.22 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.5197, allocations: 4 kB / 1.047 GB, free: 54.22 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.173e-05/0.5198, allocations: 3.562 kB / 1.047 GB, free: 54.22 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.913e-06/0.5198, allocations: 2.203 kB / 1.047 GB, free: 54.22 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.5198, allocations: 0 / 1.047 GB, free: 54.22 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005387/0.5203, allocations: 208.2 kB / 1.047 GB, free: 54.12 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.566e-05/0.5204, allocations: 86.83 kB / 1.047 GB, free: 54.02 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.811e-05/0.5204, allocations: 2.469 kB / 1.047 GB, free: 54.02 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001165/0.5205, allocations: 18.8 kB / 1.047 GB, free: 54.02 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.491e-05/0.5206, allocations: 10.16 kB / 1.047 GB, free: 54.01 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.077e-05/0.5206, allocations: 5.781 kB / 1.047 GB, free: 54.01 MB / 0.698 GB Notification: Performance of sorting global known variables: time 1.799e-05/0.5206, allocations: 78.22 kB / 1.047 GB, free: 53.93 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5206, allocations: 0 / 1.047 GB, free: 53.93 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002039/0.5208, allocations: 35.95 kB / 1.047 GB, free: 53.92 MB / 0.698 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.0001748/0.521, allocations: 132.5 kB / 1.047 GB, free: 53.82 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0003671/0.5214, allocations: 97.92 kB / 1.047 GB, free: 53.81 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.073e-06/0.5214, allocations: 4 kB / 1.047 GB, free: 53.8 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001699/0.5215, allocations: 47.08 kB / 1.047 GB, free: 53.8 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001347/0.5217, allocations: 6.594 kB / 1.047 GB, free: 53.8 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000545/0.5222, allocations: 205.4 kB / 1.048 GB, free: 53.66 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.909e-05/0.5223, allocations: 0.6857 MB / 1.048 GB, free: 52.96 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001138/0.5225, allocations: 23.34 kB / 1.048 GB, free: 52.95 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.364e-05/0.5225, allocations: 12.81 kB / 1.048 GB, free: 52.94 MB / 0.698 GB Notification: Performance of SimCode: time 2.71e-07/0.5225, allocations: 0 / 1.048 GB, free: 52.94 MB / 0.698 GB Notification: Performance of Templates: time 0.002892/0.5254, allocations: 1.133 MB / 1.05 GB, free: 52.84 MB / 0.698 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe 2>&1)