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.0084/0.0084, allocations: 100.5 kB / 15.73 MB, free: 5.953 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.001756/0.001756, allocations: 192.8 kB / 16.67 MB, free: 5.875 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.389/1.389, allocations: 222.9 MB / 240.4 MB, free: 15.06 MB / 206.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.444/2.444, allocations: 437 MB / 0.7105 GB, free: 4.34 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001287/0.001287, allocations: 63.89 kB / 1.019 GB, free: 9.305 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9065/0.9078, allocations: 151.6 MB / 1.167 GB, free: 3.777 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.002066/0.9099, allocations: 0.7888 MB / 1.167 GB, free: 2.992 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001888/0.9118, allocations: 1.468 MB / 1.169 GB, free: 1.508 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.797e-05/0.9119, allocations: 0 / 1.169 GB, free: 1.508 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 3.153e-05/0.9119, allocations: 7.938 kB / 1.169 GB, free: 1.5 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 5.428e-05/0.912, allocations: 3.938 kB / 1.169 GB, free: 1.496 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005498/0.9125, allocations: 147.4 kB / 1.169 GB, free: 1.352 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 8.972e-05/0.9126, allocations: 51.95 kB / 1.169 GB, free: 1.301 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 5.012e-05/0.9127, allocations: 7.984 kB / 1.169 GB, free: 1.293 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 7.872e-05/0.9128, allocations: 23.86 kB / 1.169 GB, free: 1.27 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 6.743e-05/0.9129, allocations: 35.84 kB / 1.169 GB, free: 1.234 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.988e-05/0.9129, allocations: 4 kB / 1.169 GB, free: 1.23 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004841/0.9134, allocations: 323.3 kB / 1.169 GB, free: 0.9141 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.256e-05/0.9134, allocations: 11.98 kB / 1.169 GB, free: 0.9023 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 4.613e-05/0.9135, allocations: 27.84 kB / 1.169 GB, free: 0.875 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0003505/0.9138, allocations: 207.9 kB / 1.17 GB, free: 0.6758 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.9138, allocations: 0 / 1.17 GB, free: 0.6758 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.014e-06/0.9138, allocations: 4 kB / 1.17 GB, free: 0.6719 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 6.953e-06/0.9138, allocations: 0 / 1.17 GB, free: 0.6719 MB / 0.8887 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.0007173/0.9146, allocations: 406.9 kB / 1.17 GB, free: 232 kB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.448e-05/0.9146, allocations: 8.922 kB / 1.17 GB, free: 224 kB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004769/0.9151, allocations: 76.78 kB / 1.17 GB, free: 148 kB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001644/0.9153, allocations: 164.3 kB / 1.17 GB, free: 15.95 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.033e-05/0.9153, allocations: 12.31 kB / 1.17 GB, free: 15.93 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.012e-05/0.9154, allocations: 8.359 kB / 1.17 GB, free: 15.93 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003875/0.9157, allocations: 121.8 kB / 1.17 GB, free: 15.8 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.213e-05/0.9158, allocations: 0 / 1.17 GB, free: 15.8 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.801e-05/0.9158, allocations: 4 kB / 1.17 GB, free: 15.8 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.9158, allocations: 0 / 1.17 GB, free: 15.8 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004888/0.9163, allocations: 103.9 kB / 1.171 GB, free: 15.7 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006284/0.9169, allocations: 340.6 kB / 1.171 GB, free: 15.31 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006817/0.9176, allocations: 150.4 kB / 1.171 GB, free: 15.16 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000296/0.9179, allocations: 56.81 kB / 1.171 GB, free: 15.1 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 1.973e-05/0.918, allocations: 0 / 1.171 GB, free: 15.1 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.324e-05/0.918, allocations: 34.56 kB / 1.171 GB, free: 15.05 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=7): time 1.312e-06/0.918, allocations: 0 / 1.171 GB, free: 15.05 MB / 0.9044 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.01775/0.9358, allocations: 2.842 MB / 1.174 GB, free: 12.12 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.677e-05/0.9359, allocations: 59.34 kB / 1.174 GB, free: 12.05 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.888e-05/0.9359, allocations: 101.8 kB / 1.174 GB, free: 11.94 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 4.804e-05/0.936, allocations: 33.7 kB / 1.174 GB, free: 11.9 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 6.295e-05/0.9361, allocations: 84.09 kB / 1.174 GB, free: 11.82 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 6.977e-05/0.9361, allocations: 39.67 kB / 1.174 GB, free: 11.78 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001746/0.9363, allocations: 69.58 kB / 1.174 GB, free: 11.7 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001269/0.9365, allocations: 322.8 kB / 1.175 GB, free: 11.38 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006646/0.9371, allocations: 191.9 kB / 1.175 GB, free: 11.19 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007027/0.9378, allocations: 195.8 kB / 1.175 GB, free: 11 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001349/0.9392, allocations: 386 kB / 1.175 GB, free: 10.62 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.9392, allocations: 4 kB / 1.175 GB, free: 10.62 MB / 0.9044 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001573/0.9408, allocations: 477.1 kB / 1.176 GB, free: 10.14 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.922e-05/0.9408, allocations: 8 kB / 1.176 GB, free: 10.14 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.9408, allocations: 0 / 1.176 GB, free: 10.14 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.699e-05/0.9409, allocations: 0 / 1.176 GB, free: 10.14 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008328/0.9417, allocations: 107.8 kB / 1.176 GB, free: 10.03 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.01e-05/0.9417, allocations: 7.938 kB / 1.176 GB, free: 10.02 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006012/0.9423, allocations: 51.94 kB / 1.176 GB, free: 9.973 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.073e-05/0.9424, allocations: 23.94 kB / 1.176 GB, free: 9.949 MB / 0.9044 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.0001422/0.9425, allocations: 117.7 kB / 1.176 GB, free: 9.824 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.651e-05/0.9426, allocations: 7.953 kB / 1.176 GB, free: 9.816 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.034e-05/0.9427, allocations: 20.05 kB / 1.176 GB, free: 9.793 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.9427, allocations: 3.938 kB / 1.176 GB, free: 9.789 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.722e-06/0.9427, allocations: 7.938 kB / 1.176 GB, free: 9.781 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.9427, allocations: 0 / 1.176 GB, free: 9.781 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002236/0.945, allocations: 1.031 MB / 1.177 GB, free: 8.641 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.945, allocations: 4 kB / 1.177 GB, free: 8.637 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008346/0.9458, allocations: 111.7 kB / 1.177 GB, free: 8.527 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.729e-06/0.9458, allocations: 3.938 kB / 1.177 GB, free: 8.523 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.272e-05/0.9459, allocations: 19.94 kB / 1.177 GB, free: 8.504 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.197e-06/0.9459, allocations: 4 kB / 1.177 GB, free: 8.5 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.9459, allocations: 320 / 1.177 GB, free: 8.5 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00238/0.9483, allocations: 0.7917 MB / 1.178 GB, free: 7.691 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001621/0.9485, allocations: 121.2 kB / 1.178 GB, free: 7.555 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.38e-05/0.9485, allocations: 0 / 1.178 GB, free: 7.555 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006783/0.9492, allocations: 55.98 kB / 1.178 GB, free: 7.5 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.809e-05/0.9493, allocations: 27.92 kB / 1.178 GB, free: 7.473 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.036e-05/0.9494, allocations: 19.94 kB / 1.178 GB, free: 7.453 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 4.043e-05/0.9494, allocations: 91.2 kB / 1.178 GB, free: 7.363 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9495, allocations: 4 kB / 1.178 GB, free: 7.359 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0003702/0.9498, allocations: 48 kB / 1.178 GB, free: 7.312 MB / 0.9044 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.000205/0.95, allocations: 115.2 kB / 1.178 GB, free: 7.191 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.001496/0.9515, allocations: 424.9 kB / 1.179 GB, free: 6.777 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 4.028e-06/0.9516, allocations: 4 kB / 1.179 GB, free: 6.773 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0007391/0.9523, allocations: 231.6 kB / 1.179 GB, free: 6.547 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00032/0.9526, allocations: 8.75 kB / 1.179 GB, free: 6.539 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004224/0.9569, allocations: 0.7514 MB / 1.18 GB, free: 5.762 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002544/0.9571, allocations: 0.6962 MB / 1.181 GB, free: 5.039 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.000551/0.9577, allocations: 96.64 kB / 1.181 GB, free: 4.945 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002702/0.958, allocations: 51.31 kB / 1.181 GB, free: 4.895 MB / 0.9044 GB Notification: Performance of SimCode: time 1.913e-06/0.958, allocations: 0 / 1.181 GB, free: 4.895 MB / 0.9044 GB Notification: Performance of Templates: time 0.007008/0.965, allocations: 3.481 MB / 1.184 GB, free: 1.41 MB / 0.9044 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