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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001121/0.001121, allocations: 105.3 kB / 16.36 MB, free: 5.828 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.001178/0.001178, allocations: 189.4 kB / 17.29 MB, free: 5.484 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.191/1.191, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.174/2.174, allocations: 437.1 MB / 0.7112 GB, free: 4.359 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001921/0.001921, allocations: 64.11 kB / 0.8707 GB, free: 1.414 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2582/0.2602, allocations: 151.6 MB / 1.019 GB, free: 9.816 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.00186/0.2621, allocations: 0.7899 MB / 1.02 GB, free: 9.016 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001593/0.2637, allocations: 1.479 MB / 1.021 GB, free: 7.52 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.83e-05/0.2637, allocations: 0 / 1.021 GB, free: 7.52 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 2.48e-05/0.2638, allocations: 3.938 kB / 1.021 GB, free: 7.516 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 3.488e-05/0.2638, allocations: 0 / 1.021 GB, free: 7.516 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.000435/0.2642, allocations: 152.2 kB / 1.021 GB, free: 7.367 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 7.913e-05/0.2643, allocations: 51.84 kB / 1.021 GB, free: 7.316 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 3.367e-05/0.2644, allocations: 0 / 1.021 GB, free: 7.316 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 6.506e-05/0.2644, allocations: 31.91 kB / 1.021 GB, free: 7.285 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 5.309e-05/0.2645, allocations: 31.89 kB / 1.021 GB, free: 7.254 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.506e-05/0.2645, allocations: 4 kB / 1.021 GB, free: 7.25 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003834/0.2649, allocations: 319.4 kB / 1.022 GB, free: 6.938 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 3.113e-05/0.2649, allocations: 15.92 kB / 1.022 GB, free: 6.922 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 3.48e-05/0.265, allocations: 27.84 kB / 1.022 GB, free: 6.895 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0002758/0.2653, allocations: 207.6 kB / 1.022 GB, free: 6.691 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.888e-06/0.2653, allocations: 4 kB / 1.022 GB, free: 6.688 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.393e-06/0.2653, allocations: 0 / 1.022 GB, free: 6.688 MB / 0.795 GB Notification: Performance of Transformations before backend: time 7.795e-06/0.2653, allocations: 0 / 1.022 GB, free: 6.688 MB / 0.795 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.000539/0.2658, allocations: 403.3 kB / 1.022 GB, free: 6.246 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.033e-05/0.2659, allocations: 8.625 kB / 1.022 GB, free: 6.238 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003961/0.2663, allocations: 68.84 kB / 1.022 GB, free: 6.172 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000103/0.2664, allocations: 176.2 kB / 1.022 GB, free: 5.961 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.607e-05/0.2664, allocations: 12.38 kB / 1.022 GB, free: 5.949 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.14e-05/0.2665, allocations: 8.375 kB / 1.022 GB, free: 5.941 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000311/0.2668, allocations: 112.3 kB / 1.023 GB, free: 5.828 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.818e-06/0.2668, allocations: 3.938 kB / 1.023 GB, free: 5.824 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.348e-05/0.2668, allocations: 0 / 1.023 GB, free: 5.824 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.962e-06/0.2668, allocations: 4 kB / 1.023 GB, free: 5.82 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004241/0.2672, allocations: 103.8 kB / 1.023 GB, free: 5.719 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004918/0.2677, allocations: 340.7 kB / 1.023 GB, free: 5.336 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005426/0.2683, allocations: 150.4 kB / 1.023 GB, free: 5.18 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001972/0.2685, allocations: 60.8 kB / 1.023 GB, free: 5.117 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.253e-05/0.2685, allocations: 4 kB / 1.023 GB, free: 5.113 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.957e-05/0.2686, allocations: 30.56 kB / 1.023 GB, free: 5.074 MB / 0.795 GB Notification: Performance of pre-optimization done (n=7): time 1.052e-06/0.2686, allocations: 0 / 1.023 GB, free: 5.074 MB / 0.795 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.01621/0.2848, allocations: 2.83 MB / 1.026 GB, free: 2.148 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.95e-05/0.2848, allocations: 59.34 kB / 1.026 GB, free: 2.078 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.924e-05/0.2849, allocations: 93.86 kB / 1.026 GB, free: 1.977 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 4.386e-05/0.2849, allocations: 29.7 kB / 1.026 GB, free: 1.941 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 4.724e-05/0.285, allocations: 99.95 kB / 1.026 GB, free: 1.84 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 5.501e-05/0.2851, allocations: 39.45 kB / 1.026 GB, free: 1.801 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001457/0.2852, allocations: 65.58 kB / 1.026 GB, free: 1.73 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 9.035e-05/0.2853, allocations: 318.8 kB / 1.027 GB, free: 1.41 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005696/0.2859, allocations: 187.8 kB / 1.027 GB, free: 1.227 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005619/0.2865, allocations: 199.7 kB / 1.027 GB, free: 1.031 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001149/0.2876, allocations: 399.4 kB / 1.027 GB, free: 0.6406 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.2876, allocations: 0 / 1.027 GB, free: 0.6406 MB / 0.795 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001337/0.289, allocations: 473.1 kB / 1.028 GB, free: 176 kB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.346e-05/0.289, allocations: 4 kB / 1.028 GB, free: 172 kB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.518e-06/0.289, allocations: 0 / 1.028 GB, free: 172 kB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.345e-05/0.289, allocations: 4 kB / 1.028 GB, free: 168 kB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007344/0.2898, allocations: 107.9 kB / 1.028 GB, free: 60 kB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.384e-06/0.2898, allocations: 3.938 kB / 1.028 GB, free: 56 kB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005518/0.2903, allocations: 51.94 kB / 1.028 GB, free: 4 kB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.537e-05/0.2904, allocations: 23.92 kB / 1.028 GB, free: 15.98 MB / 0.8106 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.0001187/0.2905, allocations: 113.8 kB / 1.028 GB, free: 15.86 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.362e-05/0.2906, allocations: 11.89 kB / 1.028 GB, free: 15.85 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.75e-05/0.2907, allocations: 11.97 kB / 1.028 GB, free: 15.84 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.2907, allocations: 8 kB / 1.028 GB, free: 15.83 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.2907, allocations: 7.875 kB / 1.028 GB, free: 15.82 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.255e-06/0.2907, allocations: 0 / 1.028 GB, free: 15.82 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001926/0.2926, allocations: 1.047 MB / 1.029 GB, free: 14.66 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.2926, allocations: 96 / 1.029 GB, free: 14.66 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007449/0.2934, allocations: 111.7 kB / 1.029 GB, free: 14.55 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/0.2934, allocations: 3.938 kB / 1.029 GB, free: 14.55 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.334e-05/0.2934, allocations: 23.94 kB / 1.029 GB, free: 14.52 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.2935, allocations: 3.984 kB / 1.029 GB, free: 14.52 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.2935, allocations: 4 kB / 1.029 GB, free: 14.52 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00201/0.2955, allocations: 0.7957 MB / 1.03 GB, free: 13.7 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001407/0.2956, allocations: 117 kB / 1.03 GB, free: 13.57 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.959e-05/0.2957, allocations: 12.05 kB / 1.03 GB, free: 13.56 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005923/0.2963, allocations: 43.94 kB / 1.03 GB, free: 13.52 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.564e-05/0.2964, allocations: 23.92 kB / 1.03 GB, free: 13.49 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.941e-05/0.2964, allocations: 27.94 kB / 1.03 GB, free: 13.46 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.408e-05/0.2965, allocations: 83.28 kB / 1.03 GB, free: 13.38 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2965, allocations: 0 / 1.03 GB, free: 13.38 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0003244/0.2968, allocations: 52 kB / 1.03 GB, free: 13.33 MB / 0.8106 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.0001707/0.297, allocations: 115.2 kB / 1.031 GB, free: 13.21 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.001258/0.2983, allocations: 427.4 kB / 1.031 GB, free: 12.79 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.2983, allocations: 0 / 1.031 GB, free: 12.79 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0006263/0.2989, allocations: 223.7 kB / 1.031 GB, free: 12.57 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003058/0.2992, allocations: 15.98 kB / 1.031 GB, free: 12.56 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003714/0.3029, allocations: 0.748 MB / 1.032 GB, free: 11.79 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002261/0.3032, allocations: 0.6963 MB / 1.033 GB, free: 11.06 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0004508/0.3036, allocations: 84.67 kB / 1.033 GB, free: 10.98 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002306/0.3039, allocations: 59.3 kB / 1.033 GB, free: 10.92 MB / 0.8106 GB Notification: Performance of SimCode: time 2.3e-07/0.3039, allocations: 0 / 1.033 GB, free: 10.92 MB / 0.8106 GB Notification: Performance of Templates: time 0.005272/0.3092, allocations: 3.473 MB / 1.036 GB, free: 7.445 MB / 0.8106 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 -s cvode -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/jenkins1/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