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.00116/0.00116, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001789/0.002949, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.001134/0.001134, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001584/0.002718, allocations: 475.6 kB / 11.8 MB, free: 2.375 MB / 13.93 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.009/1.009, allocations: 177.2 MB / 189.7 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08883/1.098, allocations: 53.67 MB / 243.4 MB, free: 15.49 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.519/2.519, allocations: 447.1 MB / 0.675 GB, free: 5.906 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.244/2.763, allocations: 146 MB / 0.8176 GB, free: 3.828 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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 1.743e-06/1.743e-06, allocations: 0 / 0.819 GB, free: 2.43 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.276e-05/2.451e-05, allocations: 2.312 kB / 0.819 GB, free: 2.426 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.00194/0.001964, allocations: 0.6657 MB / 0.8196 GB, free: 1.754 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.001871/0.003835, allocations: 1.481 MB / 0.8211 GB, free: 260 kB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.808e-05/0.003853, allocations: 4 kB / 0.8211 GB, free: 256 kB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 5.981e-06/0.003859, allocations: 3.938 kB / 0.8211 GB, free: 252 kB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 9.538e-06/0.003869, allocations: 0 / 0.8211 GB, free: 252 kB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004363/0.004305, allocations: 139.4 kB / 0.8212 GB, free: 112 kB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 8.342e-05/0.004389, allocations: 27.98 kB / 0.8213 GB, free: 84 kB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 4.037e-05/0.004429, allocations: 4 kB / 0.8213 GB, free: 80 kB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 8.477e-05/0.004514, allocations: 27.91 kB / 0.8213 GB, free: 52 kB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 9.093e-05/0.004605, allocations: 15.97 kB / 0.8213 GB, free: 36 kB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 1.841e-05/0.004623, allocations: 0 / 0.8213 GB, free: 36 kB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004348/0.005058, allocations: 263.4 kB / 0.8216 GB, free: 15.78 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 1.841e-05/0.005076, allocations: 4 kB / 0.8216 GB, free: 15.77 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 1.947e-05/0.005096, allocations: 4 kB / 0.8216 GB, free: 15.77 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0003007/0.005397, allocations: 167.7 kB / 0.8217 GB, free: 15.61 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.475e-05/0.005411, allocations: 0 / 0.8217 GB, free: 15.61 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.122e-06/0.005412, allocations: 0 / 0.8217 GB, free: 15.61 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.673e-05/0.005429, allocations: 4 kB / 0.8217 GB, free: 15.6 MB / 0.8073 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.0005132/0.005942, allocations: 284.2 kB / 0.822 GB, free: 15.3 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.518e-05/0.005978, allocations: 8.031 kB / 0.822 GB, free: 15.29 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003436/0.006321, allocations: 137.9 kB / 0.8221 GB, free: 15.14 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.403e-05/0.006415, allocations: 109.8 kB / 0.8222 GB, free: 15.01 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.528e-05/0.006431, allocations: 384 / 0.8222 GB, free: 15.01 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.652e-05/0.006457, allocations: 4.375 kB / 0.8222 GB, free: 15 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000185/0.006642, allocations: 100.6 kB / 0.8223 GB, free: 14.89 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.006651, allocations: 192 / 0.8223 GB, free: 14.89 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.104e-05/0.006662, allocations: 384 / 0.8223 GB, free: 14.89 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.795e-06/0.006669, allocations: 3.938 kB / 0.8223 GB, free: 14.89 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.858e-05/0.006718, allocations: 15.98 kB / 0.8224 GB, free: 14.87 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001177/0.006836, allocations: 72.92 kB / 0.8224 GB, free: 14.79 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002/0.007036, allocations: 42.61 kB / 0.8225 GB, free: 14.73 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.051e-05/0.007066, allocations: 16.84 kB / 0.8225 GB, free: 14.71 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000203/0.007269, allocations: 55.97 kB / 0.8225 GB, free: 14.66 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.583e-05/0.007295, allocations: 30.56 kB / 0.8226 GB, free: 14.62 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=4): time 1.322e-06/0.007296, allocations: 0 / 0.8226 GB, free: 14.62 MB / 0.8073 GB Notification: Performance of matching and sorting (n=5): time 0.0008058/0.008102, allocations: 273.1 kB / 0.8228 GB, free: 14.32 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.703e-05/0.008199, allocations: 55.41 kB / 0.8229 GB, free: 14.25 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.214e-05/0.008251, allocations: 102.6 kB / 0.823 GB, free: 14.14 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.375e-05/0.008265, allocations: 25.7 kB / 0.823 GB, free: 14.11 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.434e-05/0.008289, allocations: 84.27 kB / 0.8231 GB, free: 14.02 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.93e-05/0.008319, allocations: 19.84 kB / 0.8231 GB, free: 14 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.419e-05/0.008363, allocations: 25.64 kB / 0.8231 GB, free: 13.97 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 8.654e-05/0.008449, allocations: 314.8 kB / 0.8234 GB, free: 13.66 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.65e-05/0.008476, allocations: 7.984 kB / 0.8234 GB, free: 13.65 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.305e-05/0.008499, allocations: 8 kB / 0.8234 GB, free: 13.64 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.592e-05/0.008555, allocations: 29.03 kB / 0.8235 GB, free: 13.61 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.008556, allocations: 0 / 0.8235 GB, free: 13.61 MB / 0.8073 GB Notification: Performance of matching and sorting (n=6) (initialization): time 9e-05/0.008646, allocations: 49.62 kB / 0.8235 GB, free: 13.55 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.4e-05/0.00866, allocations: 5.25 kB / 0.8235 GB, free: 13.55 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.008664, allocations: 4 kB / 0.8235 GB, free: 13.55 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.271e-05/0.008677, allocations: 0 / 0.8235 GB, free: 13.55 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001079/0.008785, allocations: 19.98 kB / 0.8235 GB, free: 13.53 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.206e-06/0.008788, allocations: 0 / 0.8235 GB, free: 13.53 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.579e-05/0.008834, allocations: 11.92 kB / 0.8236 GB, free: 13.52 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.747e-06/0.008843, allocations: 4 kB / 0.8236 GB, free: 13.51 MB / 0.8073 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.268e-05/0.008905, allocations: 109.8 kB / 0.8237 GB, free: 13.39 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.716e-05/0.008922, allocations: 7.984 kB / 0.8237 GB, free: 13.39 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001477/0.00907, allocations: 73.41 kB / 0.8237 GB, free: 13.31 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.009072, allocations: 0 / 0.8237 GB, free: 13.31 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.613e-06/0.009073, allocations: 0 / 0.8237 GB, free: 13.31 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.868e-06/0.009077, allocations: 3.938 kB / 0.8237 GB, free: 13.31 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.629e-05/0.009164, allocations: 77.89 kB / 0.8238 GB, free: 13.21 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.009165, allocations: 0 / 0.8238 GB, free: 13.21 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001024/0.009267, allocations: 23.97 kB / 0.8238 GB, free: 13.19 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 2.981e-05/0.009297, allocations: 4 kB / 0.8238 GB, free: 13.19 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.0093, allocations: 4 kB / 0.8239 GB, free: 13.18 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.406e-06/0.009309, allocations: 0 / 0.8239 GB, free: 13.18 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.00931, allocations: 3.938 kB / 0.8239 GB, free: 13.18 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.009311, allocations: 0 / 0.8239 GB, free: 13.18 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001512/0.009462, allocations: 97.16 kB / 0.8239 GB, free: 13.07 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.636e-05/0.009479, allocations: 8.031 kB / 0.824 GB, free: 13.06 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.584e-05/0.009534, allocations: 8 kB / 0.824 GB, free: 13.05 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.269e-05/0.009557, allocations: 7.984 kB / 0.824 GB, free: 13.04 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.845e-06/0.009565, allocations: 0 / 0.824 GB, free: 13.04 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.109e-05/0.009576, allocations: 4.859 kB / 0.824 GB, free: 13.04 MB / 0.8073 GB Notification: Performance of sort global known variables: time 8e-08/0.009576, allocations: 0 / 0.824 GB, free: 13.04 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001991/0.009775, allocations: 35.86 kB / 0.824 GB, free: 13 MB / 0.8073 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.0001743/0.009949, allocations: 116.7 kB / 0.8241 GB, free: 12.88 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.000104/0.01005, allocations: 32.78 kB / 0.8242 GB, free: 12.84 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 5.07e-06/0.01006, allocations: 0 / 0.8242 GB, free: 12.84 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 4.464e-05/0.0101, allocations: 28.83 kB / 0.8242 GB, free: 12.81 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001037/0.01021, allocations: 8 kB / 0.8242 GB, free: 12.8 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000332/0.01054, allocations: 148.3 kB / 0.8243 GB, free: 12.63 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.034e-05/0.01057, allocations: 55.36 kB / 0.8244 GB, free: 12.55 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 8.237e-05/0.01065, allocations: 27.97 kB / 0.8244 GB, free: 12.53 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.406e-05/0.01074, allocations: 59.36 kB / 0.8245 GB, free: 12.47 MB / 0.8073 GB Notification: Performance of SimCode: time 5.41e-07/0.01074, allocations: 0 / 0.8245 GB, free: 12.47 MB / 0.8073 GB Notification: Performance of Templates: time 0.003217/0.01395, allocations: 1.4 MB / 0.8258 GB, free: 11.07 MB / 0.8073 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 -ignoreHideResult -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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.318238846026361]