Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_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_9_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.001313/0.001313, allocations: 103 kB / 16.36 MB, free: 6.336 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.001407/0.001407, allocations: 198.3 kB / 17.3 MB, free: 5.883 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.37/1.37, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.189/2.189, allocations: 390.3 MB / 0.6655 GB, free: 0.5508 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001316/0.001316, allocations: 68.86 kB / 0.814 GB, free: 32.68 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2347/0.236, allocations: 140.4 MB / 0.9511 GB, free: 8.012 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.002148/0.2382, allocations: 0.7703 MB / 0.9519 GB, free: 7.238 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001806/0.24, allocations: 1.48 MB / 0.9533 GB, free: 5.742 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.779e-05/0.2401, allocations: 0 / 0.9533 GB, free: 5.742 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.904e-05/0.2401, allocations: 3.938 kB / 0.9533 GB, free: 5.738 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 5.703e-05/0.2402, allocations: 3.938 kB / 0.9533 GB, free: 5.734 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005978/0.2408, allocations: 143.4 kB / 0.9535 GB, free: 5.594 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 8.846e-05/0.2409, allocations: 47.95 kB / 0.9535 GB, free: 5.547 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 4.784e-05/0.241, allocations: 7.906 kB / 0.9535 GB, free: 5.539 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 9.018e-05/0.2411, allocations: 39.84 kB / 0.9536 GB, free: 5.5 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 6.251e-05/0.2411, allocations: 31.83 kB / 0.9536 GB, free: 5.469 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.617e-05/0.2412, allocations: 8 kB / 0.9536 GB, free: 5.461 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004472/0.2416, allocations: 315.4 kB / 0.9539 GB, free: 5.152 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.8e-05/0.2416, allocations: 19.97 kB / 0.9539 GB, free: 5.133 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.627e-05/0.2417, allocations: 19.88 kB / 0.9539 GB, free: 5.113 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0003325/0.242, allocations: 211.5 kB / 0.9541 GB, free: 4.906 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.63e-06/0.242, allocations: 0 / 0.9541 GB, free: 4.906 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.723e-06/0.242, allocations: 0 / 0.9541 GB, free: 4.906 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.47e-06/0.2421, allocations: 0 / 0.9541 GB, free: 4.906 MB / 0.7325 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.000606/0.2427, allocations: 399.4 kB / 0.9545 GB, free: 4.469 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.387e-05/0.2427, allocations: 8.031 kB / 0.9545 GB, free: 4.461 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004491/0.2432, allocations: 68.84 kB / 0.9546 GB, free: 4.395 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001191/0.2433, allocations: 180.2 kB / 0.9548 GB, free: 4.18 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.47e-05/0.2433, allocations: 384 / 0.9548 GB, free: 4.18 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.831e-05/0.2434, allocations: 12.38 kB / 0.9548 GB, free: 4.168 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003597/0.2437, allocations: 117.9 kB / 0.9549 GB, free: 4.047 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.175e-05/0.2438, allocations: 0 / 0.9549 GB, free: 4.047 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.677e-05/0.2438, allocations: 0 / 0.9549 GB, free: 4.047 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.2438, allocations: 3.938 kB / 0.9549 GB, free: 4.043 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004627/0.2443, allocations: 107.9 kB / 0.955 GB, free: 3.938 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005909/0.2449, allocations: 332.6 kB / 0.9553 GB, free: 3.562 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000615/0.2455, allocations: 158.4 kB / 0.9555 GB, free: 3.398 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002314/0.2457, allocations: 52.81 kB / 0.9555 GB, free: 3.344 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.252e-05/0.2458, allocations: 4 kB / 0.9555 GB, free: 3.34 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.383e-05/0.2458, allocations: 34.56 kB / 0.9556 GB, free: 3.297 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=7): time 1.252e-06/0.2458, allocations: 0 / 0.9556 GB, free: 3.297 MB / 0.7325 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.01834/0.2641, allocations: 2.834 MB / 0.9583 GB, free: 376 kB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.945e-05/0.2642, allocations: 63.28 kB / 0.9584 GB, free: 300 kB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.068e-05/0.2643, allocations: 97.84 kB / 0.9585 GB, free: 192 kB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.92e-05/0.2643, allocations: 33.7 kB / 0.9585 GB, free: 152 kB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 4.421e-05/0.2644, allocations: 91.98 kB / 0.9586 GB, free: 56 kB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 7.296e-05/0.2645, allocations: 43.44 kB / 0.9586 GB, free: 12 kB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001816/0.2647, allocations: 69.58 kB / 0.9587 GB, free: 15.94 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001021/0.2648, allocations: 314.8 kB / 0.959 GB, free: 15.62 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006364/0.2654, allocations: 187.8 kB / 0.9592 GB, free: 15.44 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006414/0.2661, allocations: 199.7 kB / 0.9594 GB, free: 15.25 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001283/0.2674, allocations: 388.5 kB / 0.9598 GB, free: 14.86 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.654e-06/0.2674, allocations: 0 / 0.9598 GB, free: 14.86 MB / 0.7481 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001517/0.2689, allocations: 485.2 kB / 0.9602 GB, free: 14.38 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.592e-05/0.2689, allocations: 4 kB / 0.9602 GB, free: 14.38 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.082e-06/0.2689, allocations: 0 / 0.9602 GB, free: 14.38 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.287e-05/0.2689, allocations: 0 / 0.9602 GB, free: 14.38 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008337/0.2698, allocations: 112 kB / 0.9603 GB, free: 14.27 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.408e-06/0.2698, allocations: 3.938 kB / 0.9603 GB, free: 14.27 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006057/0.2704, allocations: 51.92 kB / 0.9604 GB, free: 14.21 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.901e-05/0.2705, allocations: 19.94 kB / 0.9604 GB, free: 14.2 MB / 0.7481 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.0001428/0.2706, allocations: 121.3 kB / 0.9605 GB, free: 14.07 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.333e-05/0.2707, allocations: 11.89 kB / 0.9605 GB, free: 14.06 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.184e-05/0.2708, allocations: 11.97 kB / 0.9605 GB, free: 14.04 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.2708, allocations: 0 / 0.9605 GB, free: 14.04 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.774e-06/0.2708, allocations: 7.938 kB / 0.9605 GB, free: 14.03 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.658e-06/0.2708, allocations: 3.984 kB / 0.9605 GB, free: 14.03 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002147/0.273, allocations: 1.039 MB / 0.9616 GB, free: 12.88 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.273, allocations: 0 / 0.9616 GB, free: 12.88 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000798/0.2738, allocations: 107.7 kB / 0.9617 GB, free: 12.78 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.788e-06/0.2738, allocations: 7.938 kB / 0.9617 GB, free: 12.77 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.795e-05/0.2739, allocations: 27.92 kB / 0.9617 GB, free: 12.74 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.355e-06/0.2739, allocations: 0 / 0.9617 GB, free: 12.74 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.2739, allocations: 0 / 0.9617 GB, free: 12.74 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002261/0.2762, allocations: 0.7919 MB / 0.9625 GB, free: 11.93 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001703/0.2763, allocations: 117 kB / 0.9626 GB, free: 11.8 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.08e-05/0.2764, allocations: 8 kB / 0.9626 GB, free: 11.79 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006834/0.2771, allocations: 48 kB / 0.9626 GB, free: 11.75 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.429e-05/0.2772, allocations: 27.92 kB / 0.9627 GB, free: 11.72 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.395e-05/0.2773, allocations: 27.94 kB / 0.9627 GB, free: 11.69 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 3.658e-05/0.2773, allocations: 83.2 kB / 0.9628 GB, free: 11.61 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2.41e-07/0.2774, allocations: 4 kB / 0.9628 GB, free: 11.61 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0003763/0.2777, allocations: 52.09 kB / 0.9628 GB, free: 11.55 MB / 0.7481 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.0001997/0.2779, allocations: 119.2 kB / 0.9629 GB, free: 11.43 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001425/0.2794, allocations: 419.5 kB / 0.9633 GB, free: 11.02 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.2794, allocations: 3.938 kB / 0.9633 GB, free: 11.01 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0007119/0.2801, allocations: 227.7 kB / 0.9636 GB, free: 10.79 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003606/0.2805, allocations: 10.06 kB / 0.9636 GB, free: 10.78 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004349/0.2848, allocations: 0.7634 MB / 0.9643 GB, free: 9.992 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000237/0.2851, allocations: 0.6924 MB / 0.965 GB, free: 9.273 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0004948/0.2856, allocations: 88.67 kB / 0.9651 GB, free: 9.188 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002617/0.2859, allocations: 59.3 kB / 0.9651 GB, free: 9.129 MB / 0.7481 GB Notification: Performance of SimCode: time 3.6e-07/0.2859, allocations: 3.938 kB / 0.9651 GB, free: 9.125 MB / 0.7481 GB Notification: Performance of Templates: time 0.006655/0.2925, allocations: 3.465 MB / 0.9685 GB, free: 5.656 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.makefile (rm -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.sim & ./Buildings_9_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches