Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.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.InverseXDerivative_2_Check,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y|y_comp|der_y|der_y_comp|der_err|err",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check") translateModel(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y|y_comp|der_y|der_y_comp|der_err|err",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001744/0.001744, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.002025/0.002025, allocations: 192.6 kB / 16.25 MB, free: 6.621 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.466/1.466, allocations: 222.9 MB / 239.9 MB, free: 4.523 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.803/2.803, allocations: 437 MB / 0.7101 GB, free: 5.297 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001945/0.001945, allocations: 67.89 kB / 0.8688 GB, free: 5.062 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6212/0.6232, allocations: 151.6 MB / 1.017 GB, free: 2.711 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.00219/0.6254, allocations: 0.8587 MB / 1.018 GB, free: 1.852 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.002077/0.6275, allocations: 1.466 MB / 1.019 GB, free: 376 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.171e-05/0.6276, allocations: 0 / 1.019 GB, free: 376 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.259e-05/0.6276, allocations: 4 kB / 1.019 GB, free: 372 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 4.359e-05/0.6277, allocations: 3.938 kB / 1.019 GB, free: 368 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004764/0.6282, allocations: 119.7 kB / 1.019 GB, free: 248 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 8.444e-05/0.6283, allocations: 51.89 kB / 1.019 GB, free: 196 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 5.249e-05/0.6283, allocations: 11.97 kB / 1.019 GB, free: 184 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 6.794e-05/0.6284, allocations: 23.92 kB / 1.019 GB, free: 160 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 6.489e-05/0.6285, allocations: 35.89 kB / 1.019 GB, free: 124 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.735e-05/0.6285, allocations: 4 kB / 1.019 GB, free: 120 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004797/0.629, allocations: 319.4 kB / 1.02 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.376e-05/0.629, allocations: 19.83 kB / 1.02 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.906e-05/0.629, allocations: 23.86 kB / 1.02 GB, free: 15.76 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003341/0.6294, allocations: 203.6 kB / 1.02 GB, free: 15.56 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 8.415e-06/0.6294, allocations: 0 / 1.02 GB, free: 15.56 MB / 0.7794 GB Notification: Performance of FrontEnd: time 4.268e-06/0.6294, allocations: 0 / 1.02 GB, free: 15.56 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.813e-06/0.6294, allocations: 7.938 kB / 1.02 GB, free: 15.55 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0007259/0.6302, allocations: 405.2 kB / 1.02 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.961e-05/0.6302, allocations: 12.03 kB / 1.02 GB, free: 15.1 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004628/0.6307, allocations: 68.84 kB / 1.02 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001354/0.6308, allocations: 168.2 kB / 1.02 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.79e-05/0.6309, allocations: 8.375 kB / 1.021 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.539e-05/0.6309, allocations: 4.375 kB / 1.021 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003962/0.6313, allocations: 121.8 kB / 1.021 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.191e-05/0.6313, allocations: 0 / 1.021 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.575e-05/0.6313, allocations: 4 kB / 1.021 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.6313, allocations: 3.938 kB / 1.021 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004884/0.6318, allocations: 107.8 kB / 1.021 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008142/0.6327, allocations: 328.7 kB / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006703/0.6333, allocations: 162.4 kB / 1.021 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002379/0.6336, allocations: 52.81 kB / 1.021 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.928e-05/0.6336, allocations: 0 / 1.021 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001021/0.6337, allocations: 38.56 kB / 1.021 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 1.213e-06/0.6337, allocations: 0 / 1.021 GB, free: 13.94 MB / 0.7794 GB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: x Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=11): time 0.01986/0.6536, allocations: 2.823 MB / 1.024 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.369e-05/0.6537, allocations: 55.34 kB / 1.024 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.206e-05/0.6538, allocations: 109.8 kB / 1.024 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 5.577e-05/0.6539, allocations: 29.7 kB / 1.024 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.014e-05/0.6539, allocations: 84.05 kB / 1.024 GB, free: 10.72 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 8.045e-05/0.654, allocations: 43.38 kB / 1.024 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001772/0.6542, allocations: 69.58 kB / 1.024 GB, free: 10.6 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001389/0.6543, allocations: 326.8 kB / 1.025 GB, free: 10.27 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006767/0.655, allocations: 191.8 kB / 1.025 GB, free: 10.09 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006621/0.6557, allocations: 191.4 kB / 1.025 GB, free: 9.902 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001323/0.657, allocations: 400.5 kB / 1.025 GB, free: 9.508 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.657, allocations: 0 / 1.025 GB, free: 9.508 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001571/0.6586, allocations: 477.1 kB / 1.026 GB, free: 9.035 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.806e-05/0.6586, allocations: 4 kB / 1.026 GB, free: 9.031 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.025e-05/0.6587, allocations: 320 / 1.026 GB, free: 9.031 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.081e-05/0.6587, allocations: 0 / 1.026 GB, free: 9.031 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009168/0.6596, allocations: 115.7 kB / 1.026 GB, free: 8.918 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.148e-05/0.6596, allocations: 3.938 kB / 1.026 GB, free: 8.914 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006712/0.6603, allocations: 48.12 kB / 1.026 GB, free: 8.867 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.366e-05/0.6604, allocations: 27.92 kB / 1.026 GB, free: 8.84 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 (13): * Single equations (assignments): 13 * 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.0001841/0.6606, allocations: 113.8 kB / 1.026 GB, free: 8.719 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.483e-05/0.6607, allocations: 3.984 kB / 1.026 GB, free: 8.715 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.428e-05/0.6607, allocations: 19.95 kB / 1.026 GB, free: 8.691 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.6607, allocations: 0 / 1.026 GB, free: 8.691 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.704e-06/0.6608, allocations: 3.938 kB / 1.026 GB, free: 8.688 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.6608, allocations: 4 kB / 1.026 GB, free: 8.684 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002388/0.6632, allocations: 1.054 MB / 1.027 GB, free: 7.52 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.557e-06/0.6632, allocations: 0 / 1.027 GB, free: 7.52 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008722/0.6641, allocations: 103.8 kB / 1.027 GB, free: 7.418 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.766e-06/0.6641, allocations: 8.016 kB / 1.027 GB, free: 7.41 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.293e-05/0.6641, allocations: 27.88 kB / 1.027 GB, free: 7.383 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.374e-06/0.6642, allocations: 0 / 1.027 GB, free: 7.383 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.983e-06/0.6642, allocations: 0 / 1.027 GB, free: 7.383 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002385/0.6666, allocations: 0.7916 MB / 1.028 GB, free: 6.574 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001485/0.6667, allocations: 121 kB / 1.028 GB, free: 6.438 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.815e-05/0.6668, allocations: 0 / 1.028 GB, free: 6.438 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007297/0.6675, allocations: 52 kB / 1.028 GB, free: 6.387 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001219/0.6677, allocations: 27.92 kB / 1.028 GB, free: 6.359 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.893e-05/0.6677, allocations: 19.94 kB / 1.028 GB, free: 6.34 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.5e-05/0.6678, allocations: 87.27 kB / 1.028 GB, free: 6.254 MB / 0.7794 GB Notification: Performance of sort global known variables: time 3.2e-07/0.6678, allocations: 0 / 1.028 GB, free: 6.254 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000395/0.6682, allocations: 56 kB / 1.029 GB, free: 6.199 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (y_comp,der_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 (11): * Single equations (assignments): 11 * 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.0002591/0.6685, allocations: 115.8 kB / 1.029 GB, free: 6.078 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.001496/0.67, allocations: 431.4 kB / 1.029 GB, free: 5.656 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.67, allocations: 0 / 1.029 GB, free: 5.656 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0007155/0.6707, allocations: 227.7 kB / 1.029 GB, free: 5.434 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004105/0.6711, allocations: 10.64 kB / 1.029 GB, free: 5.426 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004515/0.6756, allocations: 0.7793 MB / 1.03 GB, free: 4.621 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003235/0.676, allocations: 0.6963 MB / 1.031 GB, free: 3.898 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0007302/0.6767, allocations: 88.66 kB / 1.031 GB, free: 3.812 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002683/0.677, allocations: 55.31 kB / 1.031 GB, free: 3.758 MB / 0.7794 GB Notification: Performance of SimCode: time 7.62e-07/0.677, allocations: 0 / 1.031 GB, free: 3.758 MB / 0.7794 GB Notification: Performance of Templates: time 0.00733/0.6844, allocations: 3.469 MB / 1.034 GB, free: 288 kB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.makefile (rm -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.sim & ./Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches