Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001482/0.001482, allocations: 107.7 kB / 16.37 MB, free: 6.477 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.001697/0.001697, allocations: 193.1 kB / 17.31 MB, free: 5.824 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.347/1.347, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.473/2.473, allocations: 442.6 MB / 0.7165 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001502/0.001502, allocations: 65.41 kB / 0.8774 GB, free: 10.98 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2883/0.2898, allocations: 153 MB / 1.027 GB, free: 2.066 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.00186/0.2917, allocations: 0.6094 MB / 1.027 GB, free: 1.453 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001771/0.2935, allocations: 1.449 MB / 1.029 GB, free: 15.98 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.976e-05/0.2935, allocations: 0 / 1.029 GB, free: 15.98 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.121e-05/0.2935, allocations: 3.844 kB / 1.029 GB, free: 15.98 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 2.776e-05/0.2936, allocations: 0 / 1.029 GB, free: 15.98 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004938/0.2941, allocations: 143.4 kB / 1.029 GB, free: 15.84 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 6.537e-05/0.2942, allocations: 27.97 kB / 1.029 GB, free: 15.82 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.222e-05/0.2942, allocations: 4 kB / 1.029 GB, free: 15.81 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 4.318e-05/0.2942, allocations: 23.91 kB / 1.029 GB, free: 15.79 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 7.647e-05/0.2943, allocations: 19.97 kB / 1.029 GB, free: 15.77 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.561e-05/0.2944, allocations: 8 kB / 1.029 GB, free: 15.76 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004552/0.2948, allocations: 319.3 kB / 1.029 GB, free: 15.45 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.652e-05/0.2948, allocations: 3.984 kB / 1.029 GB, free: 15.45 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.006e-05/0.2949, allocations: 15.92 kB / 1.029 GB, free: 15.43 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002827/0.2952, allocations: 187.6 kB / 1.029 GB, free: 15.25 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.2952, allocations: 0 / 1.029 GB, free: 15.25 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.833e-06/0.2952, allocations: 0 / 1.029 GB, free: 15.25 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.819e-06/0.2952, allocations: 0 / 1.029 GB, free: 15.25 MB / 0.8106 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.000498/0.2957, allocations: 363.5 kB / 1.03 GB, free: 14.84 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.399e-05/0.2957, allocations: 19.97 kB / 1.03 GB, free: 14.82 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004469/0.2962, allocations: 64.86 kB / 1.03 GB, free: 14.76 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001108/0.2963, allocations: 172.3 kB / 1.03 GB, free: 14.55 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.906e-05/0.2963, allocations: 4.375 kB / 1.03 GB, free: 14.55 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.448e-05/0.2964, allocations: 4.375 kB / 1.03 GB, free: 14.55 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002415/0.2966, allocations: 69.95 kB / 1.03 GB, free: 14.47 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.226e-06/0.2966, allocations: 4 kB / 1.03 GB, free: 14.47 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.264e-05/0.2967, allocations: 4 kB / 1.03 GB, free: 14.46 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.2967, allocations: 0 / 1.03 GB, free: 14.46 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000284/0.297, allocations: 63.92 kB / 1.03 GB, free: 14.4 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001876/0.2971, allocations: 165.7 kB / 1.03 GB, free: 14.19 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005779/0.2977, allocations: 126.4 kB / 1.03 GB, free: 14.06 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000161/0.2979, allocations: 44.91 kB / 1.031 GB, free: 14.01 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004615/0.2984, allocations: 153 kB / 1.031 GB, free: 13.84 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.103e-05/0.2984, allocations: 34.5 kB / 1.031 GB, free: 13.8 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 1.242e-06/0.2984, allocations: 0 / 1.031 GB, free: 13.8 MB / 0.8106 GB Notification: Performance of matching and sorting (n=5): time 0.001146/0.2996, allocations: 402.5 kB / 1.031 GB, free: 13.36 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.527e-05/0.2996, allocations: 59.34 kB / 1.031 GB, free: 13.29 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.606e-05/0.2997, allocations: 101.8 kB / 1.031 GB, free: 13.18 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.849e-05/0.2997, allocations: 25.7 kB / 1.031 GB, free: 13.14 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.431e-05/0.2998, allocations: 80.14 kB / 1.031 GB, free: 13.06 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.315e-05/0.2998, allocations: 19.75 kB / 1.031 GB, free: 13.04 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.191e-05/0.2999, allocations: 21.7 kB / 1.031 GB, free: 13.02 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001291/0.3, allocations: 318.8 kB / 1.032 GB, free: 12.7 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001689/0.3002, allocations: 40.03 kB / 1.032 GB, free: 12.66 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001516/0.3003, allocations: 35.95 kB / 1.032 GB, free: 12.62 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002997/0.3006, allocations: 76.8 kB / 1.032 GB, free: 12.54 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.3007, allocations: 0 / 1.032 GB, free: 12.54 MB / 0.8106 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003489/0.301, allocations: 113.6 kB / 1.032 GB, free: 12.43 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/0.301, allocations: 4 kB / 1.032 GB, free: 12.42 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.301, allocations: 0 / 1.032 GB, free: 12.42 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.558e-05/0.3011, allocations: 4 kB / 1.032 GB, free: 12.42 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001507/0.3012, allocations: 35.89 kB / 1.032 GB, free: 12.38 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.13e-06/0.3012, allocations: 0 / 1.032 GB, free: 12.38 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.213e-05/0.3013, allocations: 12.23 kB / 1.032 GB, free: 12.37 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.007e-05/0.3013, allocations: 0 / 1.032 GB, free: 12.37 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 (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 7.898e-05/0.3014, allocations: 117.8 kB / 1.032 GB, free: 12.25 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.193e-05/0.3015, allocations: 19.83 kB / 1.032 GB, free: 12.23 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004315/0.3019, allocations: 125.2 kB / 1.032 GB, free: 12.09 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.3019, allocations: 0 / 1.032 GB, free: 12.09 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.7e-06/0.3019, allocations: 4 kB / 1.032 GB, free: 12.09 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.3019, allocations: 3.984 kB / 1.032 GB, free: 12.09 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001272/0.3021, allocations: 169.7 kB / 1.032 GB, free: 11.87 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.3021, allocations: 0 / 1.032 GB, free: 11.87 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001565/0.3022, allocations: 31.84 kB / 1.032 GB, free: 11.84 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.3022, allocations: 0 / 1.032 GB, free: 11.84 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.344e-05/0.3023, allocations: 4 kB / 1.032 GB, free: 11.84 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.3023, allocations: 0 / 1.032 GB, free: 11.84 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.3023, allocations: 0 / 1.032 GB, free: 11.84 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005572/0.3028, allocations: 193 kB / 1.033 GB, free: 11.63 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 7.115e-05/0.3029, allocations: 88.94 kB / 1.033 GB, free: 11.52 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.967e-05/0.303, allocations: 7.969 kB / 1.033 GB, free: 11.52 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001149/0.3031, allocations: 11.98 kB / 1.033 GB, free: 11.5 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.951e-05/0.3031, allocations: 4 kB / 1.033 GB, free: 11.5 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.722e-05/0.3031, allocations: 7.984 kB / 1.033 GB, free: 11.49 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.151e-05/0.3032, allocations: 79.34 kB / 1.033 GB, free: 11.41 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1e-07/0.3032, allocations: 0 / 1.033 GB, free: 11.41 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002445/0.3034, allocations: 32 kB / 1.033 GB, free: 11.38 MB / 0.8106 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.0002249/0.3037, allocations: 131.2 kB / 1.033 GB, free: 11.25 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0003741/0.304, allocations: 80.02 kB / 1.033 GB, free: 11.17 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.3041, allocations: 4 kB / 1.033 GB, free: 11.16 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001659/0.3042, allocations: 47.89 kB / 1.033 GB, free: 11.12 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001567/0.3044, allocations: 8 kB / 1.033 GB, free: 11.11 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005959/0.305, allocations: 181.5 kB / 1.033 GB, free: 10.91 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002082/0.3052, allocations: 0.6768 MB / 1.034 GB, free: 10.2 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 8.553e-05/0.3053, allocations: 19.98 kB / 1.034 GB, free: 10.18 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.45e-05/0.3054, allocations: 11.44 kB / 1.034 GB, free: 10.17 MB / 0.8106 GB Notification: Performance of SimCode: time 2.4e-07/0.3054, allocations: 0 / 1.034 GB, free: 10.17 MB / 0.8106 GB Notification: Performance of Templates: time 0.00352/0.3089, allocations: 1.168 MB / 1.035 GB, free: 9.012 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_InverseXDerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches