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.001305/0.001305, allocations: 81.31 kB / 19.76 MB, free: 2.027 MB / 14.72 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.001372/0.001372, allocations: 159.2 kB / 23.01 MB, free: 4.945 MB / 14.72 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 1.396/1.396, allocations: 177.2 MB / 203.4 MB, free: 8.949 MB / 190.1 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.846/2.846, allocations: 394.2 MB / 0.6387 GB, free: 12.06 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 13.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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003182/0.003182, allocations: 75.81 kB / 1.009 GB, free: 14.47 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9027/0.9058, allocations: 181.8 MB / 1.187 GB, free: 16.2 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.001689/0.9075, allocations: 0.6118 MB / 1.187 GB, free: 15.82 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.001612/0.9091, allocations: 1.433 MB / 1.189 GB, free: 14.81 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.519e-05/0.9092, allocations: 1.312 kB / 1.189 GB, free: 14.81 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 1.114e-05/0.9092, allocations: 4 kB / 1.189 GB, free: 14.81 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 2.966e-05/0.9092, allocations: 3.938 kB / 1.189 GB, free: 14.8 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.000459/0.9097, allocations: 138.1 kB / 1.189 GB, free: 14.75 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 6.528e-05/0.9097, allocations: 25.84 kB / 1.189 GB, free: 14.74 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 3.78e-05/0.9098, allocations: 10.56 kB / 1.189 GB, free: 14.73 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 3.935e-05/0.9098, allocations: 17.52 kB / 1.189 GB, free: 14.73 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 7.739e-05/0.9099, allocations: 26.62 kB / 1.189 GB, free: 14.72 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 1.565e-05/0.9099, allocations: 1.344 kB / 1.189 GB, free: 14.72 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003807/0.9103, allocations: 240.8 kB / 1.189 GB, free: 14.67 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 1.859e-05/0.9103, allocations: 6 kB / 1.189 GB, free: 14.67 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 2.553e-05/0.9103, allocations: 17.78 kB / 1.189 GB, free: 14.66 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.000274/0.9106, allocations: 182.6 kB / 1.189 GB, free: 14.62 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.9106, allocations: 0 / 1.189 GB, free: 14.62 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.133e-06/0.9106, allocations: 0 / 1.189 GB, free: 14.62 MB / 1.076 GB Notification: Performance of Transformations before backend: time 4.178e-06/0.9106, allocations: 1.031 kB / 1.189 GB, free: 14.62 MB / 1.076 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.0004126/0.911, allocations: 290.8 kB / 1.19 GB, free: 14.33 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.022e-05/0.911, allocations: 8.938 kB / 1.19 GB, free: 14.33 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004585/0.9115, allocations: 66.86 kB / 1.19 GB, free: 14.33 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.421e-05/0.9116, allocations: 109.1 kB / 1.19 GB, free: 14.2 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.032e-05/0.9116, allocations: 6.031 kB / 1.19 GB, free: 14.2 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.853e-05/0.9116, allocations: 10.02 kB / 1.19 GB, free: 14.19 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002532/0.9119, allocations: 106.1 kB / 1.19 GB, free: 14.11 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.917e-06/0.9119, allocations: 0.8438 kB / 1.19 GB, free: 14.11 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.132e-05/0.9119, allocations: 1.312 kB / 1.19 GB, free: 14.11 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.857e-06/0.9119, allocations: 0 / 1.19 GB, free: 14.11 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003064/0.9122, allocations: 64 kB / 1.19 GB, free: 14.11 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001169/0.9123, allocations: 108.2 kB / 1.19 GB, free: 13.98 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000579/0.9129, allocations: 130.1 kB / 1.19 GB, free: 13.93 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001569/0.913, allocations: 45.47 kB / 1.19 GB, free: 13.92 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004179/0.9135, allocations: 75.33 kB / 1.19 GB, free: 13.91 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.728e-05/0.9135, allocations: 32.33 kB / 1.19 GB, free: 13.88 MB / 1.076 GB Notification: Performance of pre-optimization done (n=4): time 9.92e-07/0.9135, allocations: 0 / 1.19 GB, free: 13.88 MB / 1.076 GB Notification: Performance of matching and sorting (n=5): time 0.001053/0.9145, allocations: 338.7 kB / 1.191 GB, free: 13.68 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.073e-05/0.9146, allocations: 52.91 kB / 1.191 GB, free: 13.61 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.526e-05/0.9146, allocations: 102.1 kB / 1.191 GB, free: 13.51 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 9.748e-06/0.9146, allocations: 25.7 kB / 1.191 GB, free: 13.48 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 1.134e-05/0.9146, allocations: 81.33 kB / 1.191 GB, free: 13.39 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 2.348e-05/0.9146, allocations: 24.06 kB / 1.191 GB, free: 13.38 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.845e-05/0.9147, allocations: 20.61 kB / 1.191 GB, free: 13.36 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 3.188e-05/0.9147, allocations: 313.8 kB / 1.191 GB, free: 13.04 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001578/0.9149, allocations: 34.23 kB / 1.191 GB, free: 13.04 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001499/0.915, allocations: 39.34 kB / 1.191 GB, free: 13.03 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002992/0.9153, allocations: 78.92 kB / 1.191 GB, free: 13.01 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.91e-07/0.9153, allocations: 0 / 1.191 GB, free: 13.01 MB / 1.076 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000353/0.9157, allocations: 112.9 kB / 1.191 GB, free: 12.96 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.129e-05/0.9157, allocations: 12.53 kB / 1.191 GB, free: 12.95 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/0.9157, allocations: 5.859 kB / 1.191 GB, free: 12.95 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.14e-05/0.9157, allocations: 0 / 1.191 GB, free: 12.95 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001458/0.9158, allocations: 23.41 kB / 1.191 GB, free: 12.95 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.057e-06/0.9158, allocations: 0 / 1.191 GB, free: 12.95 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001013/0.9159, allocations: 12.39 kB / 1.192 GB, free: 12.95 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.829e-06/0.916, allocations: 2.656 kB / 1.192 GB, free: 12.95 MB / 1.076 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 5.195e-05/0.916, allocations: 120.2 kB / 1.192 GB, free: 12.82 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.59e-05/0.916, allocations: 5.75 kB / 1.192 GB, free: 12.82 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004214/0.9164, allocations: 130.1 kB / 1.192 GB, free: 12.76 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.9164, allocations: 0.5625 kB / 1.192 GB, free: 12.76 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.9164, allocations: 1.25 kB / 1.192 GB, free: 12.76 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.9165, allocations: 4.703 kB / 1.192 GB, free: 12.76 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.155e-05/0.9165, allocations: 112.3 kB / 1.192 GB, free: 12.63 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.9165, allocations: 0 / 1.192 GB, free: 12.63 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001542/0.9167, allocations: 23.03 kB / 1.192 GB, free: 12.63 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.9167, allocations: 0.6562 kB / 1.192 GB, free: 12.63 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.151e-05/0.9167, allocations: 5.922 kB / 1.192 GB, free: 12.62 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.903e-06/0.9167, allocations: 1.188 kB / 1.192 GB, free: 12.62 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.9167, allocations: 0 / 1.192 GB, free: 12.62 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005479/0.9172, allocations: 190.9 kB / 1.192 GB, free: 12.53 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 4.498e-05/0.9173, allocations: 15.25 kB / 1.192 GB, free: 12.52 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.65e-05/0.9173, allocations: 5 kB / 1.192 GB, free: 12.52 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000119/0.9174, allocations: 12.45 kB / 1.192 GB, free: 12.52 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.438e-05/0.9174, allocations: 4.828 kB / 1.192 GB, free: 12.52 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.076e-05/0.9175, allocations: 2.938 kB / 1.192 GB, free: 12.52 MB / 1.076 GB Notification: Performance of sorting global known variables: time 2.004e-05/0.9175, allocations: 82.17 kB / 1.192 GB, free: 12.44 MB / 1.076 GB Notification: Performance of sort global known variables: time 9.1e-08/0.9175, allocations: 8.094 kB / 1.192 GB, free: 12.43 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002315/0.9177, allocations: 31.05 kB / 1.192 GB, free: 12.42 MB / 1.076 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.0001576/0.9179, allocations: 123.6 kB / 1.192 GB, free: 12.32 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0003857/0.9183, allocations: 92.75 kB / 1.192 GB, free: 12.3 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.9183, allocations: 1.25 kB / 1.192 GB, free: 12.3 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0001651/0.9184, allocations: 39.94 kB / 1.192 GB, free: 12.29 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001411/0.9186, allocations: 3.5 kB / 1.192 GB, free: 12.29 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005405/0.9191, allocations: 183.8 kB / 1.193 GB, free: 12.16 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.841e-05/0.9191, allocations: 66.38 kB / 1.193 GB, free: 12.09 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 7.905e-05/0.9192, allocations: 20.5 kB / 1.193 GB, free: 12.08 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.105e-05/0.9192, allocations: 17.39 kB / 1.193 GB, free: 12.07 MB / 1.076 GB Notification: Performance of SimCode: time 3.61e-07/0.9193, allocations: 0 / 1.193 GB, free: 12.07 MB / 1.076 GB Notification: Performance of Templates: time 0.003564/0.9228, allocations: 1.189 MB / 1.194 GB, free: 11.92 MB / 1.076 GB " [Timeout remaining time 299] 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=800 -s ida -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe 2>&1) [Timeout 800] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.409226574003696]