Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y_comp|y",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") translateModel(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y_comp|y",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001313/0.001313, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001348/0.001348, allocations: 190.9 kB / 16.25 MB, free: 6.637 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.455/1.455, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.73/2.73, allocations: 437 MB / 0.7101 GB, free: 5.281 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001995/0.001995, allocations: 64.05 kB / 0.8688 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6308/0.6329, allocations: 151.6 MB / 1.017 GB, free: 2.863 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.001786/0.6347, allocations: 0.6722 MB / 1.017 GB, free: 2.188 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.002021/0.6367, allocations: 1.443 MB / 1.019 GB, free: 0.7266 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.334e-05/0.6368, allocations: 4 kB / 1.019 GB, free: 0.7227 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 1.543e-05/0.6368, allocations: 0 / 1.019 GB, free: 0.7227 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 3.274e-05/0.6368, allocations: 0 / 1.019 GB, free: 0.7227 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004934/0.6373, allocations: 115.7 kB / 1.019 GB, free: 0.6094 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 6.507e-05/0.6374, allocations: 31.91 kB / 1.019 GB, free: 0.5781 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 3.786e-05/0.6374, allocations: 4 kB / 1.019 GB, free: 0.5742 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 3.961e-05/0.6375, allocations: 11.98 kB / 1.019 GB, free: 0.5625 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 8.025e-05/0.6376, allocations: 23.91 kB / 1.019 GB, free: 0.5391 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.335e-05/0.6376, allocations: 7.938 kB / 1.019 GB, free: 0.5312 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004561/0.6381, allocations: 327.3 kB / 1.019 GB, free: 216 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.333e-05/0.6381, allocations: 11.98 kB / 1.019 GB, free: 204 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.439e-05/0.6381, allocations: 7.922 kB / 1.019 GB, free: 196 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0002929/0.6384, allocations: 183.7 kB / 1.02 GB, free: 12 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.6384, allocations: 0 / 1.02 GB, free: 12 kB / 0.7637 GB Notification: Performance of FrontEnd: time 1.243e-06/0.6384, allocations: 0 / 1.02 GB, free: 12 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.629e-06/0.6385, allocations: 4 kB / 1.02 GB, free: 8 kB / 0.7637 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.0005864/0.639, allocations: 365.4 kB / 1.02 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.515e-05/0.6391, allocations: 8.031 kB / 1.02 GB, free: 15.6 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004787/0.6396, allocations: 76.8 kB / 1.02 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001395/0.6397, allocations: 164.4 kB / 1.02 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.083e-05/0.6398, allocations: 384 / 1.02 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.465e-05/0.6398, allocations: 4.375 kB / 1.02 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002836/0.6401, allocations: 73.95 kB / 1.02 GB, free: 15.24 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.085e-06/0.6401, allocations: 0 / 1.02 GB, free: 15.24 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.433e-05/0.6401, allocations: 4 kB / 1.02 GB, free: 15.24 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.118e-06/0.6401, allocations: 0 / 1.02 GB, free: 15.24 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003126/0.6404, allocations: 67.86 kB / 1.02 GB, free: 15.17 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002146/0.6407, allocations: 181.5 kB / 1.02 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005965/0.6413, allocations: 114.5 kB / 1.021 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001696/0.6414, allocations: 48.91 kB / 1.021 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004709/0.6419, allocations: 149 kB / 1.021 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.887e-05/0.642, allocations: 38.5 kB / 1.021 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 1.133e-06/0.642, allocations: 0 / 1.021 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of matching and sorting (n=5): time 0.001204/0.6432, allocations: 402.2 kB / 1.021 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.887e-05/0.6432, allocations: 59.34 kB / 1.021 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.618e-05/0.6433, allocations: 97.84 kB / 1.021 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.666e-05/0.6434, allocations: 29.7 kB / 1.021 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.012e-05/0.6434, allocations: 84.14 kB / 1.021 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.901e-05/0.6434, allocations: 11.72 kB / 1.021 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.905e-05/0.6435, allocations: 25.7 kB / 1.022 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001292/0.6437, allocations: 310.8 kB / 1.022 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001682/0.6438, allocations: 36.09 kB / 1.022 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001538/0.644, allocations: 39.95 kB / 1.022 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003269/0.6443, allocations: 72.81 kB / 1.022 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.6443, allocations: 0 / 1.022 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003702/0.6447, allocations: 117.5 kB / 1.022 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.525e-05/0.6447, allocations: 8 kB / 1.022 GB, free: 13.19 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.197e-06/0.6447, allocations: 0 / 1.022 GB, free: 13.19 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.175e-05/0.6448, allocations: 0 / 1.022 GB, free: 13.19 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001561/0.6449, allocations: 27.97 kB / 1.022 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.122e-06/0.6449, allocations: 7.922 kB / 1.022 GB, free: 13.15 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001052/0.645, allocations: 15.98 kB / 1.022 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.387e-06/0.6451, allocations: 3.938 kB / 1.022 GB, free: 13.13 MB / 0.7794 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 8.595e-05/0.6452, allocations: 110.6 kB / 1.022 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.888e-05/0.6452, allocations: 4.266 kB / 1.022 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004692/0.6457, allocations: 145.1 kB / 1.022 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/0.6457, allocations: 3.984 kB / 1.022 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.6457, allocations: 0 / 1.022 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.776e-06/0.6457, allocations: 0 / 1.022 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001559/0.6459, allocations: 165.6 kB / 1.023 GB, free: 12.65 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.6459, allocations: 4 kB / 1.023 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001654/0.646, allocations: 28.22 kB / 1.023 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.285e-06/0.646, allocations: 4 kB / 1.023 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.525e-05/0.6461, allocations: 8 kB / 1.023 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.203e-06/0.6461, allocations: 0 / 1.023 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.6461, allocations: 0 / 1.023 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005867/0.6467, allocations: 185 kB / 1.023 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 7.721e-05/0.6468, allocations: 93 kB / 1.023 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.927e-05/0.6468, allocations: 0 / 1.023 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001288/0.6469, allocations: 15.98 kB / 1.023 GB, free: 12.28 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.826e-05/0.647, allocations: 4 kB / 1.023 GB, free: 12.28 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.169e-05/0.647, allocations: 3.984 kB / 1.023 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.445e-05/0.647, allocations: 83.34 kB / 1.023 GB, free: 12.19 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.5e-07/0.647, allocations: 0 / 1.023 GB, free: 12.19 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002476/0.6473, allocations: 35.94 kB / 1.023 GB, free: 12.16 MB / 0.7794 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.0002181/0.6475, allocations: 123.2 kB / 1.023 GB, free: 12.03 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003961/0.6479, allocations: 84.02 kB / 1.023 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.6479, allocations: 3.938 kB / 1.023 GB, free: 11.94 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001886/0.6481, allocations: 47.95 kB / 1.023 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001553/0.6483, allocations: 9.562 kB / 1.023 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006433/0.6489, allocations: 189.6 kB / 1.023 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003426/0.6493, allocations: 0.6807 MB / 1.024 GB, free: 10.97 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001347/0.6494, allocations: 23.92 kB / 1.024 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.222e-05/0.6495, allocations: 15.38 kB / 1.024 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of SimCode: time 3.61e-07/0.6495, allocations: 0 / 1.024 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of Templates: time 0.004352/0.6539, allocations: 1.159 MB / 1.025 GB, free: 9.77 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.makefile (rm -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.sim & ./Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Functions_Examples_InverseXDerivativeCheck.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches