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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001365/0.001365, allocations: 85.08 kB / 19.87 MB, free: 4.617 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001602/0.001602, allocations: 169 kB / 23.27 MB, free: 1.219 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9607/0.9607, allocations: 177.1 MB / 203.7 MB, free: 5.527 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.267/2.267, allocations: 438.1 MB / 0.682 GB, free: 14.18 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,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=2500,variableFilter="time|y_comp|y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.304e-06/2.304e-06, allocations: 0 / 0.8898 GB, free: 9.734 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.056e-05/3.286e-05, allocations: 5.406 kB / 0.8898 GB, free: 9.73 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.001951/0.001984, allocations: 0.6304 MB / 0.8904 GB, free: 9.102 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.002256/0.004239, allocations: 1.458 MB / 0.8918 GB, free: 7.625 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.85e-05/0.004288, allocations: 0 / 0.8918 GB, free: 7.625 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 2.377e-05/0.004312, allocations: 0 / 0.8918 GB, free: 7.625 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 3.908e-05/0.004351, allocations: 0 / 0.8918 GB, free: 7.625 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006023/0.004953, allocations: 151.3 kB / 0.892 GB, free: 7.477 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 7.724e-05/0.00503, allocations: 31.97 kB / 0.892 GB, free: 7.445 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 3.771e-05/0.005068, allocations: 0 / 0.892 GB, free: 7.445 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 7.734e-05/0.005145, allocations: 27.91 kB / 0.892 GB, free: 7.418 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 8.309e-05/0.005228, allocations: 19.95 kB / 0.8921 GB, free: 7.398 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 2.611e-05/0.005254, allocations: 4 kB / 0.8921 GB, free: 7.395 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004293/0.005684, allocations: 243.5 kB / 0.8923 GB, free: 7.156 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 2.437e-05/0.005708, allocations: 7.984 kB / 0.8923 GB, free: 7.148 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 2.29e-05/0.005731, allocations: 4 kB / 0.8923 GB, free: 7.145 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.000345/0.006076, allocations: 203.4 kB / 0.8925 GB, free: 6.945 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.006081, allocations: 3.984 kB / 0.8925 GB, free: 6.941 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.222e-06/0.006082, allocations: 4 kB / 0.8925 GB, free: 6.938 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 3.466e-06/0.006086, allocations: 0 / 0.8925 GB, free: 6.938 MB / 0.8542 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.0004972/0.006583, allocations: 396.2 kB / 0.8929 GB, free: 6.516 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.897e-05/0.006632, allocations: 8.031 kB / 0.8929 GB, free: 6.508 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003345/0.006966, allocations: 52.88 kB / 0.8929 GB, free: 6.457 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.571e-05/0.007062, allocations: 116.5 kB / 0.8931 GB, free: 6.316 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.291e-05/0.007085, allocations: 12.31 kB / 0.8931 GB, free: 6.305 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.235e-05/0.007107, allocations: 4.359 kB / 0.8931 GB, free: 6.301 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002081/0.007316, allocations: 92.62 kB / 0.8932 GB, free: 6.195 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.835e-06/0.007323, allocations: 4.188 kB / 0.8932 GB, free: 6.191 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.232e-05/0.007336, allocations: 4.375 kB / 0.8932 GB, free: 6.188 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.424e-06/0.007343, allocations: 3.938 kB / 0.8932 GB, free: 6.184 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.499e-05/0.007398, allocations: 15.98 kB / 0.8932 GB, free: 6.168 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001588/0.007557, allocations: 109.2 kB / 0.8933 GB, free: 6.035 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002349/0.007792, allocations: 55.02 kB / 0.8933 GB, free: 5.969 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.214e-05/0.007834, allocations: 27.81 kB / 0.8934 GB, free: 5.938 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002442/0.008078, allocations: 47.95 kB / 0.8934 GB, free: 5.891 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.611e-05/0.008114, allocations: 41.38 kB / 0.8935 GB, free: 5.84 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=4): time 1.854e-06/0.008116, allocations: 0 / 0.8935 GB, free: 5.84 MB / 0.8542 GB Notification: Performance of matching and sorting (n=5): time 0.0005285/0.008645, allocations: 201.8 kB / 0.8936 GB, free: 5.605 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.08e-05/0.008675, allocations: 51.41 kB / 0.8937 GB, free: 5.543 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.009e-05/0.008755, allocations: 161.9 kB / 0.8938 GB, free: 5.367 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.619e-05/0.008772, allocations: 29.83 kB / 0.8939 GB, free: 5.332 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 4.01e-05/0.008812, allocations: 130.9 kB / 0.894 GB, free: 5.199 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.461e-05/0.008846, allocations: 19.8 kB / 0.894 GB, free: 5.18 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.036e-05/0.008897, allocations: 27.36 kB / 0.894 GB, free: 5.145 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001467/0.009043, allocations: 0.4923 MB / 0.8945 GB, free: 4.641 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.398e-05/0.009077, allocations: 7.984 kB / 0.8945 GB, free: 4.633 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.98e-05/0.009107, allocations: 11.94 kB / 0.8945 GB, free: 4.621 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.764e-05/0.009175, allocations: 23.69 kB / 0.8946 GB, free: 4.594 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.009176, allocations: 0 / 0.8946 GB, free: 4.594 MB / 0.8542 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001289/0.009305, allocations: 57.69 kB / 0.8946 GB, free: 4.531 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.504e-05/0.00932, allocations: 11.98 kB / 0.8946 GB, free: 4.52 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.009324, allocations: 0 / 0.8946 GB, free: 4.52 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.329e-05/0.009338, allocations: 0 / 0.8946 GB, free: 4.52 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001151/0.009453, allocations: 19.98 kB / 0.8947 GB, free: 4.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.639e-06/0.009457, allocations: 3.938 kB / 0.8947 GB, free: 4.496 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.21e-05/0.009509, allocations: 7.938 kB / 0.8947 GB, free: 4.488 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.125e-05/0.009521, allocations: 4.234 kB / 0.8947 GB, free: 4.484 MB / 0.8542 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 8.377e-05/0.009604, allocations: 160.6 kB / 0.8948 GB, free: 4.316 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.108e-05/0.009626, allocations: 15.89 kB / 0.8948 GB, free: 4.301 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001924/0.009818, allocations: 77.47 kB / 0.8949 GB, free: 4.219 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.988e-06/0.009822, allocations: 4 kB / 0.8949 GB, free: 4.215 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.413e-06/0.009823, allocations: 4 kB / 0.8949 GB, free: 4.211 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.171e-06/0.00983, allocations: 3.938 kB / 0.8949 GB, free: 4.207 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001079/0.009937, allocations: 109.2 kB / 0.895 GB, free: 4.074 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.255e-06/0.00994, allocations: 0 / 0.895 GB, free: 4.074 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001189/0.01006, allocations: 15.98 kB / 0.895 GB, free: 4.059 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.01006, allocations: 3.938 kB / 0.895 GB, free: 4.055 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.291e-05/0.01007, allocations: 4 kB / 0.8951 GB, free: 4.051 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.01008, allocations: 0 / 0.8951 GB, free: 4.051 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.01008, allocations: 0 / 0.8951 GB, free: 4.051 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002081/0.01028, allocations: 112.4 kB / 0.8952 GB, free: 3.918 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 4.087e-05/0.01033, allocations: 11.98 kB / 0.8952 GB, free: 3.906 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.544e-05/0.01034, allocations: 0 / 0.8952 GB, free: 3.906 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.872e-05/0.01042, allocations: 11.98 kB / 0.8952 GB, free: 3.895 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.081e-05/0.01044, allocations: 0 / 0.8952 GB, free: 3.895 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.255e-05/0.01045, allocations: 7.984 kB / 0.8952 GB, free: 3.887 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 4.102e-05/0.01049, allocations: 119.2 kB / 0.8953 GB, free: 3.77 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1e-07/0.01049, allocations: 0 / 0.8953 GB, free: 3.77 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002463/0.01074, allocations: 31.88 kB / 0.8953 GB, free: 3.738 MB / 0.8542 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.0002062/0.01095, allocations: 139.1 kB / 0.8955 GB, free: 3.59 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001201/0.01107, allocations: 39.66 kB / 0.8955 GB, free: 3.547 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.01107, allocations: 4 kB / 0.8955 GB, free: 3.543 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 4.309e-05/0.01111, allocations: 23.67 kB / 0.8955 GB, free: 3.516 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001568/0.01127, allocations: 4 kB / 0.8955 GB, free: 3.512 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003912/0.01166, allocations: 162.4 kB / 0.8957 GB, free: 3.324 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.421e-05/0.01169, allocations: 59.36 kB / 0.8957 GB, free: 3.246 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 8.681e-05/0.01178, allocations: 19.98 kB / 0.8958 GB, free: 3.227 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.388e-05/0.01187, allocations: 74.2 kB / 0.8958 GB, free: 3.152 MB / 0.8542 GB Notification: Performance of SimCode: time 5.61e-07/0.01188, allocations: 0 / 0.8958 GB, free: 3.152 MB / 0.8542 GB Notification: Performance of Templates: time 0.003704/0.01558, allocations: 1.339 MB / 0.8971 GB, free: 1.82 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.makefile [Timeout 300] (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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_InverseXDerivativeCheck.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.2856325027532876]