Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 7.0.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") translateModel(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.239/1.239, allocations: 255.9 MB / 271.2 MB, free: 8.941 MB / 218.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.0008801/0.00088, allocations: 185.2 kB / 330.8 MB, free: 0.5117 MB / 250.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.365/1.365, allocations: 225.7 MB / 0.6016 GB, free: 15.94 MB / 442.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007004/0.0007004, allocations: 99.56 kB / 0.709 GB, free: 5.41 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0002816/0.0002818, allocations: 10.75 kB / 0.8261 GB, free: 123.7 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1444/0.1447, allocations: 109.2 MB / 0.9328 GB, free: 24.12 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.0005236/0.1453, allocations: 326 kB / 0.9331 GB, free: 23.8 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001308/0.1466, allocations: 1.804 MB / 0.9348 GB, free: 21.89 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.236e-05/0.1466, allocations: 8 kB / 0.9348 GB, free: 21.88 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 1.302e-05/0.1466, allocations: 0 / 0.9348 GB, free: 21.88 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 2.218e-05/0.1467, allocations: 0 / 0.9348 GB, free: 21.88 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003203/0.147, allocations: 107.7 kB / 0.935 GB, free: 21.77 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 4.132e-05/0.147, allocations: 31.97 kB / 0.935 GB, free: 21.74 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 3.444e-05/0.1471, allocations: 4 kB / 0.935 GB, free: 21.74 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 2.859e-05/0.1471, allocations: 19.97 kB / 0.935 GB, free: 21.72 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 6.024e-05/0.1472, allocations: 19.91 kB / 0.935 GB, free: 21.7 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.336e-05/0.1472, allocations: 4 kB / 0.935 GB, free: 21.7 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003188/0.1475, allocations: 311.4 kB / 0.9353 GB, free: 21.39 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.363e-05/0.1475, allocations: 3.984 kB / 0.9353 GB, free: 21.39 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.767e-05/0.1476, allocations: 41.62 kB / 0.9354 GB, free: 21.34 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0002141/0.1478, allocations: 187.6 kB / 0.9355 GB, free: 21.16 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.1478, allocations: 0 / 0.9355 GB, free: 21.16 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.503e-06/0.1478, allocations: 4 kB / 0.9356 GB, free: 21.15 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 2.995e-06/0.1478, allocations: 0 / 0.9356 GB, free: 21.15 MB / 0.5886 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.0003314/0.1482, allocations: 359.8 kB / 0.9359 GB, free: 20.75 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 2.89e-05/0.1482, allocations: 13.11 kB / 0.9359 GB, free: 20.74 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003909/0.1486, allocations: 84.78 kB / 0.936 GB, free: 20.66 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.811e-05/0.1487, allocations: 172.3 kB / 0.9362 GB, free: 20.45 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.776e-05/0.1487, allocations: 384 / 0.9362 GB, free: 20.45 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.844e-05/0.1487, allocations: 4.375 kB / 0.9362 GB, free: 20.45 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001995/0.1489, allocations: 81.95 kB / 0.9362 GB, free: 20.36 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.422e-06/0.1489, allocations: 4 kB / 0.9362 GB, free: 20.36 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.053e-05/0.1489, allocations: 0 / 0.9362 GB, free: 20.36 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.577e-06/0.1489, allocations: 0 / 0.9362 GB, free: 20.36 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002544/0.1492, allocations: 79.92 kB / 0.9363 GB, free: 20.28 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001147/0.1493, allocations: 161.7 kB / 0.9365 GB, free: 20.07 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000487/0.1498, allocations: 142.5 kB / 0.9366 GB, free: 19.93 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000136/0.15, allocations: 56.91 kB / 0.9367 GB, free: 19.87 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003694/0.1503, allocations: 173 kB / 0.9368 GB, free: 19.68 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.157e-05/0.1504, allocations: 34.5 kB / 0.9369 GB, free: 19.64 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=4): time 9.72e-07/0.1504, allocations: 0 / 0.9369 GB, free: 19.64 MB / 0.5886 GB Notification: Performance of matching and sorting (n=5): time 0.0008827/0.1513, allocations: 438.1 kB / 0.9373 GB, free: 19.16 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.445e-05/0.1513, allocations: 55.41 kB / 0.9373 GB, free: 19.09 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.379e-05/0.1513, allocations: 97.84 kB / 0.9374 GB, free: 18.98 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 9.457e-06/0.1513, allocations: 33.64 kB / 0.9375 GB, free: 18.95 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 9.497e-06/0.1514, allocations: 84.27 kB / 0.9375 GB, free: 18.86 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.824e-05/0.1514, allocations: 15.75 kB / 0.9375 GB, free: 18.84 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.132e-06/0.1514, allocations: 0 / 0.9375 GB, free: 18.84 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 3.329e-05/0.1514, allocations: 314.8 kB / 0.9378 GB, free: 18.53 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001334/0.1516, allocations: 51.83 kB / 0.9379 GB, free: 18.48 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000121/0.1517, allocations: 39.97 kB / 0.9379 GB, free: 18.44 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002396/0.1519, allocations: 92.8 kB / 0.938 GB, free: 18.34 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.61e-07/0.1519, allocations: 0 / 0.938 GB, free: 18.34 MB / 0.5886 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002976/0.1522, allocations: 129.6 kB / 0.9381 GB, free: 18.21 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 9.518e-06/0.1523, allocations: 7.906 kB / 0.9382 GB, free: 18.2 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.936e-06/0.1523, allocations: 0 / 0.9382 GB, free: 18.2 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.486e-05/0.1523, allocations: 0 / 0.9382 GB, free: 18.2 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001267/0.1524, allocations: 32.17 kB / 0.9382 GB, free: 18.17 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.787e-06/0.1524, allocations: 0 / 0.9382 GB, free: 18.17 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.555e-05/0.1525, allocations: 19.98 kB / 0.9382 GB, free: 18.15 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.328e-06/0.1525, allocations: 3.984 kB / 0.9382 GB, free: 18.15 MB / 0.5886 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 4.191e-05/0.1526, allocations: 114.5 kB / 0.9383 GB, free: 18.03 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.133e-05/0.1526, allocations: 7.844 kB / 0.9383 GB, free: 18.02 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003688/0.153, allocations: 145.2 kB / 0.9385 GB, free: 17.87 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.504e-06/0.153, allocations: 4 kB / 0.9385 GB, free: 17.86 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.925e-06/0.153, allocations: 4 kB / 0.9385 GB, free: 17.86 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.043e-06/0.153, allocations: 0 / 0.9385 GB, free: 17.86 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.068e-05/0.1531, allocations: 169.6 kB / 0.9386 GB, free: 17.64 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.1531, allocations: 0 / 0.9386 GB, free: 17.64 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000136/0.1532, allocations: 31.86 kB / 0.9387 GB, free: 17.61 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.1532, allocations: 0 / 0.9387 GB, free: 17.61 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.848e-06/0.1533, allocations: 4 kB / 0.9387 GB, free: 17.61 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.1533, allocations: 3.984 kB / 0.9387 GB, free: 17.61 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.1533, allocations: 4 kB / 0.9387 GB, free: 17.6 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004554/0.1537, allocations: 201 kB / 0.9389 GB, free: 17.39 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 3.54e-05/0.1538, allocations: 89.06 kB / 0.939 GB, free: 17.28 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.494e-05/0.1538, allocations: 0 / 0.939 GB, free: 17.28 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001011/0.1539, allocations: 15.98 kB / 0.939 GB, free: 17.27 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.01e-05/0.1539, allocations: 7.984 kB / 0.939 GB, free: 17.26 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.536e-06/0.1539, allocations: 4 kB / 0.939 GB, free: 17.25 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 1.457e-05/0.154, allocations: 79.34 kB / 0.9391 GB, free: 17.18 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.2e-07/0.154, allocations: 0 / 0.9391 GB, free: 17.18 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001758/0.1542, allocations: 35.92 kB / 0.9391 GB, free: 17.14 MB / 0.5886 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.0001346/0.1543, allocations: 143.6 kB / 0.9392 GB, free: 16.99 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0003055/0.1546, allocations: 92.03 kB / 0.9393 GB, free: 16.9 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.1546, allocations: 0 / 0.9393 GB, free: 16.9 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0001394/0.1548, allocations: 56.14 kB / 0.9394 GB, free: 16.85 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001147/0.1549, allocations: 11.94 kB / 0.9394 GB, free: 16.84 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004516/0.1553, allocations: 204.8 kB / 0.9396 GB, free: 16.61 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.162e-05/0.1554, allocations: 0.6848 MB / 0.9402 GB, free: 15.9 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 9.959e-05/0.1555, allocations: 23.98 kB / 0.9403 GB, free: 15.88 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.637e-05/0.1556, allocations: 11.44 kB / 0.9403 GB, free: 15.86 MB / 0.5886 GB Notification: Performance of SimCode: time 2e-07/0.1556, allocations: 0 / 0.9403 GB, free: 15.86 MB / 0.5886 GB Notification: Performance of Templates: time 0.002351/0.1579, allocations: 1.125 MB / 0.9414 GB, free: 14.74 MB / 0.5886 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe 2>&1)