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.001212/0.001212, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001221/0.001221, allocations: 195 kB / 16.14 MB, free: 6.648 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.368/1.368, allocations: 222.9 MB / 239.8 MB, free: 4.594 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.581/2.581, allocations: 437 MB / 0.7099 GB, free: 5.332 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00197/0.001971, allocations: 64.14 kB / 0.8685 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7302/0.7322, allocations: 151.6 MB / 1.017 GB, free: 2.875 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.002087/0.7344, allocations: 0.8487 MB / 1.017 GB, free: 2.023 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001868/0.7363, allocations: 1.497 MB / 1.019 GB, free: 0.5078 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.617e-05/0.7363, allocations: 0 / 1.019 GB, free: 0.5078 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.931e-05/0.7363, allocations: 0 / 1.019 GB, free: 0.5078 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 4.791e-05/0.7364, allocations: 3.938 kB / 1.019 GB, free: 0.5039 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004595/0.7369, allocations: 111.7 kB / 1.019 GB, free: 404 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 7.19e-05/0.737, allocations: 51.84 kB / 1.019 GB, free: 352 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 4.4e-05/0.737, allocations: 7.984 kB / 1.019 GB, free: 344 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 6.393e-05/0.7371, allocations: 27.91 kB / 1.019 GB, free: 316 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 6.11e-05/0.7371, allocations: 31.89 kB / 1.019 GB, free: 284 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.87e-05/0.7372, allocations: 8 kB / 1.019 GB, free: 276 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004676/0.7376, allocations: 315.4 kB / 1.019 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.232e-05/0.7377, allocations: 11.92 kB / 1.019 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.705e-05/0.7377, allocations: 19.92 kB / 1.019 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003245/0.738, allocations: 215.5 kB / 1.02 GB, free: 15.72 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.7381, allocations: 3.984 kB / 1.02 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of FrontEnd: time 8.31e-07/0.7381, allocations: 0 / 1.02 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.917e-06/0.7381, allocations: 0 / 1.02 GB, free: 15.71 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.0006558/0.7387, allocations: 401.4 kB / 1.02 GB, free: 15.28 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.682e-05/0.7388, allocations: 8.031 kB / 1.02 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004718/0.7393, allocations: 68.84 kB / 1.02 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001312/0.7394, allocations: 180.2 kB / 1.02 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.489e-05/0.7394, allocations: 384 / 1.02 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.473e-05/0.7395, allocations: 12.38 kB / 1.02 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003717/0.7398, allocations: 109.9 kB / 1.02 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.135e-05/0.7399, allocations: 3.938 kB / 1.02 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.528e-05/0.7399, allocations: 0 / 1.02 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.844e-06/0.7399, allocations: 7.969 kB / 1.02 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004777/0.7404, allocations: 103.8 kB / 1.021 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006131/0.741, allocations: 332.7 kB / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006338/0.7416, allocations: 158.4 kB / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002305/0.7419, allocations: 56.95 kB / 1.021 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.869e-05/0.7419, allocations: 11.98 kB / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.602e-05/0.742, allocations: 30.56 kB / 1.021 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 1.162e-06/0.742, allocations: 3.938 kB / 1.021 GB, free: 14.1 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.01949/0.7615, allocations: 2.83 MB / 1.024 GB, free: 11.17 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.649e-05/0.7615, allocations: 59.34 kB / 1.024 GB, free: 11.1 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.701e-05/0.7616, allocations: 93.86 kB / 1.024 GB, free: 11 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 5.417e-05/0.7617, allocations: 37.69 kB / 1.024 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.69e-05/0.7618, allocations: 88.05 kB / 1.024 GB, free: 10.87 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 7.982e-05/0.7619, allocations: 43.39 kB / 1.024 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001741/0.762, allocations: 65.58 kB / 1.024 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.00016/0.7622, allocations: 314.8 kB / 1.025 GB, free: 10.44 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006455/0.7629, allocations: 191.8 kB / 1.025 GB, free: 10.25 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006391/0.7635, allocations: 200.9 kB / 1.025 GB, free: 10.05 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001308/0.7648, allocations: 394.3 kB / 1.025 GB, free: 9.668 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.7648, allocations: 0 / 1.025 GB, free: 9.668 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001542/0.7664, allocations: 477.2 kB / 1.026 GB, free: 9.195 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.386e-05/0.7664, allocations: 4 kB / 1.026 GB, free: 9.191 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.274e-06/0.7664, allocations: 0 / 1.026 GB, free: 9.191 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.818e-05/0.7665, allocations: 4 kB / 1.026 GB, free: 9.188 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008947/0.7674, allocations: 111.7 kB / 1.026 GB, free: 9.078 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.147e-06/0.7674, allocations: 4.953 kB / 1.026 GB, free: 9.074 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006528/0.768, allocations: 47.94 kB / 1.026 GB, free: 9.027 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.443e-05/0.7681, allocations: 23.92 kB / 1.026 GB, free: 9.004 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.0001545/0.7683, allocations: 114.4 kB / 1.026 GB, free: 8.883 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.466e-05/0.7684, allocations: 7.906 kB / 1.026 GB, free: 8.875 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.596e-05/0.7684, allocations: 11.97 kB / 1.026 GB, free: 8.859 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.7684, allocations: 0 / 1.026 GB, free: 8.859 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/0.7685, allocations: 7.938 kB / 1.026 GB, free: 8.852 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.898e-06/0.7685, allocations: 0 / 1.026 GB, free: 8.852 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00221/0.7707, allocations: 1.058 MB / 1.027 GB, free: 7.684 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.943e-06/0.7707, allocations: 0 / 1.027 GB, free: 7.684 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008483/0.7715, allocations: 107.8 kB / 1.027 GB, free: 7.578 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.308e-06/0.7716, allocations: 3.938 kB / 1.027 GB, free: 7.574 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.015e-05/0.7716, allocations: 27.92 kB / 1.027 GB, free: 7.547 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.532e-06/0.7716, allocations: 0 / 1.027 GB, free: 7.547 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.7716, allocations: 0 / 1.027 GB, free: 7.547 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002356/0.774, allocations: 0.7916 MB / 1.028 GB, free: 6.738 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000142/0.7742, allocations: 113 kB / 1.028 GB, free: 6.609 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.446e-05/0.7742, allocations: 11.98 kB / 1.028 GB, free: 6.598 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007232/0.775, allocations: 44.09 kB / 1.028 GB, free: 6.555 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001068/0.7751, allocations: 31.86 kB / 1.028 GB, free: 6.523 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.756e-05/0.7751, allocations: 27.94 kB / 1.028 GB, free: 6.496 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.387e-05/0.7752, allocations: 83.45 kB / 1.028 GB, free: 6.414 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7752, allocations: 0 / 1.028 GB, free: 6.414 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003835/0.7756, allocations: 48 kB / 1.028 GB, free: 6.367 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.0002432/0.7758, allocations: 119.2 kB / 1.028 GB, free: 6.242 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.001469/0.7773, allocations: 428.3 kB / 1.029 GB, free: 5.824 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.7773, allocations: 0 / 1.029 GB, free: 5.824 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0007159/0.7781, allocations: 227.7 kB / 1.029 GB, free: 5.602 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003874/0.7785, allocations: 11.98 kB / 1.029 GB, free: 5.59 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004464/0.7829, allocations: 0.7769 MB / 1.03 GB, free: 4.789 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002831/0.7832, allocations: 0.6965 MB / 1.031 GB, free: 4.066 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0007003/0.7839, allocations: 84.67 kB / 1.031 GB, free: 3.984 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002752/0.7842, allocations: 55.3 kB / 1.031 GB, free: 3.93 MB / 0.7794 GB Notification: Performance of SimCode: time 2.7e-07/0.7842, allocations: 4 kB / 1.031 GB, free: 3.926 MB / 0.7794 GB Notification: Performance of Templates: time 0.006194/0.7904, allocations: 3.334 MB / 1.034 GB, free: 0.5859 MB / 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=480 -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