Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y_comp|y",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") translateModel(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y_comp|y",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005078/0.005078, allocations: 96.69 kB / 15.73 MB, free: 6.043 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.001119/0.001119, allocations: 193.2 kB / 16.67 MB, free: 5.969 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.362/1.362, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.444/2.444, allocations: 390.2 MB / 0.6648 GB, free: 212 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001163/0.001163, allocations: 65.03 kB / 0.9509 GB, free: 5.562 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2966/0.2978, allocations: 140.4 MB / 1.088 GB, free: 1.43 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.001576/0.2994, allocations: 0.5983 MB / 1.089 GB, free: 0.8359 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001784/0.3012, allocations: 1.444 MB / 1.09 GB, free: 15.38 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.261e-05/0.3012, allocations: 4 kB / 1.09 GB, free: 15.37 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 1.514e-05/0.3013, allocations: 3.938 kB / 1.09 GB, free: 15.37 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 3.005e-05/0.3013, allocations: 0 / 1.09 GB, free: 15.37 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.000488/0.3018, allocations: 143.4 kB / 1.09 GB, free: 15.23 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 6.308e-05/0.3019, allocations: 27.97 kB / 1.09 GB, free: 15.2 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.056e-05/0.3019, allocations: 4 kB / 1.09 GB, free: 15.2 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 4.217e-05/0.302, allocations: 11.98 kB / 1.09 GB, free: 15.18 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 7.882e-05/0.302, allocations: 23.91 kB / 1.09 GB, free: 15.16 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.435e-05/0.3021, allocations: 4 kB / 1.09 GB, free: 15.16 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004231/0.3025, allocations: 323.3 kB / 1.09 GB, free: 14.84 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.698e-05/0.3025, allocations: 15.98 kB / 1.091 GB, free: 14.82 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.47e-05/0.3025, allocations: 11.91 kB / 1.091 GB, free: 14.81 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002844/0.3028, allocations: 183.5 kB / 1.091 GB, free: 14.63 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.3028, allocations: 0 / 1.091 GB, free: 14.63 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.703e-06/0.3029, allocations: 4 kB / 1.091 GB, free: 14.63 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.534e-06/0.3029, allocations: 0 / 1.091 GB, free: 14.63 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006437/0.3035, allocations: 371 kB / 1.091 GB, free: 14.22 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.898e-05/0.3036, allocations: 8.031 kB / 1.091 GB, free: 14.21 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005167/0.3041, allocations: 68.81 kB / 1.091 GB, free: 14.14 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000146/0.3043, allocations: 172.3 kB / 1.091 GB, free: 13.94 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.661e-05/0.3043, allocations: 384 / 1.091 GB, free: 13.94 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.258e-05/0.3043, allocations: 4.375 kB / 1.091 GB, free: 13.93 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002881/0.3046, allocations: 77.94 kB / 1.091 GB, free: 13.85 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/0.3046, allocations: 0 / 1.091 GB, free: 13.85 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.56e-05/0.3047, allocations: 0 / 1.091 GB, free: 13.85 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.671e-06/0.3047, allocations: 4 kB / 1.091 GB, free: 13.85 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002973/0.305, allocations: 63.92 kB / 1.091 GB, free: 13.79 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002381/0.3052, allocations: 173.7 kB / 1.092 GB, free: 13.57 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006569/0.3059, allocations: 118.5 kB / 1.092 GB, free: 13.44 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001746/0.3061, allocations: 48.91 kB / 1.092 GB, free: 13.39 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004876/0.3066, allocations: 153 kB / 1.092 GB, free: 13.22 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.639e-05/0.3066, allocations: 34.5 kB / 1.092 GB, free: 13.18 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.3066, allocations: 4 kB / 1.092 GB, free: 13.18 MB / 0.8575 GB Notification: Performance of matching and sorting (n=5): time 0.001255/0.3079, allocations: 406.1 kB / 1.092 GB, free: 12.73 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.551e-05/0.3079, allocations: 51.41 kB / 1.092 GB, free: 12.66 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.125e-05/0.308, allocations: 97.84 kB / 1.092 GB, free: 12.56 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.204e-05/0.3081, allocations: 33.7 kB / 1.092 GB, free: 12.52 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.681e-05/0.3081, allocations: 80.14 kB / 1.093 GB, free: 12.44 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.354e-05/0.3081, allocations: 11.86 kB / 1.093 GB, free: 12.43 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.759e-05/0.3082, allocations: 25.7 kB / 1.093 GB, free: 12.39 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001111/0.3083, allocations: 314.8 kB / 1.093 GB, free: 12.08 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001526/0.3085, allocations: 32.09 kB / 1.093 GB, free: 12.05 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001481/0.3086, allocations: 43.89 kB / 1.093 GB, free: 12 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002842/0.3089, allocations: 80.98 kB / 1.093 GB, free: 11.92 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.3089, allocations: 4 kB / 1.093 GB, free: 11.92 MB / 0.8575 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003316/0.3093, allocations: 109.5 kB / 1.093 GB, free: 11.8 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.488e-05/0.3093, allocations: 8 kB / 1.093 GB, free: 11.8 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.827e-06/0.3093, allocations: 0 / 1.093 GB, free: 11.8 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.149e-05/0.3093, allocations: 0 / 1.093 GB, free: 11.8 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001407/0.3094, allocations: 31.97 kB / 1.093 GB, free: 11.77 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/0.3095, allocations: 7.922 kB / 1.093 GB, free: 11.76 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.396e-05/0.3096, allocations: 11.98 kB / 1.093 GB, free: 11.75 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.698e-06/0.3096, allocations: 7.938 kB / 1.093 GB, free: 11.74 MB / 0.8575 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 (6): * Single equations (assignments): 6 * 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 6.945e-05/0.3097, allocations: 105.8 kB / 1.093 GB, free: 11.62 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.683e-05/0.3097, allocations: 7.922 kB / 1.093 GB, free: 11.62 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004314/0.3101, allocations: 137.2 kB / 1.093 GB, free: 11.48 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.3101, allocations: 0 / 1.093 GB, free: 11.48 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.3101, allocations: 0 / 1.093 GB, free: 11.48 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.3101, allocations: 3.984 kB / 1.093 GB, free: 11.47 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001256/0.3103, allocations: 157.7 kB / 1.094 GB, free: 11.27 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.846e-06/0.3103, allocations: 4 kB / 1.094 GB, free: 11.27 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001509/0.3104, allocations: 35.84 kB / 1.094 GB, free: 11.23 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.704e-06/0.3105, allocations: 0 / 1.094 GB, free: 11.23 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.427e-05/0.3105, allocations: 4 kB / 1.094 GB, free: 11.23 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.734e-06/0.3105, allocations: 0 / 1.094 GB, free: 11.23 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.3105, allocations: 0 / 1.094 GB, free: 11.23 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005726/0.3111, allocations: 193.1 kB / 1.094 GB, free: 11.02 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 8.121e-05/0.3111, allocations: 89.39 kB / 1.094 GB, free: 10.91 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.34e-05/0.3112, allocations: 4 kB / 1.094 GB, free: 10.91 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001152/0.3113, allocations: 11.98 kB / 1.094 GB, free: 10.9 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.344e-05/0.3113, allocations: 4 kB / 1.094 GB, free: 10.89 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.042e-05/0.3114, allocations: 7.969 kB / 1.094 GB, free: 10.89 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.163e-05/0.3114, allocations: 79.28 kB / 1.094 GB, free: 10.81 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2.71e-07/0.3114, allocations: 4.156 kB / 1.094 GB, free: 10.8 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002607/0.3117, allocations: 31.88 kB / 1.094 GB, free: 10.77 MB / 0.8575 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (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 (6): * Single equations (assignments): 6 * 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.0002741/0.312, allocations: 131.6 kB / 1.094 GB, free: 10.63 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0004072/0.3124, allocations: 83.92 kB / 1.094 GB, free: 10.55 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.3124, allocations: 3.938 kB / 1.094 GB, free: 10.55 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001684/0.3126, allocations: 47.95 kB / 1.094 GB, free: 10.5 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001717/0.3128, allocations: 4 kB / 1.094 GB, free: 10.5 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006208/0.3134, allocations: 177.4 kB / 1.095 GB, free: 10.3 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002222/0.3136, allocations: 0.6846 MB / 1.095 GB, free: 9.586 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 8.57e-05/0.3137, allocations: 23.92 kB / 1.095 GB, free: 9.562 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.244e-05/0.3138, allocations: 11.44 kB / 1.095 GB, free: 9.551 MB / 0.8575 GB Notification: Performance of SimCode: time 3.31e-07/0.3138, allocations: 0 / 1.095 GB, free: 9.551 MB / 0.8575 GB Notification: Performance of Templates: time 0.003233/0.317, allocations: 1.154 MB / 1.096 GB, free: 8.398 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.makefile (rm -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.sim & ./Buildings_9_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Functions_Examples_InverseXDerivativeCheck.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches